airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: adding task type for intermediate outputs
Date Wed, 11 Nov 2015 20:35:12 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 5277ec48d -> a9520e0cf


adding task type for intermediate outputs


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

Branch: refs/heads/develop
Commit: a9520e0cf4b6ab82f6b88ee58aa8cb344864c09b
Parents: 5277ec4
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Wed Nov 11 15:35:03 2015 -0500
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Wed Nov 11 15:35:03 2015 -0500

----------------------------------------------------------------------
 .../src/main/resources/lib/airavata/task_model_types.cpp     | 8 +++++---
 .../src/main/resources/lib/airavata/task_model_types.h       | 3 ++-
 .../src/main/resources/lib/Airavata/Model/Task/Types.php     | 2 ++
 .../main/resources/lib/apache/airavata/model/task/ttypes.py  | 3 +++
 .../main/java/org/apache/airavata/model/task/TaskTypes.java  | 5 ++++-
 thrift-interface-descriptions/airavata-api/task_model.thrift | 3 ++-
 6 files changed, 18 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a9520e0c/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.cpp
index d99d610..95cd95c 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.cpp
@@ -35,16 +35,18 @@ int _kTaskTypesValues[] = {
   TaskTypes::DATA_STAGING,
   TaskTypes::JOB_SUBMISSION,
   TaskTypes::ENV_CLEANUP,
-  TaskTypes::MONITORING
+  TaskTypes::MONITORING,
+  TaskTypes::OUTPUT_FETCHING
 };
 const char* _kTaskTypesNames[] = {
   "ENV_SETUP",
   "DATA_STAGING",
   "JOB_SUBMISSION",
   "ENV_CLEANUP",
-  "MONITORING"
+  "MONITORING",
+  "OUTPUT_FETCHING"
 };
-const std::map<int, const char*> _TaskTypes_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(5,
_kTaskTypesValues, _kTaskTypesNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
+const std::map<int, const char*> _TaskTypes_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(6,
_kTaskTypesValues, _kTaskTypesNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
 
 int _kDataStageTypeValues[] = {
   DataStageType::INPUT,

http://git-wip-us.apache.org/repos/asf/airavata/blob/a9520e0c/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.h
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.h
index 2ed2405..7be9392 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/task_model_types.h
@@ -46,7 +46,8 @@ struct TaskTypes {
     DATA_STAGING = 1,
     JOB_SUBMISSION = 2,
     ENV_CLEANUP = 3,
-    MONITORING = 4
+    MONITORING = 4,
+    OUTPUT_FETCHING = 5
   };
 };
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/a9520e0c/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Task/Types.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Task/Types.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Task/Types.php
index 2e3f678..df9e68d 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Task/Types.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/Model/Task/Types.php
@@ -27,12 +27,14 @@ final class TaskTypes {
   const JOB_SUBMISSION = 2;
   const ENV_CLEANUP = 3;
   const MONITORING = 4;
+  const OUTPUT_FETCHING = 5;
   static public $__names = array(
     0 => 'ENV_SETUP',
     1 => 'DATA_STAGING',
     2 => 'JOB_SUBMISSION',
     3 => 'ENV_CLEANUP',
     4 => 'MONITORING',
+    5 => 'OUTPUT_FETCHING',
   );
 }
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/a9520e0c/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/task/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/task/ttypes.py
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/task/ttypes.py
index 9ac820f..3582bf2 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/task/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/task/ttypes.py
@@ -31,6 +31,7 @@ class TaskTypes:
   JOB_SUBMISSION = 2
   ENV_CLEANUP = 3
   MONITORING = 4
+  OUTPUT_FETCHING = 5
 
   _VALUES_TO_NAMES = {
     0: "ENV_SETUP",
@@ -38,6 +39,7 @@ class TaskTypes:
     2: "JOB_SUBMISSION",
     3: "ENV_CLEANUP",
     4: "MONITORING",
+    5: "OUTPUT_FETCHING",
   }
 
   _NAMES_TO_VALUES = {
@@ -46,6 +48,7 @@ class TaskTypes:
     "JOB_SUBMISSION": 2,
     "ENV_CLEANUP": 3,
     "MONITORING": 4,
+    "OUTPUT_FETCHING": 5,
   }
 
 class DataStageType:

http://git-wip-us.apache.org/repos/asf/airavata/blob/a9520e0c/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
index dcabb76..7852e6a 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskTypes.java
@@ -37,7 +37,8 @@ public enum TaskTypes implements org.apache.thrift.TEnum {
   DATA_STAGING(1),
   JOB_SUBMISSION(2),
   ENV_CLEANUP(3),
-  MONITORING(4);
+  MONITORING(4),
+  OUTPUT_FETCHING(5);
 
   private final int value;
 
@@ -68,6 +69,8 @@ public enum TaskTypes implements org.apache.thrift.TEnum {
         return ENV_CLEANUP;
       case 4:
         return MONITORING;
+      case 5:
+        return OUTPUT_FETCHING;
       default:
         return null;
     }

http://git-wip-us.apache.org/repos/asf/airavata/blob/a9520e0c/thrift-interface-descriptions/airavata-api/task_model.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/airavata-api/task_model.thrift b/thrift-interface-descriptions/airavata-api/task_model.thrift
index b2897cc..798c51d 100644
--- a/thrift-interface-descriptions/airavata-api/task_model.thrift
+++ b/thrift-interface-descriptions/airavata-api/task_model.thrift
@@ -37,7 +37,8 @@ enum TaskTypes {
     DATA_STAGING,
     JOB_SUBMISSION,
     ENV_CLEANUP,
-    MONITORING
+    MONITORING,
+    OUTPUT_FETCHING
 }
 
 /**


Mime
View raw message