You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2012/12/01 22:24:19 UTC
svn commit: r1416052 - in /airavata/site/trunk/content/schemas: 2012/ gfac/
gfac/2012/ gfac/2012/12/ wec/ wec/2012/ wec/2012/05/ wft/ wft/2011/
wft/2011/08/
Author: smarru
Date: Sat Dec 1 21:24:18 2012
New Revision: 1416052
URL: http://svn.apache.org/viewvc?rev=1416052&view=rev
Log:
adding schemas to web location
Added:
airavata/site/trunk/content/schemas/gfac/
airavata/site/trunk/content/schemas/gfac/2012/
airavata/site/trunk/content/schemas/gfac/2012/12/
airavata/site/trunk/content/schemas/gfac/2012/12/ApplicationDeploymentDescription.xsd
airavata/site/trunk/content/schemas/gfac/2012/12/BasicTypes.xsd
airavata/site/trunk/content/schemas/gfac/2012/12/GFacParameterTypes.xsd
airavata/site/trunk/content/schemas/gfac/2012/12/HostDescription.xsd
airavata/site/trunk/content/schemas/gfac/2012/12/ServiceDescription.xsd
airavata/site/trunk/content/schemas/wec/
airavata/site/trunk/content/schemas/wec/2012/
airavata/site/trunk/content/schemas/wec/2012/05/
airavata/site/trunk/content/schemas/wec/2012/05/workflow_execution_context.xsd (with props)
airavata/site/trunk/content/schemas/wft/
airavata/site/trunk/content/schemas/wft/2011/
airavata/site/trunk/content/schemas/wft/2011/08/
airavata/site/trunk/content/schemas/wft/2011/08/workflow_tracking_types.xsd
Removed:
airavata/site/trunk/content/schemas/2012/
Added: airavata/site/trunk/content/schemas/gfac/2012/12/ApplicationDeploymentDescription.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/gfac/2012/12/ApplicationDeploymentDescription.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/gfac/2012/12/ApplicationDeploymentDescription.xsd (added)
+++ airavata/site/trunk/content/schemas/gfac/2012/12/ApplicationDeploymentDescription.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,125 @@
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under
+ the Apache License, Version 2.0 (theà "License"); you may not use this file except in compliance with the License. You may
+ obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
+ in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ ANY ~ KIND, either express or implied. See the License for the specific language governing permissions and limitations under
+ the License. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12" xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12"
+ xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+
+ <include schemaLocation="BasicTypes.xsd" />
+
+ <element name="applicationDeploymentDescription" type="gfac:applicationDeploymentDescriptionType" />
+
+ <complexType name="applicationDeploymentDescriptionType">
+ <sequence>
+ <element name="authorInfo" type="gfac:authorInfoType" minOccurs="0" maxOccurs="unbounded" />
+ <element name="documentInfo" type="gfac:documentInfoType" minOccurs="0" maxOccurs="1" />
+ <element name="applicationName" minOccurs="1" maxOccurs="1">
+ <complexType>
+ <simpleContent>
+ <extension base="xsd:string">
+ <attribute name="targetNamespace" type="xsd:string" use="required" />
+ </extension>
+ </simpleContent>
+ </complexType>
+ </element>
+ <element name="executableLocation" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="applicationEnvironment" type="gfac:nameValuePairType" minOccurs="0" maxOccurs="unbounded" />
+ <element name="standardError" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="standardInput" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="standardOutput" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="inputDataDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="outputDataDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="scratchWorkingDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="staticWorkingDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ </sequence>
+ </complexType>
+
+ <complexType name="hpcApplicationDeploymentType">
+ <complexContent>
+ <extension base="gfac:applicationDeploymentDescriptionType">
+ <sequence>
+ <element name="jobType" type="gfac:jobTypeType" minOccurs="0" maxOccurs="1" />
+ <element name="projectAccount" type="gfac:projectAccountType" minOccurs="0" maxOccurs="1" />
+ <element name="queue" type="gfac:queueType" minOccurs="0" maxOccurs="1" />
+ <!-- Explicitly set the maximum walltime for a single execution of the executable. The units is in minutes. -->
+ <element name="maxWallTime" type="xsd:int" minOccurs="0" maxOccurs="1" />
+ <!-- The number of processors to use for the job -->
+ <element name="cpuCount" type="xsd:int" minOccurs="0" maxOccurs="1" />
+ <element name="nodeCount" type="xsd:int" minOccurs="0" maxOccurs="1" />
+ <element name="processorsPerNode" type="xsd:int" minOccurs="0" maxOccurs="1" />
+ <element name="minMemory" type="xsd:int" minOccurs="0" maxOccurs="1" />
+ <element name="maxMemory" type="xsd:int" minOccurs="0" maxOccurs="1" />
+ <element name="keyValuePairs" type="gfac:extendedKeyValueType" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="hadoopApplicationDeploymentDescriptionType">
+ <complexContent>
+ <extension base="gfac:applicationDeploymentDescriptionType">
+ <sequence>
+ <element name="whirrConfigurationFile" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <element name="byonClusterConfigurationFile" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <element name="whirrConfiguration" minOccurs="0" maxOccurs="1">
+ <complexType>
+ <sequence>
+ <element name="configuration" maxOccurs="1" minOccurs="1">
+ <complexType>
+ <sequence>
+ <element name="property" maxOccurs="unbounded">
+ <complexType>
+ <sequence>
+ <element name="name" maxOccurs="1" minOccurs="1"/>
+ <element name="value" maxOccurs="1" minOccurs="1"/>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <simpleType name="jobTypeType">
+ <restriction base="xsd:string">
+ <enumeration value="serial" />
+ <enumeration value="mpi" />
+ <enumeration value="openMP" />
+ <enumeration value="single" />
+ </restriction>
+ </simpleType>
+
+ <complexType name="projectAccountType">
+ <sequence>
+ <element name="projectAccountNumber" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="projectAccountDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+ <complexType name="queueType">
+ <sequence>
+ <element name="queueName" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="queueDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ </sequence>
+ </complexType>
+
+ <complexType name="extendedKeyValueType">
+ <simpleContent>
+ <extension base="xsd:string">
+ <attribute name="name" type="xsd:string" use="required" />
+ </extension>
+ </simpleContent>
+ </complexType>
+
+</schema>
Added: airavata/site/trunk/content/schemas/gfac/2012/12/BasicTypes.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/gfac/2012/12/BasicTypes.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/gfac/2012/12/BasicTypes.xsd (added)
+++ airavata/site/trunk/content/schemas/gfac/2012/12/BasicTypes.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,50 @@
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under
+ the Apache License, Version 2.0 (theà "License"); you may not use this file except in compliance with the License. You may
+ obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
+ in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ ANY ~ KIND, either express or implied. See the License for the specific language governing permissions and limitations under
+ the License. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12" xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12"
+ xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+
+ <element name="anyMetadata" type="xsd:anyType" />
+
+ <complexType name="authorInfoType">
+ <sequence>
+ <element name="author" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="modificationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1" />
+ <element name="organization" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="address" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="contactInfo" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+ <complexType name="documentInfoType">
+ <sequence>
+ <element name="documentName" minOccurs="1" maxOccurs="1">
+ <complexType>
+ <simpleContent>
+ <extension base="xsd:string">
+ <attribute name="targetNamespace" type="xsd:string" use="required" />
+ </extension>
+ </simpleContent>
+ </complexType>
+ </element>
+ <element name="creationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1" />
+ <element name="documentDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+ <complexType name="nameValuePairType">
+ <sequence>
+ <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="description" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ </sequence>
+ </complexType>
+
+</schema>
\ No newline at end of file
Added: airavata/site/trunk/content/schemas/gfac/2012/12/GFacParameterTypes.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/gfac/2012/12/GFacParameterTypes.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/gfac/2012/12/GFacParameterTypes.xsd (added)
+++ airavata/site/trunk/content/schemas/gfac/2012/12/GFacParameterTypes.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,247 @@
+<?xml version="1.0" encoding="UTF-8"?> <!--Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ you under the Apache License, Version 2.0 (theà "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY ~ KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
+
+<schema elementFormDefault="unqualified"
+ targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12" xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12">
+
+ <element name="GFacParameter" type="gfac:ParameterType" />
+
+ <complexType abstract="true" name="ParameterType">
+ <sequence>
+ <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ </sequence>
+ <attribute name="type" type="gfac:DataType" use="required"/>
+ </complexType>
+
+ <simpleType name="DataType">
+ <restriction base="xsd:string">
+ <enumeration value="String" />
+ <enumeration value="Double" />
+ <enumeration value="Integer" />
+ <enumeration value="Float" />
+ <enumeration value="Boolean" />
+ <enumeration value="File" />
+ <enumeration value="StringArray" />
+ <enumeration value="DoubleArray" />
+ <enumeration value="IntegerArray" />
+ <enumeration value="FloatArray" />
+ <enumeration value="BooleanArray" />
+ <enumeration value="StdOut"/>
+ <enumeration value="StdErr"/>
+ <enumeration value="FileArray" />
+ <enumeration value="DataID" />
+ <enumeration value="DataIDArray" />
+ <enumeration value="URIArray" />
+ <enumeration value="URI" />
+ </restriction>
+ </simpleType>
+
+ <complexType name="StdOutParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:string" />
+ </sequence>
+ <attribute name="type" fixed="StdOut" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="StdErrParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:string" />
+ </sequence>
+ <attribute name="type" fixed="StdErr" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="StringParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:string" />
+ </sequence>
+ <attribute name="type" fixed="String" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="URIParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:anyURI" />
+ </sequence>
+ <attribute name="type" fixed="URI" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="DoubleParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:double" />
+ </sequence>
+ <attribute name="type" fixed="Double" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="IntegerParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:int" />
+ </sequence>
+ <attribute name="type" fixed="Integer" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FloatParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:float" />
+ </sequence>
+ <attribute name="type" fixed="Float" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="BooleanParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:boolean" />
+ </sequence>
+ <attribute name="type" fixed="Boolean" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FileParameterType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:anyURI" />
+ </sequence>
+ <attribute name="type" fixed="File" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="DataIDType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" type="xsd:anyURI" />
+ </sequence>
+ <attribute name="type" fixed="File" />
+ <attribute name="location" type="xsd:string" use="optional" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="StringArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence >
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:string"/>
+ </sequence>
+ <attribute name="type" fixed="StringArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="URIArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence >
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:anyURI"/>
+ </sequence>
+ <attribute name="type" fixed="URIArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="DoubleArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:double"/>
+ </sequence>
+ <attribute name="type" fixed="IntegerArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="IntegerArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:int"/>
+ </sequence>
+ <attribute name="type" fixed="IntegerArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FloatArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:float"/>
+ </sequence>
+ <attribute name="type" fixed="StringArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="BooleanArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:boolean"/>
+ </sequence>
+ <attribute name="type" fixed="BooleanArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FileArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="value" nillable="true" maxOccurs="unbounded" type="xsd:anyURI"/>
+ </sequence>
+ <attribute name="type" fixed="FileArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="DataIDArrayType">
+ <complexContent>
+ <extension base="gfac:ParameterType">
+ <sequence>
+ <element name="item" nillable="true" maxOccurs="unbounded" type="gfac:DataIDType"/>
+ </sequence>
+ <attribute name="type" fixed="DataIDArray" />
+ </extension>
+ </complexContent>
+ </complexType>
+
+</schema>
\ No newline at end of file
Added: airavata/site/trunk/content/schemas/gfac/2012/12/HostDescription.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/gfac/2012/12/HostDescription.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/gfac/2012/12/HostDescription.xsd (added)
+++ airavata/site/trunk/content/schemas/gfac/2012/12/HostDescription.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software
+ Foundation (ASF) under one or more contributor license agreements. See the
+ NOTICE file distributed with this work for additional information regarding
+ copyright ownership. The ASF licenses this file to you under the Apache License,
+ Version 2.0 (theà "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY ~ KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12"
+ xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12" xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+
+ <include schemaLocation="BasicTypes.xsd" />
+
+ <element name="hostDescription" type="gfac:hostDescriptionType" />
+
+ <!-- Host Description -->
+ <complexType name="hostDescriptionType">
+ <sequence>
+ <element name="authorInfo" type="gfac:authorInfoType"
+ minOccurs="0" maxOccurs="unbounded" />
+ <element name="documentInfo" type="gfac:documentInfoType"
+ minOccurs="0" maxOccurs="1" />
+ <element name="hostName" type="xsd:string" minOccurs="1"
+ maxOccurs="1" />
+ <element name="hostAddress" type="xsd:string" minOccurs="1"
+ maxOccurs="1" />
+ </sequence>
+ </complexType>
+
+ <!-- Globus Host Description -->
+ <complexType name="globusHostType">
+ <complexContent>
+ <extension base="gfac:hostDescriptionType">
+ <sequence>
+ <element name="gridFTPEndPoint" type="xsd:string"
+ minOccurs="1" maxOccurs="unbounded" />
+ <element name="globusGateKeeperEndPoint" type="xsd:string"
+ minOccurs="1" maxOccurs="unbounded" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <!-- EC2 Host Description -->
+ <complexType name="ec2HostType">
+ <complexContent>
+ <extension base="gfac:hostDescriptionType">
+ <sequence>
+ <element name="imageID" type="xsd:string"
+ minOccurs="1" maxOccurs="unbounded" />
+ <element name="instanceID" type="xsd:string"
+ minOccurs="1" maxOccurs="unbounded" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="UnicoreHostType">
+ <complexContent>
+ <extension base="gfac:hostDescriptionType">
+ <sequence>
+ <sequence>
+ <element name="gridFTPEndPoint" type="xsd:string"
+ minOccurs="0" maxOccurs="unbounded" />
+ <element name="unicoreHostAddress" type="xsd:string"
+ minOccurs="1" maxOccurs="unbounded" />
+ </sequence>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <!-- GSISSH Host Description -->
+ <complexType name="gsisshHostType">
+ <complexContent>
+ <extension base="gfac:hostDescriptionType">
+ <sequence>
+ <element name="gridFTPEndPoint" type="xsd:string"
+ minOccurs="0" maxOccurs="unbounded" />
+ <element name="gsisshHostAddress" type="xsd:string"
+ minOccurs="1" maxOccurs="unbounded" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+</schema>
\ No newline at end of file
Added: airavata/site/trunk/content/schemas/gfac/2012/12/ServiceDescription.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/gfac/2012/12/ServiceDescription.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/gfac/2012/12/ServiceDescription.xsd (added)
+++ airavata/site/trunk/content/schemas/gfac/2012/12/ServiceDescription.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0 (theà "License"); you may not use this file except
+ in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY ~ KIND, either express or implied. See the License for the specific language governing
+ permissions and limitations under the License. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/gfac/2012/12" xmlns:gfac="http://airavata.apache.org/schemas/gfac/2012/12"
+ xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+
+ <include schemaLocation="BasicTypes.xsd" />
+ <include schemaLocation="GFacParameterTypes.xsd" />
+
+ <element name="serviceDescription" type="gfac:serviceDescriptionType" />
+
+ <complexType name="serviceDescriptionType">
+ <sequence>
+ <element name="name" type="xsd:string" minOccurs="0" />
+ <element name="description" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="service" type="gfac:serviceType" minOccurs="1" maxOccurs="1" />
+ <element name="portType" type="gfac:portTypeType" minOccurs="1" maxOccurs="1" />
+ <element name="authorInfo" type="gfac:authorInfoType" minOccurs="0" maxOccurs="unbounded" />
+ <element name="documentInfo" type="gfac:documentInfoType" minOccurs="0" maxOccurs="1" />
+ <element name="inputParameters" type="gfac:inputParameterType" minOccurs="0" maxOccurs="unbounded" nillable="true" />
+ <element name="outputParameters" type="gfac:outputParameterType" minOccurs="0" maxOccurs="unbounded"
+ nillable="true" />
+ </sequence>
+ </complexType>
+
+ <complexType name="serviceType">
+ <sequence>
+ <element name="serviceName" minOccurs="1" maxOccurs="1">
+ <complexType>
+ <simpleContent>
+ <extension base="xsd:string">
+ <attribute name="targetNamespace" type="xsd:string" use="required" />
+ </extension>
+ </simpleContent>
+ </complexType>
+ </element>
+ <element name="serviceDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+ <complexType name="parameter">
+ <sequence>
+ <element name="parameterName" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="parameterDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element name="parameterType" type="gfac:ParameterType" minOccurs="1" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="1" />
+ </sequence>
+ </complexType>
+
+ <complexType name="inputParameterType">
+ <complexContent>
+ <extension base="gfac:parameter">
+ <sequence>
+ <element name="parameterValue" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="outputParameterType">
+ <complexContent>
+ <extension base="gfac:parameter">
+ <sequence>
+ <element name="stdOutRegExp" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="portTypeType">
+ <sequence>
+ <element name="portName" type="xsd:QName" minOccurs="0" maxOccurs="1" />
+ <element name="portDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <!-- Only supporting one operation per wsdl. This is a gfac limitation, not a wsdl one -->
+ <element name="method" type="gfac:methodType" minOccurs="1" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+ <complexType name="methodType">
+ <sequence>
+ <element name="methodName" type="xsd:string" minOccurs="1" maxOccurs="1" />
+ <element name="methodDescription" type="xsd:string" minOccurs="0" maxOccurs="1" />
+ <element ref="gfac:anyMetadata" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+</schema>
\ No newline at end of file
Added: airavata/site/trunk/content/schemas/wec/2012/05/workflow_execution_context.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/wec/2012/05/workflow_execution_context.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/wec/2012/05/workflow_execution_context.xsd (added)
+++ airavata/site/trunk/content/schemas/wec/2012/05/workflow_execution_context.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,566 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under
+ the Apache License, Version 2.0 (theà "License"); you may not use this file except in compliance with the License. You may
+ obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
+ in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ ANY ~ KIND, either express or implied. See the License for the specific language governing permissions and limitations under
+ the License. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/wec/2012/05" xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:wec="http://airavata.apache.org/schemas/wec/2012/05" attributeFormDefault="qualified"
+ elementFormDefault="qualified">
+
+ <element name='context-header'>
+ <annotation>
+ <documentation xml:lang='en'>
+ Element that contains Airavata
+ specific context information sent as a SOAP
+ header in a SOAP message.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element minOccurs='0' maxOccurs='1' ref='wec:user-identifier' />
+ <element minOccurs='1' maxOccurs='1' ref='wec:soa-service-eprs' />
+ <element minOccurs='1' maxOccurs='1' ref='wec:workflow-monitoring-context' />
+ <element minOccurs='0' maxOccurs='1' ref='wec:workflow-scheduling-context' />
+ <element minOccurs='0' maxOccurs='1' ref='wec:workflow-output-data-handling' />
+ <element minOccurs='0' maxOccurs='1' ref='wec:security-context' />
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="user-identifier" type="string">
+ <annotation>
+ <documentation xml:lang="en"> User that the workflow is
+ executed on behalf of,
+ user id is used to catalog data
+ and for
+ monitoring purposes
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="soa-service-eprs">
+ <annotation>
+ <documentation xml:lang="en">
+ Element that contains
+ persistant service end points within the system.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="gfac-url" type="anyURI" minOccurs='1' maxOccurs='1'>
+ <annotation>
+ <documentation xml:lang="en"> Location of GFac factory
+ service to use. (optional)
+ </documentation>
+ </annotation>
+ </element>
+ <element name="registry-url" type="anyURI" minOccurs='1' maxOccurs='1'>
+ <annotation>
+ <documentation xml:lang="en"> Location of Registry
+ service
+ to use. (optional)
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="resource-scheduler-url" type="string" minOccurs='0' maxOccurs='1'>
+ <annotation>
+ <documentation xml:lang="en"> Resource Scheduler to use
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="workflow-monitoring-context">
+ <annotation>
+ <documentation xml:lang="en">Workflow context for execution
+ of a instance used to
+ relate the specific activity
+ in the context of
+ workflow and used for
+ monitoring
+ and illustarting the workflow
+ progress.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="experiment-id" type="string" minOccurs="1" maxOccurs="1">
+ <annotation>
+ <documentation xml:lang="en"> Experiment ID (REQUIRED in
+ context), Defines
+ the context of the workflow.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="workflow-instance-id" type="anyURI" minOccurs="1" maxOccurs="1">
+ <annotation>
+ <documentation xml:lang="en"> URI that identifies
+ workflow instance that
+ originated the message. (optional)
+ </documentation>
+ </annotation>
+ </element>
+ <element name="workflow-template-id" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> URI that identifies
+ workflow template that was
+ used to create the workflow
+ instance.
+ (optional)
+ </documentation>
+ </annotation>
+ </element>
+ <element name="workflow-node-id" type="string">
+ <annotation>
+ <documentation xml:lang="en"> String that identifies
+ uniqueley a node in
+ workflow graph that originated
+ that message.
+ (optional)
+ </documentation>
+ </annotation>
+ </element>
+ <element name="workflow-time-step" type="int">
+ <annotation>
+ <documentation xml:lang="en"> Increasing integer
+ representing time in the
+ workflow execution when the
+ message
+ originated. (optional)
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="service-instance-id" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> URI that identifies service
+ instance that
+ originated that message. (optional)
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="service-replica-id" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> URI that identifies the
+ replica of service
+ instance that originated that
+ message, primarly
+ used by Fault Tolerance
+ service to overprovision. (optional)
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="event-publish-epr" type="anyURI" minOccurs="1" maxOccurs="1">
+ <annotation>
+ <documentation xml:lang="en"> EPR for WS-Eventing sink
+ where to send event. (optional)
+ NOTE: currently any
+ XML is
+ accepted as there are many versions of
+ WS-Addressing.
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="notification-topic" type="string" minOccurs="0" maxOccurs="1">
+ <annotation>
+ <documentation xml:lang="en"> A Unique String to set as
+ the topic for
+ events sent on an experiment. The
+ topic may be
+ embedded with the
+ event-publish-epr. An experiment id being unique
+ may be chosen as
+ topic.
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="error-publish-epr" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> EPR for WS-Eventing sink
+ where to send errors (optional)
+ NOTE: designed good
+ for debugging
+ and system level warnings, errors,
+ etc
+ </documentation>
+ </annotation>
+ </element>
+ <element name="msg-box-epr" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> EPR for WS-Eventing sink
+ where to send errors (optional)
+ NOTE: designed good
+ for debugging
+ and system level warnings, errors,
+ etc
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="workflow-scheduling-context">
+ <annotation>
+ <documentation xml:lang="en">
+ Element that contains service
+ specific resource scheduling information sent
+ inside workflow
+ context. The purpose of this context is to schedule
+ individual
+ activities on a different resource.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element minOccurs="1" maxOccurs="unbounded" ref="wec:application-scheduling-context" />
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="application-scheduling-context">
+ <complexType>
+ <simpleContent>
+ <extension base="string">
+ <annotation>
+ <documentation xml:lang="en">
+ Element text contains host
+ name for the resource.
+ </documentation>
+ </annotation>
+
+ <attribute name="workflow-node-id" type="string">
+ <annotation>
+ <documentation xml:lang="en">
+ This is workflow node ID
+ that is mapped to a resource.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="service-id" type="anyURI" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ This is service ID.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="host-name" type="anyURI" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ head node of the resource
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="wsgram-preferred" type="boolean" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ If true then wsgram will be
+ used, false pre-wsgram will be used.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="gatekeeper-epr" type="anyURI" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ GRAM EPR of the resource
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="job-manager" type="string">
+ <annotation>
+ <documentation xml:lang="en">
+ LRM job manager on the
+ resource, ex: PBS, LSF.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="cpu-count" type="int" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ number of CPU's allocated
+ on the compute cluster
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="node-count" type="int" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ number of nodes allocated
+ on the compute cluster
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="queue-name" type="string">
+ <annotation>
+ <documentation xml:lang="en">
+ Job queue name if any.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="max-wall-time" type="int" use="optional">
+ <annotation>
+ <documentation xml:lang="en">
+ number of CPU's allocated
+ on the compute cluster
+ </documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </simpleContent>
+ </complexType>
+ </element>
+
+ <element name="workflow-output-data-handling">
+ <annotation>
+ <documentation xml:lang="en">
+ Element that contains
+ application specific resource scheduling information sent
+ inside
+ workflow context. The purpose of this context is to handle
+ individual
+ activities with different needs like
+ intermediate data
+ need not be persisted.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element minOccurs="1" maxOccurs="unbounded" ref="wec:application-output-data-handling" />
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="application-output-data-handling">
+ <complexType>
+ <sequence>
+ <element name="data-registry-url" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> (Optional) If a seperate
+ Data
+ Registry is used for catlogging data, the
+ associated location
+ of the
+ Data registry
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="output-data-directory" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en">(Optional) If the workflow
+ outputs are to be staged to a pre-specified
+ location, then the
+ output data staging directory should be provided.
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="data-persistance" type="boolean">
+ <annotation>
+ <documentation xml:lang="en">(Optional) If the
+ intermediate workflow
+ outputs are to be discarded after
+ execution,
+ this flag should be set to
+ false. By defualt this flag should be
+ true assuming all data will
+ be persisted.
+ </documentation>
+ </annotation>
+ </element>
+
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="security-context">
+ <annotation>
+ <documentation xml:lang="en"> Security context for execution
+ of the workflow
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="grid-proxy" type="base64Binary">
+ <annotation>
+ <documentation xml:lang="en"> Security context for Grid
+ Security
+ Infrastructure X509 Proxy with trusted
+ chain.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="grid-myproxy-repository">
+ <annotation>
+ <documentation xml:lang="en"> Security context for Grid
+ Security MyProxy
+ Service
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="myproxy-server" type="string">
+ <annotation>
+ <documentation xml:lang="en"> MyProxy Server.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="username" type="string">
+ <annotation>
+ <documentation xml:lang="en"> MyProxy User Name.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="password" type="string">
+ <annotation>
+ <documentation xml:lang="en"> MyProxy Password.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="life-time-inhours" type="int">
+ <annotation>
+ <documentation xml:lang="en"> MyProxy Proxy Life time.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="ssh-authentication">
+ <annotation>
+ <documentation xml:lang="en"> Security context for
+ execution of the workflow
+ on SSH accessed resources.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="access-key-id" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services
+ Public Access
+ Key ID used to contact the AWS API's.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="secret-access-key" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services AWS
+ Private
+ Secret Access Key.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="credential-management-service">
+ <annotation>
+ <documentation xml:lang="en"> Security context for
+ execution of the workflow
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="scms-url" type="anyURI">
+ <annotation>
+ <documentation xml:lang="en"> Location of the SCMS
+ (Session
+ Credential Management Service).
+ </documentation>
+ </annotation>
+ </element>
+ <element name="execution-session-id" type="string">
+ <annotation>
+ <documentation xml:lang="en"> The ID of the session
+ credential
+ to be used for executing grid operations
+ as needed
+ by the
+ workflow.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="amazon-webservices">
+ <annotation>
+ <documentation xml:lang="en"> Security context for
+ execution of the workflow
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element name="access-key-id" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services
+ Public Access
+ Key ID used to contact the AWS API's.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="secret-access-key" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services AWS
+ Private
+ Secret Access Key.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="ami-id" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services AWS
+ Amazon Machine Image (AMI) ID
+ </documentation>
+ </annotation>
+ </element>
+ <element name="instance-id" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services AWS
+ Instance ID.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="instance-type" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services AWS
+ Instance Type.
+ </documentation>
+ </annotation>
+ </element>
+ <element name="username" type="string">
+ <annotation>
+ <documentation xml:lang="en"> Amazon Web Services AWS
+ Username.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+ </element>
+
+</schema>
Propchange: airavata/site/trunk/content/schemas/wec/2012/05/workflow_execution_context.xsd
------------------------------------------------------------------------------
svn:executable = *
Added: airavata/site/trunk/content/schemas/wft/2011/08/workflow_tracking_types.xsd
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/schemas/wft/2011/08/workflow_tracking_types.xsd?rev=1416052&view=auto
==============================================================================
--- airavata/site/trunk/content/schemas/wft/2011/08/workflow_tracking_types.xsd (added)
+++ airavata/site/trunk/content/schemas/wft/2011/08/workflow_tracking_types.xsd Sat Dec 1 21:24:18 2012
@@ -0,0 +1,594 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!--Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under
+ the Apache License, Version 2.0 (theà "License"); you may not use this file except in compliance with the License. You may
+ obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
+ in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ ANY ~ KIND, either express or implied. See the License for the specific language governing permissions and limitations under
+ the License. -->
+
+<schema targetNamespace="http://airavata.apache.org/schemas/wft/2011/08" xmlns:wft="http://airavata.apache.org/schemas/wft/2011/08"
+ xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">
+
+ <annotation>
+ <documentation>
+ *) Workflows and services can be abstract (template) or concrete (instance).
+ Unless otherwise noted, we always refer to the concrete instance of the workflow/service below
+ *) All workflows are also services.
+ *) Services may be part of zero or more workflows
+ *) When Services execute in the context of a workflow,
+ an invocation of the service is associated with the workflowID of the workflow whose context
+ in which it is being invoked (also called parent workflow),
+ the timestep of this invocation in the parent workflow,
+ and the node ID that uniquely identifies this service within the parent workflow instance.
+ *) Workflows can also be invoked in the context of another parent workflow.
+ *) Workflow ID always refers to the "parent workflow ID". When refering to the invocation of a workflow,
+ its instance ID is called the Service ID.
+ *) Workflows that are not invoked from another workflow do not have a context of execution
+ (parent workflow is not present => Workflow ID is NULL)
+ *) Schema design notes
+ - This schema uses the "Venetian Blind" schema design pattern
+ - It uses Upper Camel Case for schema types and lower camel case for
+ element and attribute names
+ </documentation>
+ </annotation>
+
+ <simpleType name="ServiceIDType">
+ <annotation>
+ <documentation>
+ ID to uniquely identify the service instance.
+ This is usually formed from the targetnamespace and porttype name of the service's WSDL.
+ This ID may refer to the instance ID for a service or for a workflow.
+ </documentation>
+ </annotation>
+ <restriction base="anyURI" />
+ </simpleType>
+
+ <simpleType name="WorkflowNodeIDType">
+ <annotation>
+ <documentation>
+ String that identifies uniquely a node in workflow graph.
+ The node ID is unique in the scope of a workflow ID.
+ </documentation>
+ </annotation>
+ <restriction base="string" />
+ </simpleType>
+
+ <simpleType name="WorkflowTimestepType">
+ <annotation>
+ <documentation>
+ The timestep within workflow execution at which this invocation is made.
+ This is a logical time that monotonically increments for each invocation in a workflow.
+ </documentation>
+ </annotation>
+ <restriction base="int" />
+ </simpleType>
+
+ <simpleType name="DataProductIDType">
+ <annotation>
+ <documentation>
+ Unique logical ID for a data product in the form of a UUID.
+ Physical URL for the data products can be resolved using this ID.
+ </documentation>
+ </annotation>
+ <restriction base="anyURI" />
+ </simpleType>
+
+ <simpleType name="ExperimentIDType">
+ <annotation>
+ <documentation>
+ String that identifies uniquely a node in workflow graph.
+ The node ID is unique in the scope of a workflow ID.
+ </documentation>
+ </annotation>
+ <restriction base="string" />
+ </simpleType>
+
+ <!-- ========================================================================================== -->
+
+ <complexType name="BaseIDType">
+ <attribute name="workflowID" type="wft:ServiceIDType" use="optional">
+ <annotation>
+ <documentation>
+ The workflow context within which this service is executing.
+ If this service is itself a workflow and not executing as part of another workflow
+ (i.e. this is the root of the invocation trace) then the workflow ID is absent.
+ Otherwise, this is the service ID of the workflow instance.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="serviceID" type="wft:ServiceIDType" use="required">
+ <annotation>
+ <documentation>
+ ID to uniquely identify a service instance. The service instance can
+ be part of zero or more workflow.
+ This is formed from the targetnamespace of the service's CWSDL.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="experimentID" type="wft:ExperimentIDType" use="required">
+ <annotation>
+ <documentation>
+ ID to uniquely identify a workflow invocation.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="workflowNodeID" type="wft:WorkflowNodeIDType" use="optional">
+ <annotation>
+ <documentation>
+ Distinct ID of a node within a Workflow graph. unique within the workflowID,
+ not necessarily the order of execution.
+ </documentation>
+ </annotation>
+ </attribute>
+
+ <attribute name="workflowTimestep" type="wft:WorkflowTimestepType" use="optional">
+ <annotation>
+ <documentation>
+ The timestep within workflow execution at which this invocation is made.
+ 32bit integer. Timestep is a numerically ordered monotonically increasing sequence
+ within wf execution that allows relative ordering of invocations.
+ It is unique within the workflowID for each invocation in the workflow.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+
+ <!-- base type for all notifications -->
+ <complexType name="BaseNotificationType">
+ <annotation>
+ <documentation>This is the base type for all notification activities that are produced</documentation>
+ </annotation>
+ <sequence>
+
+ <element name="notificationSource" type="wft:BaseIDType">
+ <annotation>
+ <documentation>
+ This identifies the entity/invocation context from which this notifcation is being sent.
+ </documentation>
+ </annotation>
+ </element>
+
+ <element name="timestamp" type="dateTime" />
+
+ <element name="description" type="string" minOccurs="0">
+ <annotation>
+ <documentation>Optional human friendly description of this notification.</documentation>
+ </annotation>
+ </element>
+
+ <element name="annotation" type="anyType" minOccurs="0">
+ <annotation>
+ <documentation>Optional additional metadata for this notification. See common.AnnotationConsts file.
+ </documentation>
+ </annotation>
+ </element>
+
+ </sequence>
+
+ <attribute name="infoModelVersion" form="unqualified" type="NMTOKEN" use="required">
+ <!-- we set form as unqualified to allow WS-Messenger YFilter to match it -->
+ <!-- NMToken := (Letter | Digit | '.' | '-' | '_' | ':')+ -->
+ <annotation>
+ <documentation>
+ String identifying notification schema version (used for verifying compatible schema and filtering).
+ </documentation>
+ </annotation>
+ </attribute>
+
+ </complexType>
+
+
+ <complexType name="MessageType">
+ <sequence>
+ <element name="header" type="anyType" minOccurs="0" /> <!-- e.g. soap:header -->
+ <element name="body" type="anyType" minOccurs="0" /> <!-- e.g. soap:body --> <!-- fixme: change to message -->
+ </sequence>
+ </complexType>
+
+ <complexType name="FaultMessageType">
+ <complexContent>
+ <extension base="wft:MessageType" />
+ </complexContent>
+ </complexType>
+
+ <complexType name="InvocationMessageType">
+ <complexContent>
+ <extension base="wft:MessageType" />
+ </complexContent>
+ </complexType>
+
+
+ <complexType name="FailureMessageType">
+ <sequence>
+ <element name="trace" type="anyType" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </complexType>
+
+
+ <!-- ========================================================================================== -->
+ <!-- workflow provenance types -->
+ <!-- ========================================================================================== -->
+
+ <!-- sent when the service is first created and is ready to accept invocations -->
+ <element name="serviceInitialized" type="wft:BaseNotificationType" />
+
+ <!-- sent when the service is terminated and will not accept any further invocations -->
+ <element name="serviceTerminated" type="wft:BaseNotificationType" />
+
+ <!-- sent when the workflow is first created and is ready to accept invocations -->
+ <!--element name="workflowInitialized" type="wft:BaseNotificationType" -->
+ <element name="workflowInitialized">
+ <complexType>
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="initialPriority" type="string" minOccurs="0" />
+ <element name="workflowTemplateId" type="wft:ServiceIDType" minOccurs="0" />
+ <element name="workflowCreatorDn" type="string" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ </element>
+
+ <!-- sent when the workflow is terminated and will not accept any further invocations -->
+ <element name="workflowTerminated" type="wft:BaseNotificationType" />
+
+ <!-- sent when the workflow execution is paused: invocations will be accepted but no new messages will be sent by the workflow -->
+ <element name="workflowPaused" type="wft:BaseNotificationType" />
+
+ <!-- sent when the workflow execution is resumed -->
+ <element name="workflowResumed" type="wft:BaseNotificationType" />
+
+ <!-- workflow priority tracking -->
+ <element name="workflowPriorityChanged">
+ <complexType>
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="newPriority" type="string" />
+ <element name="oldPriority" type="string" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ </element>
+
+ <!-- ========================================================================================== -->
+
+ <complexType name="InvocationRequestType" abstract="true">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="request" type="wft:InvocationMessageType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="RequestInitiatorType">
+ <complexContent>
+ <extension base="wft:InvocationRequestType">
+ <sequence>
+ <!-- used by wf (client) to set service info, when invoking service -->
+ <element name="receiver" type="wft:BaseIDType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="RequestReceiverType">
+ <complexContent>
+ <extension base="wft:InvocationRequestType">
+ <sequence>
+ <!-- used by service to set workflow(client) info, when invoked by workflow (client) -->
+ <element name="initiator" type="wft:BaseIDType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+
+ <!-- ========================================================================================== -->
+
+ <complexType name="AcknowledgementType" abstract="true">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="receiver" type="wft:BaseIDType" minOccurs="0" /> <!-- target of the action that succeeded -->
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="AcknowledgeSuccessType">
+ <complexContent>
+ <extension base="wft:AcknowledgementType" />
+ </complexContent>
+ </complexType>
+
+ <complexType name="AcknowledgeFailureType">
+ <complexContent>
+ <extension base="wft:AcknowledgementType">
+ <sequence>
+ <element name="failure" type="wft:FailureMessageType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <!-- ========================================================================================== -->
+
+ <!-- sent by workflow when a service is invoked by it. -->
+ <element name="invokingService" type="wft:RequestInitiatorType" />
+
+
+ <!-- sent by workflow when it is invoked. -->
+ <element name="workflowInvoked" type="wft:RequestReceiverType" />
+
+ <!-- sent by service when it is invoked. -->
+ <element name="serviceInvoked" type="wft:RequestReceiverType" />
+
+
+ <!-- sent by workflow when it invoked a service successfully. -->
+ <element name="invokingServiceSucceeded" type="wft:AcknowledgeSuccessType" />
+
+ <!-- sent by workflow when it failed to invoke a service successfully. -->
+ <element name="invokingServiceFailed" type="wft:AcknowledgeFailureType" />
+
+
+ <!-- ========================================================================================== -->
+
+ <complexType name="InvocationResultType" abstract="true">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="result" type="wft:InvocationMessageType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="InvocationFaultType" abstract="true">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="fault" type="wft:FaultMessageType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="ResultReceiverType">
+ <complexContent>
+ <extension base="wft:InvocationResultType">
+ <sequence>
+ <!-- used by wf (client) to set service info, when receiving result from service -->
+ <element name="responder" type="wft:BaseIDType" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FaultReceiverType">
+ <complexContent>
+ <extension base="wft:InvocationFaultType">
+ <sequence>
+ <!-- used by wf (client) to set service info, when receiving result from service -->
+ <element name="responder" type="wft:BaseIDType" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="ResultResponderType">
+ <complexContent>
+ <extension base="wft:InvocationResultType">
+ <sequence>
+ <!-- used by service to set workflow(client) info, when returning result to workflow (client) -->
+ <element name="receiver" type="wft:BaseIDType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="FaultResponderType">
+ <complexContent>
+ <extension base="wft:InvocationFaultType">
+ <sequence>
+ <!-- used by service to set workflow(client) info, when returning result to workflow (client) -->
+ <element name="receiver" type="wft:BaseIDType" minOccurs="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <!-- ========================================================================================== -->
+
+ <!-- sent by service when it returns the result for an invocation. -->
+ <element name="sendingResult" type="wft:ResultResponderType" /> <!-- add workflowSendingResult -->
+
+ <!-- sent by service when it returns a fault for an invocation. -->
+ <element name="sendingFault" type="wft:FaultResponderType" /> <!-- add workflowSendingFault -->
+
+
+ <!-- sent by workflow when it receives the result for an invocation. -->
+ <element name="receivedResult" type="wft:ResultReceiverType" /> <!-- add workflowReceivedResult -->
+
+ <!-- sent by workflow when it receives a fault for an invocation. -->
+ <element name="receivedFault" type="wft:FaultReceiverType" /> <!-- add workflowFaultResult -->
+
+
+ <!-- sent by service when it has successfully sent the result for an invocation. -->
+ <element name="sendingResponseSucceeded" type="wft:AcknowledgeSuccessType" />
+
+ <!-- sent by service when it has successfully sent a fault for an invocation. -->
+ <element name="sendingResponseFailed" type="wft:AcknowledgeFailureType" />
+
+ <!-- ========================================================================================== -->
+
+
+ <!-- ========================================================================================== -->
+ <!-- data provenance types -->
+ <!-- ========================================================================================== -->
+
+ <!-- general complex data types -->
+ <complexType name="DataProductType">
+ <sequence>
+ <element name="id" type="wft:DataProductIDType" />
+ <element name="location" type="anyURI" minOccurs="0" maxOccurs="unbounded" />
+ <element name="sizeInBytes" type="long" minOccurs="0" />
+ <element name="timestamp" type="dateTime" minOccurs="0" /> <!-- context sensitive. time at which data product was produced or consumed. -->
+ <element name="description" type="string" minOccurs="0">
+ <annotation>
+ <documentation>Optional human friendly description of this data product.</documentation>
+ </annotation>
+ </element>
+ <element name="annotation" type="anyType" minOccurs="0">
+ <annotation>
+ <documentation>Optional additional metadata for this data product.</documentation>
+ </annotation>
+ </element>
+ </sequence>
+ </complexType>
+
+ <complexType name="DataProductNotificationType">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="dataProduct" type="wft:DataProductType" minOccurs="0" maxOccurs="unbounded" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <!-- sent when a file is used by the jython app. -->
+ <element name="dataConsumed" type="wft:DataProductNotificationType" />
+
+ <!-- sent when a file is generated by the jython app. -->
+ <element name="dataProduced" type="wft:DataProductNotificationType" />
+
+
+ <!-- ========================================================================================== -->
+ <!-- performance audit types -->
+ <!-- ========================================================================================== -->
+
+
+ <!-- sent when the application launches a GRAM job, to facilitate -->
+ <!-- auditing and accounting of TeraGrid jobs -->
+ <!-- SJ The type name needed Type added at the end -->
+ <complexType name="ApplicationAuditType">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="name" type="string" />
+ <element name="jobHandle" type="anyURI" />
+ <element name="host" type="string" />
+ <element name="queueName" type="string" minOccurs="0" />
+ <element name="jobId" type="string" minOccurs="0" />
+ <element name="distinguishedName" type="string" />
+ <element name="projectId" type="string" minOccurs="0" />
+ <element name="rsl" type="string" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="applicationAudit" type="wft:ApplicationAuditType" />
+
+
+ <!-- sent at the end of a computational block in the jython app -->
+ <!-- with the time in milliseconds taken for that computational block -->
+ <element name="computationDuration">
+ <complexType>
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="durationInMillis" type="long" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ </element>
+
+ <!-- sent at the end of sending a file to remote location (thro' gridftp?) by the jython app -->
+ <!-- with the time in milliseconds taken to send that file -->
+ <!-- TODO: later add support for time for multiple files in a single notification? -->
+ <complexType name="DataTransferDurationType">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="id" type="wft:DataProductIDType" />
+ <element name="source" type="anyURI" />
+ <element name="target" type="anyURI" />
+ <element name="sizeInBytes" type="long" minOccurs="0" default="-1" />
+ <element name="durationInMillis" type="long" default="-1" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="dataSendDuration" type="wft:DataTransferDurationType" />
+ <element name="dataReceiveDuration" type="wft:DataTransferDurationType" />
+
+ <!-- ========================================================================================== -->
+ <!-- generic log message types -->
+ <!-- ========================================================================================== -->
+
+
+ <!-- sent when an interesting file is created by the jython app that can be viewed thro' a URL -->
+ <!-- used to display as a link on the portal -->
+ <element name="publishURL">
+ <complexType>
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="title" type="string" minOccurs="0" />
+ <element name="location" type="anyURI" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ </element>
+
+ <!-- generic log message at different levels of importance that can be produced by the jython app -->
+ <element name="logInfo" type="wft:BaseNotificationType" />
+ <element name="logException" type="wft:BaseNotificationType" />
+ <element name="logWarning" type="wft:BaseNotificationType" />
+ <element name="logDebug" type="wft:BaseNotificationType" />
+
+
+ <!-- ========================================================================================== -->
+ <!-- resource broker message types -->
+ <!-- ========================================================================================== -->
+
+ <complexType name="ResourceMappingType">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="mappedResource" type="string" />
+ <element name="retryStatusCount" type="int" default="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="JobStatusType">
+ <complexContent>
+ <extension base="wft:BaseNotificationType">
+ <sequence>
+ <element name="jobStatus" type="string" />
+ <element name="retryCount" type="int" default="0" />
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="resourceMapping" type="wft:ResourceMappingType" />
+ <element name="jobStatus" type="wft:JobStatusType" />
+
+</schema>