jboss-as-cli_1_1.xsd 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2012, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  24. xmlns="urn:jboss:cli:1.1"
  25. targetNamespace="urn:jboss:cli:1.1"
  26. elementFormDefault="qualified"
  27. attributeFormDefault="unqualified"
  28. >
  29. <xs:element name="jboss-cli">
  30. <xs:annotation>
  31. <xs:documentation>
  32. Root element for the JBoss Command Line Interface configuration.
  33. </xs:documentation>
  34. </xs:annotation>
  35. <xs:complexType>
  36. <xs:sequence>
  37. <xs:element ref="default-controller" minOccurs="0"/>
  38. <xs:element ref="validate-operation-requests" minOccurs="0"/>
  39. <xs:element ref="history" minOccurs="0"/>
  40. <xs:element ref="ssl" minOccurs="0" maxOccurs="1"/>
  41. </xs:sequence>
  42. </xs:complexType>
  43. </xs:element>
  44. <xs:element name="default-controller">
  45. <xs:annotation>
  46. <xs:documentation>
  47. This element contains the configuration of the default controller to connect to
  48. when the connect command is executed w/o arguments.
  49. </xs:documentation>
  50. </xs:annotation>
  51. <xs:complexType>
  52. <xs:sequence>
  53. <xs:element name="host" type="xs:string" minOccurs="0" default="localhost"/>
  54. <xs:element name="port" type="xs:int" minOccurs="0" default="9999"/>
  55. </xs:sequence>
  56. </xs:complexType>
  57. </xs:element>
  58. <xs:element name="validate-operation-requests" type="xs:boolean" default="true">
  59. <xs:annotation>
  60. <xs:documentation>
  61. Indicates whether the parameter list of the operation reuqests
  62. should be validated before the requests are sent to the controller
  63. for the execution.
  64. </xs:documentation>
  65. </xs:annotation>
  66. </xs:element>
  67. <xs:element name="history">
  68. <xs:annotation>
  69. <xs:documentation>
  70. This element contains the configuration for the commands and operations history log.
  71. </xs:documentation>
  72. </xs:annotation>
  73. <xs:complexType>
  74. <xs:sequence>
  75. <xs:element name="enabled" type="xs:boolean" minOccurs="0" default="true"/>
  76. <xs:element name="file-name" type="xs:string" minOccurs="0" default=".jboss-cli-history"/>
  77. <xs:element name="file-dir" type="xs:string" minOccurs="0" default="${user.home}"/>
  78. <xs:element name="max-size" type="xs:int" minOccurs="0" default="500"/>
  79. </xs:sequence>
  80. </xs:complexType>
  81. </xs:element>
  82. <xs:element name="ssl">
  83. <xs:annotation>
  84. <xs:documentation>
  85. This element contains the configuration for the Key and Trust stores
  86. used for SSL.
  87. </xs:documentation>
  88. </xs:annotation>
  89. <xs:complexType>
  90. <xs:sequence>
  91. <xs:element name="key-store" type="xs:string" minOccurs="0" />
  92. <xs:element name="key-store-password" type="xs:string" minOccurs="0" />
  93. <xs:element name="alias" type="xs:string" minOccurs="0" />
  94. <xs:element name="key-password" type="xs:string" minOccurs="0" />
  95. <xs:element name="trust-store" type="xs:string" minOccurs="0" />
  96. <xs:element name="trust-store-password" type="xs:string" minOccurs="0" />
  97. <xs:element name="modify-trust-store" type="xs:boolean" default="true" minOccurs="0">
  98. <xs:annotation>
  99. <xs:documentation>
  100. Setting to true will cause the CLI to prompt when unrecognised certificates are received
  101. and allow them to be stored in the truststore.
  102. </xs:documentation>
  103. </xs:annotation>
  104. </xs:element>
  105. </xs:sequence>
  106. </xs:complexType>
  107. </xs:element>
  108. </xs:schema>