airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1552411 - in /airavata/sandbox/orchestrator: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/airavata/ src/main/java/org/apache/airavata/orchestrator/ src/main/resources/
Date Thu, 19 Dec 2013 20:05:23 GMT
Author: lahiru
Date: Thu Dec 19 20:05:23 2013
New Revision: 1552411

URL: http://svn.apache.org/r1552411
Log:
adding orchestrator component.

Added:
    airavata/sandbox/orchestrator/
    airavata/sandbox/orchestrator/pom.xml
    airavata/sandbox/orchestrator/src/
    airavata/sandbox/orchestrator/src/main/
    airavata/sandbox/orchestrator/src/main/java/
    airavata/sandbox/orchestrator/src/main/java/org/
    airavata/sandbox/orchestrator/src/main/java/org/apache/
    airavata/sandbox/orchestrator/src/main/java/org/apache/airavata/
    airavata/sandbox/orchestrator/src/main/java/org/apache/airavata/orchestrator/
    airavata/sandbox/orchestrator/src/main/resources/
    airavata/sandbox/orchestrator/src/main/resources/orchestrator.thrift

Added: airavata/sandbox/orchestrator/pom.xml
URL: http://svn.apache.org/viewvc/airavata/sandbox/orchestrator/pom.xml?rev=1552411&view=auto
==============================================================================
--- airavata/sandbox/orchestrator/pom.xml (added)
+++ airavata/sandbox/orchestrator/pom.xml Thu Dec 19 20:05:23 2013
@@ -0,0 +1,39 @@
+<?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. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+	<groupId>org.apache.airavata</groupId>
+	<artifactId>airavata</artifactId>
+        <version>0.11-SNAPSHOT</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>airavata-orchestrator-service</artifactId>
+    <packaging>jar</packaging>
+    <name>Airavata Interpreter Service</name>
+    <url>http://airavata.apache.org/</url>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.thrift</groupId>
+            <artifactId>libthrift</artifactId>
+            <version>0.9.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+            <version>1.7.5</version>
+        </dependency>
+
+    </dependencies>
+</project>

Added: airavata/sandbox/orchestrator/src/main/resources/orchestrator.thrift
URL: http://svn.apache.org/viewvc/airavata/sandbox/orchestrator/src/main/resources/orchestrator.thrift?rev=1552411&view=auto
==============================================================================
--- airavata/sandbox/orchestrator/src/main/resources/orchestrator.thrift (added)
+++ airavata/sandbox/orchestrator/src/main/resources/orchestrator.thrift Thu Dec 19 20:05:23
2013
@@ -0,0 +1,108 @@
+/*
+ *
+ * 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.
+ *
+ */
+
+namespace java org.apache.airavata.orchestrator
+
+
+struct HPCSettings {
+    1:optional string jobManager;
+    2:optional i32 cpuCount;
+    3:optional i32 nodeCount;
+    4:optional string queueName;
+    5:optional i32 maxWalltime;
+}
+
+struct HostSchedulingSettings {
+    1:optional string hostID;
+    2:optional bool isWSGramPreferred;
+    3:optional string gatekeeperEPR;
+}
+
+struct NameValuePairType {
+    1:optional string name;
+    2:optional string value;
+    3:optional string description;
+}
+
+
+struct WorkflowSchedulingSettings {
+    1:optional list<NodeSettings> nodeSettingsList;
+}
+
+struct OutputDataSettings {
+    1:optional string nodeID;
+    2:optional string outputdataDir;
+    3:optional string dataRegURL;
+    4:optional bool isdataPersisted;
+}
+
+struct WorkflowOutputDataSettings{
+    1:optional list<OutputDataSettings> outputDataSettingsList;
+}
+
+struct SSHAuthenticationSettings {
+    1:optional string accessKeyID;
+    2:optional string secretAccessKey;
+}
+
+struct MyProxyRepositorySettings {
+    1:optional string userName;
+    2:optional string password;
+    3:optional string myproxyServer;
+    4:optional i32 lifetime;
+}
+
+struct CredentialStoreSecuritySettings {
+    1:optional string tokenId;
+    2:optional string portalUser;
+    3:optional string gatewayID;
+}
+
+struct AmazonWebServicesSettings {
+    1:optional string accessKey;
+    2:optional string amiID;
+    3:optional string instanceID;
+    4:optional string instanceType;
+    5:optional string secretAccessKey;
+    6:optional string username;
+}
+
+struct SecuritySettings {
+    1:optional AmazonWebServicesSettings amazonWSSettings;
+    2:optional CredentialStoreSecuritySettings credentialStoreSettings;
+    3:optional MyProxyRepositorySettings myproxySettings;
+    4:optional SSHAuthenticationSettings sshAuthSettings;
+}
+
+struct ExperimentAdvanceOptions {
+    1:optional string executionUser;
+    2:optional string metadata;
+    3:optional string experimentName;
+    4:optional string customExperimentId;
+    5:optional WorkflowSchedulingSettings workflowSchedulingSettings;
+    6:optional WorkflowOutputDataSettings workflowOutputDataSettings;
+    7:optional SecuritySettings securitySettings;
+}
+
+service InterpreterService {
+    string createExperiment(1:string executionUser,2:string applicationName),
+    string submitExperiment(1:map<string,string> applicationInputs, 2: ExperimentAdvanceOptions
experimentAdOptions)
+}
\ No newline at end of file



Mime
View raw message