Author: heshan
Date: Fri Mar  8 21:07:22 2013
New Revision: 1454556

URL: http://svn.apache.org/r1454556
Log:
Adding a new element to support EC2ApplicationDeploymentDescription. Earlier, 
we've been using the Generic ApplicationDeploymentDescription for this, but 
when it comes to a EC2 Application, most of the fields in the generic scema is 
reduandant. Therefore, adding this type.

Modified:
    
airavata/trunk/modules/commons/gfac-schema/src/main/resources/schemas/ApplicationDeploymentDescription.xsd

Modified: 
airavata/trunk/modules/commons/gfac-schema/src/main/resources/schemas/ApplicationDeploymentDescription.xsd
URL: 
http://svn.apache.org/viewvc/airavata/trunk/modules/commons/gfac-schema/src/main/resources/schemas/ApplicationDeploymentDescription.xsd?rev=1454556&r1=1454555&r2=1454556&view=diff
==============================================================================
--- 
airavata/trunk/modules/commons/gfac-schema/src/main/resources/schemas/ApplicationDeploymentDescription.xsd
 (original)
+++ 
airavata/trunk/modules/commons/gfac-schema/src/main/resources/schemas/ApplicationDeploymentDescription.xsd
 Fri Mar  8 21:07:22 2013
@@ -39,7 +39,19 @@
                </sequence>
        </complexType>
 
-       <complexType name="hpcApplicationDeploymentType">
+    <complexType name="ec2ApplicationDeploymentType">
+        <complexContent>
+            <extension base="gfac:applicationDeploymentDescriptionType">
+                <sequence>
+                    <element name="jobType" type="gfac:jobTypeType" 
minOccurs="0" maxOccurs="1" />
+                    <element name="executable" type="xsd:string" minOccurs="0" 
maxOccurs="1" />
+                    <element name="executableType" type="xsd:string" 
minOccurs="0" maxOccurs="1" />
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+
+    <complexType name="hpcApplicationDeploymentType">
                <complexContent>
                        <extension 
base="gfac:applicationDeploymentDescriptionType">
                                <sequence>
@@ -97,6 +109,7 @@
                        <enumeration value="mpi" />
                        <enumeration value="openMP" />
             <enumeration value="single" />
+            <enumeration value="ec2" />
                </restriction>
        </simpleType>
 


Reply via email to