jboss-as-cli_1_0.xsd 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2011, 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.0"
  25. targetNamespace="urn:jboss:cli:1.0"
  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="history" minOccurs="0"/>
  39. <xs:element ref="ssl" minOccurs="0" maxOccurs="1"/>
  40. </xs:sequence>
  41. </xs:complexType>
  42. </xs:element>
  43. <xs:element name="default-controller">
  44. <xs:annotation>
  45. <xs:documentation>
  46. This element contains the configuration of the default controller to connect to
  47. when the connect command is executed w/o arguments.
  48. </xs:documentation>
  49. </xs:annotation>
  50. <xs:complexType>
  51. <xs:sequence>
  52. <xs:element name="host" type="xs:string" minOccurs="0" default="localhost"/>
  53. <xs:element name="port" type="xs:int" minOccurs="0" default="9999"/>
  54. </xs:sequence>
  55. </xs:complexType>
  56. </xs:element>
  57. <xs:element name="history">
  58. <xs:annotation>
  59. <xs:documentation>
  60. This element contains the configuration for the commands and operations history log.
  61. </xs:documentation>
  62. </xs:annotation>
  63. <xs:complexType>
  64. <xs:sequence>
  65. <xs:element name="enabled" type="xs:boolean" minOccurs="0" default="true"/>
  66. <xs:element name="file-name" type="xs:string" minOccurs="0" default=".jboss-cli-history"/>
  67. <xs:element name="file-dir" type="xs:string" minOccurs="0" default="${user.home}"/>
  68. <xs:element name="max-size" type="xs:int" minOccurs="0" default="500"/>
  69. </xs:sequence>
  70. </xs:complexType>
  71. </xs:element>
  72. <xs:element name="ssl">
  73. <xs:annotation>
  74. <xs:documentation>
  75. This element contains the configuration for the Key and Trust stores
  76. used for SSL.
  77. </xs:documentation>
  78. </xs:annotation>
  79. <xs:complexType>
  80. <xs:sequence>
  81. <xs:element name="keyStore" type="xs:string" minOccurs="0" />
  82. <xs:element name="keyStorePassword" type="xs:string" minOccurs="0" />
  83. <xs:element name="trustStore" type="xs:string" minOccurs="0" />
  84. <xs:element name="trustStorePassword" type="xs:string" minOccurs="0" />
  85. <xs:element name="modifyTrustStore" type="xs:boolean" default="true" minOccurs="0">
  86. <xs:annotation>
  87. <xs:documentation>
  88. Setting to true will cause the CLI to prompt when unrecognised certificates are received
  89. and allow them to be stored in the truststore.
  90. </xs:documentation>
  91. </xs:annotation>
  92. </xs:element>
  93. </xs:sequence>
  94. </xs:complexType>
  95. </xs:element>
  96. </xs:schema>