Repository: airavata Updated Branches: refs/heads/develop c3064689d -> 1917d3b2a
Removed xslt templates and xsd file from repo Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/1917d3b2 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/1917d3b2 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/1917d3b2 Branch: refs/heads/develop Commit: 1917d3b2a92d051de65b5d5de958cb2a16b57dd7 Parents: c306468 Author: Shameera Rathnayaka <[email protected]> Authored: Mon Oct 3 17:35:46 2016 -0400 Committer: Shameera Rathnayaka <[email protected]> Committed: Mon Oct 3 17:35:46 2016 -0400 ---------------------------------------------------------------------- .../server/src/main/resources/ForkTemplate.xslt | 24 ---- .../server/src/main/resources/LSFTemplate.xslt | 92 --------------- .../server/src/main/resources/PBSTemplate.xslt | 107 ----------------- .../src/main/resources/SLURMTemplate.xslt | 102 ---------------- .../server/src/main/resources/UGETemplate.xslt | 78 ------------- modules/gfac/gfac-core/pom.xml | 27 ----- .../src/main/resources/PBSJobDescriptor.xsd | 116 ------------------- .../src/main/resources/gsissh-schemas.xsdconfig | 14 --- 8 files changed, 560 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/configuration/server/src/main/resources/ForkTemplate.xslt ---------------------------------------------------------------------- diff --git a/modules/configuration/server/src/main/resources/ForkTemplate.xslt b/modules/configuration/server/src/main/resources/ForkTemplate.xslt deleted file mode 100644 index d3cbe12..0000000 --- a/modules/configuration/server/src/main/resources/ForkTemplate.xslt +++ /dev/null @@ -1,24 +0,0 @@ -<!--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. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://airavata.apache.org/gfac/core/2012/12"> -<xsl:output method="text" /> -<xsl:template match="/ns:JobDescriptor"> -#! /bin/sh -cd <xsl:text> </xsl:text><xsl:value-of select="ns:workingDirectory"/><xsl:text>
</xsl:text> - <xsl:choose><xsl:when test="ns:jobSubmitterCommand"> -<xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text> </xsl:text></xsl:when></xsl:choose><xsl:value-of select="ns:executablePath"/><xsl:text> </xsl:text> -<xsl:for-each select="ns:inputs/ns:input"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> -<xsl:for-each select="ns:postJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> -</xsl:for-each> - -</xsl:template> - -</xsl:stylesheet> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/configuration/server/src/main/resources/LSFTemplate.xslt ---------------------------------------------------------------------- diff --git a/modules/configuration/server/src/main/resources/LSFTemplate.xslt b/modules/configuration/server/src/main/resources/LSFTemplate.xslt deleted file mode 100644 index 7859e7f..0000000 --- a/modules/configuration/server/src/main/resources/LSFTemplate.xslt +++ /dev/null @@ -1,92 +0,0 @@ -<!--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. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://airavata.apache.org/gfac/core/2012/12"> - <xsl:output method="text" /> - <xsl:template match="/ns:JobDescriptor"> - <xsl:param name="quote">"</xsl:param> -#! /bin/bash -# LSF batch job submission script generated by Apache Airavata -# - <xsl:choose> - <xsl:when test="ns:shellName"> -#BSUB -L <xsl:value-of select="ns:shellName"/> - </xsl:when></xsl:choose> - <xsl:choose> - <xsl:when test="ns:queueName"> -#BSUB -q <xsl:value-of select="ns:queueName"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:nodes"> -#BSUB -n <xsl:value-of select="ns:nodes"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:mailAddress"> -#BSUB -u <xsl:value-of select="ns:mailAddress"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:jobName"> -#BSUB -J <xsl:value-of select="ns:jobName"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:acountString"> -#BSUB -P <xsl:value-of select="ns:acountString"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:maxWallTime"> -#BSUB -W <xsl:value-of select="ns:maxWallTime"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile"> -#BSUB -o "<xsl:value-of select="ns:standardOutFile"/>" - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile"> -#BSUB -e "<xsl:value-of select="ns:standardErrorFile"/>" - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:chassisName"> -#BSUB -m c<xsl:value-of select="ns:chassisName"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:usedMem"> -#BSUB -R rusage[mem=<xsl:value-of select="ns:usedMem"/>] - </xsl:when> - </xsl:choose> - - <xsl:text>
</xsl:text> - <xsl:text>
</xsl:text> - <xsl:for-each select="ns:moduleLoadCommands/ns:command"> - <xsl:text>
</xsl:text> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> -cd <xsl:text> </xsl:text><xsl:value-of select="ns:workingDirectory"/><xsl:text>
</xsl:text> - <xsl:for-each select="ns:preJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - <xsl:text>
</xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> - <xsl:choose><xsl:when test="ns:jobSubmitterCommand != ''"> - <xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text> </xsl:text> - </xsl:when></xsl:choose><xsl:value-of select="ns:executablePath"/><xsl:text> </xsl:text> - <xsl:for-each select="ns:inputs/ns:input"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> - </xsl:template> - -</xsl:stylesheet> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/configuration/server/src/main/resources/PBSTemplate.xslt ---------------------------------------------------------------------- diff --git a/modules/configuration/server/src/main/resources/PBSTemplate.xslt b/modules/configuration/server/src/main/resources/PBSTemplate.xslt deleted file mode 100644 index 08dc671..0000000 --- a/modules/configuration/server/src/main/resources/PBSTemplate.xslt +++ /dev/null @@ -1,107 +0,0 @@ -<!--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. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://airavata.apache.org/gfac/core/2012/12"> -<xsl:output method="text" /> -<xsl:template match="/ns:JobDescriptor"> - <xsl:param name="quote">"</xsl:param> -#! /bin/bash -# PBS batch job submission script generated by Apache Airavata -# <xsl:choose> - <xsl:when test="ns:shellName != ''"> -#PBS -S <xsl:value-of select="ns:shellName"/> - </xsl:when></xsl:choose> - <xsl:choose> - <xsl:when test="ns:queueName != ''"> -#PBS -q <xsl:value-of select="ns:queueName"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:jobName != ''"> -#PBS -N <xsl:value-of select="ns:jobName"/> - </xsl:when> - </xsl:choose> -#PBS -m abe <xsl:choose> - <xsl:when test="ns:mailAddress != ''"> -#PBS -M <xsl:value-of select="ns:mailAddress"/> - </xsl:when> - </xsl:choose> - <xsl:choose> -<xsl:when test="ns:acountString != ''"> -#PBS -A <xsl:value-of select="ns:acountString"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:maxWallTime != ''"> -#PBS -l walltime=<xsl:value-of select="ns:maxWallTime"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:jobSubmitterCommand = 'ccmrun'"> -#PBS -l gres=ccm - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile != ''"> -#PBS -o <xsl:value-of select="ns:standardOutFile"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile != ''"> -#PBS -e <xsl:value-of select="ns:standardErrorFile"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:usedMem != ''"> - #PBS -l mem=<xsl:value-of select="ns:usedMem"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="(ns:nodes) and (ns:processesPerNode)"> -#PBS -l nodes=<xsl:value-of select="ns:nodes"/>:ppn=<xsl:value-of select="ns:processesPerNode"/> -<xsl:text>
</xsl:text> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:jobSubmitterCommand = 'ccmrun'"> -#PBS -l gres=ccm - </xsl:when> - </xsl:choose> - <xsl:text>
</xsl:text> -<xsl:for-each select="ns:exports/ns:name"> -<xsl:value-of select="."/>=<xsl:value-of select="./@value"/><xsl:text>
</xsl:text> -export<xsl:text> </xsl:text><xsl:value-of select="."/> -<xsl:text>
</xsl:text> -</xsl:for-each> - <xsl:text>
</xsl:text> -<xsl:for-each select="ns:moduleLoadCommands/ns:command"> - <xsl:text>
</xsl:text> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> -cd <xsl:text> </xsl:text><xsl:value-of select="ns:workingDirectory"/><xsl:text>
</xsl:text> - <xsl:for-each select="ns:preJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - <xsl:text>
</xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> - <xsl:choose><xsl:when test="ns:jobSubmitterCommand != ''"> - <xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text> </xsl:text> - <xsl:choose><xsl:when test="ns:jobSubmitterCommand != 'ccmrun'"> - <xsl:value-of select="ns:cpuCount"/> </xsl:when></xsl:choose><xsl:text> </xsl:text> - </xsl:when></xsl:choose><xsl:value-of select="ns:executablePath"/><xsl:text> </xsl:text> -<xsl:for-each select="ns:inputs/ns:input"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> -<xsl:for-each select="ns:postJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> -</xsl:for-each> - <xsl:text>
</xsl:text> -</xsl:template> - -</xsl:stylesheet> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/configuration/server/src/main/resources/SLURMTemplate.xslt ---------------------------------------------------------------------- diff --git a/modules/configuration/server/src/main/resources/SLURMTemplate.xslt b/modules/configuration/server/src/main/resources/SLURMTemplate.xslt deleted file mode 100644 index a8eb84b..0000000 --- a/modules/configuration/server/src/main/resources/SLURMTemplate.xslt +++ /dev/null @@ -1,102 +0,0 @@ -<!--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. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://airavata.apache.org/gfac/core/2012/12"> -<xsl:output method="text" /> -<xsl:template match="/ns:JobDescriptor"> - <xsl:param name="quote">"</xsl:param> - <xsl:choose> -<xsl:when test="ns:shellName != ''"> -#!<xsl:value-of select="ns:shellName"/> - </xsl:when> - </xsl:choose> -<xsl:choose> - <xsl:when test="ns:queueName != ''"> -#SBATCH -p <xsl:value-of select="ns:queueName"/> - </xsl:when> - </xsl:choose> -<xsl:choose> - <xsl:when test="ns:nodes != ''"> -#SBATCH -N <xsl:value-of select="ns:nodes"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:cpuCount != ''"> -#SBATCH -n <xsl:value-of select="ns:cpuCount"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:mailAddress != ''"> -#SBATCH --mail-user=<xsl:value-of select="ns:mailAddress"/> - </xsl:when> - </xsl:choose> -#SBATCH --mail-type=ALL <xsl:choose> -<xsl:when test="ns:acountString != ''"> -#SBATCH -A <xsl:value-of select="ns:acountString"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:maxWallTime != ''"> -#SBATCH -t <xsl:value-of select="ns:maxWallTime"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:jobName != ''"> -#SBATCH -J <xsl:value-of select="ns:jobName"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile != ''"> -#SBATCH -o <xsl:value-of select="ns:standardOutFile"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile != ''"> -#SBATCH -e <xsl:value-of select="ns:standardErrorFile"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:qualityOfService"> -#SBATCH --qos=<xsl:value-of select="ns:qualityOfService"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:reservation"> -#SBATCH --reservation=<xsl:value-of select="ns:reservation"/> - </xsl:when> - </xsl:choose> - <xsl:text>
</xsl:text> -<xsl:for-each select="ns:exports/ns:name"> - <xsl:value-of select="."/>=<xsl:value-of select="./@value"/><xsl:text>
</xsl:text> -export<xsl:text> </xsl:text><xsl:value-of select="."/> - <xsl:text>
</xsl:text> -</xsl:for-each> - <xsl:text>
</xsl:text> -<xsl:for-each select="ns:moduleLoadCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - <xsl:text>
</xsl:text> -</xsl:for-each> - <xsl:text>
</xsl:text> -cd <xsl:text> </xsl:text><xsl:value-of select="ns:workingDirectory"/><xsl:text>
</xsl:text> -<xsl:for-each select="ns:preJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - <xsl:text>
</xsl:text> -</xsl:for-each> - <xsl:text>
</xsl:text> - <xsl:choose><xsl:when test="ns:jobSubmitterCommand"> -<xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text> </xsl:text></xsl:when></xsl:choose><xsl:value-of select="ns:executablePath"/><xsl:text> </xsl:text> -<xsl:for-each select="ns:inputs/ns:input"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> - <xsl:text>
</xsl:text> -<xsl:for-each select="ns:postJobCommands/ns:command"> - <xsl:text>
</xsl:text> - <xsl:value-of select="."/><xsl:text> </xsl:text> -</xsl:for-each> -</xsl:template> - -</xsl:stylesheet> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/configuration/server/src/main/resources/UGETemplate.xslt ---------------------------------------------------------------------- diff --git a/modules/configuration/server/src/main/resources/UGETemplate.xslt b/modules/configuration/server/src/main/resources/UGETemplate.xslt deleted file mode 100644 index bfb9b16..0000000 --- a/modules/configuration/server/src/main/resources/UGETemplate.xslt +++ /dev/null @@ -1,78 +0,0 @@ -<!--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. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://airavata.apache.org/gfac/core/2012/12"> -<xsl:output method="text" /> -<xsl:template match="/ns:JobDescriptor"> - <xsl:param name="quote">"</xsl:param> -#! /bin/bash -# Grid Engine batch job script built by Apache Airavata -# <xsl:choose> - <xsl:when test="ns:shellName != ''"> -#$ -S <xsl:value-of select="ns:shellName"/> - </xsl:when></xsl:choose> -#$ -V - <xsl:choose> - <xsl:when test="ns:queueName != ''"> -#$ -q <xsl:value-of select="ns:queueName"/> - </xsl:when> - </xsl:choose> -#$ -m beas <xsl:choose> - <xsl:when test="ns:mailAddress != ''"> -#$ -M <xsl:value-of select="ns:mailAddress"/> - </xsl:when> - </xsl:choose> - <xsl:choose> -<xsl:when test="ns:acountString != ''"> -#$ -A <xsl:value-of select="ns:acountString"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:maxWallTime != ''"> -#$ -l h_rt=<xsl:value-of select="ns:maxWallTime"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:jobName != ''"> -#$ -N <xsl:value-of select="ns:jobName"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile != ''"> -#$ -o <xsl:value-of select="ns:standardOutFile"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="ns:standardOutFile != ''"> -#$ -e <xsl:value-of select="ns:standardErrorFile"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="(ns:nodes) and (ns:processesPerNode)"> -#$ -pe <xsl:value-of select="ns:processesPerNode"/>way <xsl:value-of select="12 * ns:nodes"/> -<xsl:text>
</xsl:text> - </xsl:when> - </xsl:choose> -<xsl:for-each select="ns:exports/ns:name"> -<xsl:value-of select="."/>=<xsl:value-of select="./@value"/><xsl:text>
</xsl:text> -export<xsl:text> </xsl:text><xsl:value-of select="."/> -<xsl:text>
</xsl:text> -</xsl:for-each> -<xsl:for-each select="ns:preJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> -cd <xsl:text> </xsl:text><xsl:value-of select="ns:workingDirectory"/><xsl:text>
</xsl:text> - <xsl:choose><xsl:when test="ns:jobSubmitterCommand"> -<xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text> </xsl:text></xsl:when></xsl:choose><xsl:value-of select="ns:executablePath"/><xsl:text> </xsl:text> -<xsl:for-each select="ns:inputs/ns:input"> - <xsl:value-of select="."/><xsl:text> </xsl:text> - </xsl:for-each> -<xsl:for-each select="ns:postJobCommands/ns:command"> - <xsl:value-of select="."/><xsl:text> </xsl:text> -</xsl:for-each> -</xsl:template> -</xsl:stylesheet> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/gfac/gfac-core/pom.xml ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/pom.xml b/modules/gfac/gfac-core/pom.xml index de3703a..00e305d 100644 --- a/modules/gfac/gfac-core/pom.xml +++ b/modules/gfac/gfac-core/pom.xml @@ -52,11 +52,6 @@ <artifactId>airavata-registry-core</artifactId> <version>${project.version}</version> </dependency> - <!--<dependency>--> - <!--<groupId>org.apache.xmlbeans</groupId>--> - <!--<artifactId>xmlbeans</artifactId>--> - <!--<version>${xmlbeans.version}</version>--> - <!--</dependency>--> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy</artifactId> @@ -142,28 +137,6 @@ <build> <plugins> - <!--<plugin>--> - <!--<groupId>org.codehaus.mojo</groupId>--> - <!--<artifactId>xmlbeans-maven-plugin</artifactId>--> - <!--<version>2.3.3</version>--> - <!--<executions>--> - <!--<execution>--> - <!--<phase>generate-sources</phase>--> - <!--<goals>--> - <!--<goal>xmlbeans</goal>--> - <!--</goals>--> - <!--</execution>--> - <!--</executions>--> - <!--<inherited>true</inherited>--> - <!--<configuration>--> - <!--<schemaDirectory>src/main/resources</schemaDirectory>--> - <!--<xmlConfigs>--> - <!--<xmlConfig implementation="java.io.File">src/main/resources/gsissh-schemas.xsdconfig</xmlConfig>--> - <!--</xmlConfigs>--> - <!--<sourceGenerationDirectory>src/main/java</sourceGenerationDirectory>--> - <!--<outputJar>target/generated/${project.artifactId}-${project.version}.jar</outputJar>--> - <!--</configuration>--> - <!--</plugin>--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd b/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd deleted file mode 100644 index e9e6882..0000000 --- a/modules/gfac/gfac-core/src/main/resources/PBSJobDescriptor.xsd +++ /dev/null @@ -1,116 +0,0 @@ -<?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/gfac/core/2012/12" xmlns:gsissh="http://airavata.apache.org/gfac/core/2012/12" - xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> - - <element name="JobDescriptor" type="gsissh:pbsParams" /> - - <complexType name="pbsParams"> - <sequence> - <element name="jobID" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="userName" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="shellName" type="xsd:string" minOccurs="0" maxOccurs="1" default="/bin/bash"/> - <element name="queueName" type="xsd:string" minOccurs="0" maxOccurs="1" default="normal"/> - <element name="jobName" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="allEnvExport" type="xsd:boolean" minOccurs="0 " maxOccurs="1" default="true"/> - <element name="mailOptions" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="mailAddress" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="partition" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="mailType" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="acountString" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="maxWallTime" type="xsd:string" minOccurs="0" maxOccurs="1" default="1:00:00"/> - <element name="standardOutFile" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="standardErrorFile" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="outputDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="inputDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="nodes" type="xsd:int" minOccurs="0" maxOccurs="1" default="1"/> - <element name="processesPerNode" type="xsd:int" minOccurs="0" maxOccurs="1" default="1" /> - <element name="cpuCount" type="xsd:int" minOccurs="0" maxOccurs="1" default="1" /> - <element name="nodeList" type="xsd:string" minOccurs="0" maxOccurs="1" default="1" /> - <element name="workingDirectory" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="executablePath" type="xsd:string" minOccurs="0" maxOccurs="1" /> - <element name="inputs" type="gsissh:inputList" minOccurs="1" maxOccurs="1"/> - <element name="exports" type="gsissh:exportProperties" minOccurs="1" maxOccurs="1"/> - <element name="status" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="afterAny" type="gsissh:afterAnyList" minOccurs="0" maxOccurs="1"/> - <element name="afterOKList" type="gsissh:afterOKList" minOccurs="0" maxOccurs="1"/> - <element name="cTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="qTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="mTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="sTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="compTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="owner" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="executeNode" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="ellapsedTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="usedCPUTime" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="usedMem" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="submitArgs" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="variableList" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="preJobCommands" type="gsissh:preJobCommands" minOccurs="0" maxOccurs="1"/> - <element name="moduleLoadCommands" type="gsissh:moduleLoadCommands" minOccurs="0" maxOccurs="1"/> - <element name="postJobCommands" type="gsissh:postJobCommands" minOccurs="0" maxOccurs="1"/> - <element name="jobSubmitterCommand" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="callBackIp" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="callBackPort" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="chassisName" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="qualityOfService" type="xsd:string" minOccurs="0" maxOccurs="1"/> - <element name="reservation" type="xsd:string" minOccurs="0" maxOccurs="1"/> - </sequence> - </complexType> - - <complexType name="moduleLoadCommands"> - <sequence> - <element name="command" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> - </sequence> - </complexType> - <complexType name="preJobCommands"> - <sequence> - <element name="command" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> - </sequence> - </complexType> - - <complexType name="postJobCommands"> - <sequence> - <element name="command" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> - </sequence> - </complexType> - <complexType name="inputList"> - <sequence> - <element name="input" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> - </sequence> - </complexType> - <complexType name="afterAnyList"> - <sequence> - <element name="afterAny" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> - </sequence> - </complexType> - - <complexType name="afterOKList"> - <sequence> - <element name="afterOKList" type="xsd:string" minOccurs="0" maxOccurs="unbounded" /> - </sequence> - </complexType> - - <complexType name="exportProperties"> - <sequence> - - <element name="name" minOccurs="1" maxOccurs="unbounded"> - <complexType> - <simpleContent> - <extension base="xsd:string"> - <attribute name="value" type="xsd:string" use="required" /> - </extension> - </simpleContent> - </complexType> - </element> - - </sequence> - </complexType> -</schema> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/1917d3b2/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig b/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig deleted file mode 100644 index 201d3b1..0000000 --- a/modules/gfac/gfac-core/src/main/resources/gsissh-schemas.xsdconfig +++ /dev/null @@ -1,14 +0,0 @@ -<!--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. --> - -<xb:config xmlns:xb="http://www.bea.com/2002/09/xbean/config"> - - <xb:namespace uri="http://airavata.apache.org/schemas/gfac/core/2012/12"> - <xb:package>org.apache.airavata.gfac.core</xb:package> - </xb:namespace> -</xb:config> \ No newline at end of file
