You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2014/05/07 22:49:08 UTC

[5/5] git commit: adding domain mapping related requests to the validation schemas

adding domain mapping related requests to the validation schemas


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/c5a0142e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/c5a0142e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/c5a0142e

Branch: refs/heads/master
Commit: c5a0142e8408db0808f9674b1516fd477afccdaa
Parents: 41988c5
Author: Nirmal Fernando <ni...@apache.org>
Authored: Thu May 8 02:18:11 2014 +0530
Committer: Nirmal Fernando <ni...@apache.org>
Committed: Thu May 8 02:18:11 2014 +0530

----------------------------------------------------------------------
 .../main/webapp/stratos-test/WEB-INF/schemas/schema.xsd  | 11 ++++++++++-
 .../src/main/webapp/stratos/WEB-INF/schemas/schema.xsd   | 11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c5a0142e/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd
index 712d417..fe09947 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd
@@ -201,6 +201,15 @@
             </xs:all>
         </xs:complexType>
     </xs:element>
+    
+    <xs:element name="subscriptionDomainRequest">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="domainName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
+                <xs:element name="applicationContext" minOccurs="0" maxOccurs="1" nillable="true"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
 
     <xs:complexType name="thresholdValues">
         <xs:all>
@@ -211,4 +220,4 @@
             <xs:element name="scaleDownMarginOfSecondDerivative" type="xs:float" minOccurs="0" maxOccurs="1"/>
         </xs:all>
     </xs:complexType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c5a0142e/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd
index 712d417..1a4947d 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd
+++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd
@@ -202,6 +202,15 @@
         </xs:complexType>
     </xs:element>
 
+    <xs:element name="subscriptionDomainRequest">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="domainName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>
+                <xs:element name="applicationContext" minOccurs="0" maxOccurs="1" nillable="true"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
     <xs:complexType name="thresholdValues">
         <xs:all>
             <xs:element name="average" type="xs:int" minOccurs="1" maxOccurs="1"/>
@@ -211,4 +220,4 @@
             <xs:element name="scaleDownMarginOfSecondDerivative" type="xs:float" minOccurs="0" maxOccurs="1"/>
         </xs:all>
     </xs:complexType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>