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 2014/07/03 17:23:38 UTC

git commit: Initial draft of the gateway profile - AIRAVATA-1318

Repository: airavata
Updated Branches:
  refs/heads/master 0a002531b -> 15c863015


Initial draft of the gateway profile - AIRAVATA-1318


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

Branch: refs/heads/master
Commit: 15c863015480c4265fc671f496a5f940353aec86
Parents: 0a00253
Author: Suresh Marru <sm...@apache.org>
Authored: Thu Jul 3 11:23:32 2014 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Thu Jul 3 11:23:32 2014 -0400

----------------------------------------------------------------------
 .../gatewayProfileModel.thrift                  | 41 +++++++++++++++++---
 1 file changed, 36 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/15c86301/airavata-api/thrift-interface-descriptions/gatewayProfileModel.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/gatewayProfileModel.thrift b/airavata-api/thrift-interface-descriptions/gatewayProfileModel.thrift
index 88dfd5d..b1a136a 100644
--- a/airavata-api/thrift-interface-descriptions/gatewayProfileModel.thrift
+++ b/airavata-api/thrift-interface-descriptions/gatewayProfileModel.thrift
@@ -24,12 +24,13 @@ namespace php Airavata.Model.AppCatalog.GatewayProfile
 const string DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS"
 
 /**
- * Gateway Profile
+ * Resource Preferences for each of the gateway
  *
- * resourceId:
+ * gatewayID:
+ *   Unique identifier for the gateway assigned by Airavata
  *
- * hostName:
- *   Fully Qualified Host Name.
+ * gatewayName:
+ *   Name of the Gateway.
  *
  * ipAddress:
  *   IP Addresse of the Hostname.
@@ -45,11 +46,41 @@ const string DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS"
  *  Option to specify a prefered data movement mechanism of the available options.
  *
 */
+struct ComputeResourcePreference {
+    1: required string computeResourceId,
+    2: required string preferredJobSubmissionProtocol,
+    3: required string preferredDataMovementProtocol,
+    4: required string parentScratchLocation,
+    5: optional string allocationProjectNumber
+}
 
 
+/**
+ * Gateway Profile
+ *
+ * gatewayID:
+ *   Unique identifier for the gateway assigned by Airavata
+ *
+ * gatewayName:
+ *   Name of the Gateway.
+ *
+ * ipAddress:
+ *   IP Addresse of the Hostname.
+ *
+ * resourceDescription:
+ *  A user friendly description of the hostname.
+ *
+ * JobSubmissionProtocols:
+ *  A computational resources may have one or more ways of submitting Jobs. This structure
+ *  will hold all available mechanisms to interact with the resource.
+ *
+ * DataMovementProtocol:
+ *  Option to specify a prefered data movement mechanism of the available options.
+ *
+*/
 struct GatewayProfile {
     1: required string gatewayID = DEFAULT_ID,
     2: required string gatewayName,
     3: optional string gatewayDescription,
-    4: optional string preferedResource
+    4: optional list<ComputeResourcePreference> computeResourcePreferences
 }