Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Note

This page is under construction.

 

{WSO2-CC}/repository/conf/etc/cartridge.xsd

Code Block
<xs:element name<?xml version="cartridge1.0">
    encoding="ISO-8859-1" ?>
<xs:annotation>schema attributeFormDefault="unqualified"    <xs:documentation>You can elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="cartridge">
    <xs:annotation>
      <xs:documentation>You can have 1..n cartridge elements.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:choice maxOccurs="unbounded">
            <xs:element name="property" maxOccurs="unbounded"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>
                        cartridge element can have 0..n properties, and
                        they'll be overwritten by the properties
                        specified under iaasProvider child elements of
                        cartridge element.
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute type="xs:string" name="name" />
                            <xs:attribute type="xs:string" name="value" />
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="displayName" maxOccurs="1" minOccurs="0" />
 </xs:annotation>     <xs:complexType>
      <xs:choiceelement name="description" maxOccurs="1" minOccurs="unbounded0" />
            <xs:element name="propertyiaasProvider" maxOccurs="unbounded"
                minOccurs="01">
                <xs:annotation>
                    <xs:documentation>
                      cartridge element can have 0..n properties, and
     A cartridge element should add a reference to an
                they'll be overwritten by the properties   existing IaaS provider (specified in the above
             specified under iaasProvider child elements of      &amp;lt;iaasProviders&amp;gt; section) or it can
            cartridge element.           create a completely new IaaS Provider (which
 </xs:documentation>               </xs:annotation>        should have a unique "type" attribute.
 <xs:complexType>                   <xs:simpleContent></xs:documentation>
                </xs:annotation>
         <xs:extension base="xs:string">      <xs:complexType>
                    <xs:attributechoice typemaxOccurs="xs:string" name="name" />
 unbounded">
                        <xs:attributeelement type="xs:string" name="valuescaleUpOrder"
/>                       </xs:extension>             minOccurs="0"      </xs:simpleContent>
  maxOccurs="1" />
           </xs:complexType>           </xs:element> 		  <xs:element nametype="displayNamexs:string" maxOccurs="1" minOccursname="0" />scaleDownOrder"
                    <xs:element name="description" maxOccurs="1" minOccurs="0" />           <xs:element nameminOccurs="iaasProvider0" maxOccurs="unbounded1" />
             minOccurs="1">               <xs:annotation>
<xs:element type="xs:string" name="maxInstanceLimit"
                 <xs:documentation>                   minOccurs="0" maxOccurs="1" />
 A cartridge element should add a reference to an               <xs:element type="xs:string" name="imageId"
     existing IaaS provider (specified in the above                 minOccurs="0" maxOccurs="1" />
   &amp;lt;iaasProviders&amp;gt; section) or it can                 <xs:element name="property"
    create a completely new IaaS Provider (which                    maxOccurs="unbounded" minOccurs="0">
 should have a unique "type" attribute.                   </xs:documentation>   <xs:complexType>
           </xs:annotation>               <xs:complexType>      <xs:simpleContent>
            <xs:choice maxOccurs="unbounded">                       <xs:elementextension typebase="xs:string" name="imageId">
                                    minOccurs="0" maxOccurs="1" />      <xs:attribute type="xs:string"
                <xs:element name="property"                           maxOccursname="unboundedname" minOccurs="0"/>
                          <xs:complexType>                 <xs:attribute type="xs:string"
             <xs:simpleContent>                                   <xs:extension basename="xs:stringvalue" />
                                    </xs:extension>
 <xs:attribute type="xs:string"                              </xs:simpleContent>
            name="name" />               </xs:complexType>
                       <xs:attribute type=" </xs:string"element>
                    </xs:choice>
                    <xs:attribute nametype="valuexs:string" />
   name="type" />
                 </xs:complexType>
            </xs:extension>element>
            <xs:element name="deployment"   maxOccurs="1" minOccurs="1">
             </xs:simpleContent>   <xs:complexType>
                       </xs:complexType>
<xs:choice maxOccurs="unbounded">
                     </xs:element>       <xs:element name="dir" maxOccurs="unbounded"
         </xs:choice>                   <xs:attributeminOccurs="0" type="xs:string" name="type" />

             </xs:complexType>           </xs:element>
    
     <xs:element name="deployment" maxOccurs="1" minOccurs="1">                 <xs:complexType></xs:choice>
                    <xs:choice maxOccurs="unbounded">attribute name="baseDir" type="xs:string">
                    </xs:attribute>
             <xs:element name="dir" maxOccurs="unbounded"   </xs:complexType>
            </xs:element>
            <xs:element minOccursname="0portMapping" typemaxOccurs="xs:string1">
                  minOccurs="1">
   </xs:element>                <xs:complexType>
  </xs:choice>                   <xs:attributechoice namemaxOccurs="baseDir" type="xs:stringunbounded">
                  </xs:attribute>      <xs:element name="http" maxOccurs="1"
      </xs:complexType>           </xs:element>           <xs:element name="portMapping" maxOccursminOccurs="1">
              minOccurs="0">               <xs:complexType>
                                <xs:choiceattribute maxOccursname="unboundedport">
                      <xs:element name="http" maxOccurs="1"               type="xs:string" />
           minOccurs="1">                     <xs:attribute name="proxyPort"
    <xs:complexType>                               <xs:attribute nametype="port"
     xs:string" />
                            type="</xs:string"complexType>
/>                        </xs:element>
        <xs:attribute name="proxyPort"               <xs:element name="https" maxOccurs="1"
                 type="xs:string" />          minOccurs="0">
                </xs:complexType>             <xs:complexType>
         </xs:element>                       <xs:elementattribute name="httpsport" maxOccurs="1"
                                    minOccurstype="0xs:string" />
                                <xs:complexType>attribute name="proxyPort"
                              <xs:attribute name="port"     type="xs:string" />
                            type="</xs:string"complexType>
/>                        </xs:element>
      <xs:attribute name="proxyPort"             </xs:choice>
                </xs:complexType>
    type="xs:string" />       </xs:element>
            <xs:element   name="appTypes" maxOccurs="1"
   </xs:complexType>             minOccurs="1">
         </xs:element>       <xs:complexType>
           </xs:choice>            <xs:choice maxOccurs="unbounded">
  </xs:complexType>           </xs:element>           <xs:element name="appTypesappType" maxOccurs="1""unbounded"
                            minOccurs="1">
    
         <xs:complexType>                   <xs:choice maxOccurs="unbounded">
  complexType>
                    <xs:element name="appType" maxOccurs="unbounded"               <xs:attribute name="name" type="xs:string" use="required" />
       minOccurs="1">                             <xs:complexType>attribute name="appSpecificMapping"
                                  <xs:attribute name="name" type="xs:string" use="required" />
                                  <xs:attribute name="appSpecificMapping"</xs:complexType>
                                  type="</xs:string"element>
/>                    </xs:choice>
      </xs:complexType>          </xs:complexType>
            </xs:element>
        </xs:choice>
         </<xs:attribute type="xs:choice>
 string" name="type" />
        <xs:attribute    </xs:complexType>type="xs:string" name="host" />
          </<xs:attribute type="xs:element>
 string" name="provider" />
    </xs:choice>       <xs:attribute type="xs:string" name="typeversion" />
        <xs:attribute type="xs:stringboolean" name="hostmultiTenant" />
    </xs:complexType>
  <xs:attribute type="xs:string"</xs:element>

  <!-- <xs:complexType name="providerdeploymentType" />
      <xs:attribute type="xs:string" name="version" />sequence>
          <xs:attributeelement name="dir" type="xs:booleanstring" namemaxOccurs="multiTenant1" />minOccurs="1"></xs:element>
      </xs:sequence>
  </xs:complexType> -->
</xs:element>schema>