airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [1/4] airavata git commit: Adding descriptions to thirft API methods
Date Wed, 16 Dec 2015 14:44:44 GMT
Repository: airavata
Updated Branches:
  refs/heads/master a513dcdeb -> d8987244b


Adding descriptions to thirft API methods


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

Branch: refs/heads/master
Commit: 7ea88a2b91cebb313a6484fdf24674ce79bc552d
Parents: a059fbb
Author: Eroma Abeysinghe <eroma.abeysinghe@gmail.com>
Authored: Wed Dec 16 09:24:00 2015 -0500
Committer: Eroma Abeysinghe <eroma.abeysinghe@gmail.com>
Committed: Wed Dec 16 09:24:00 2015 -0500

----------------------------------------------------------------------
 .../airavata-apis/airavata_api.thrift           | 27 ++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/7ea88a2b/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/airavata-apis/airavata_api.thrift b/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
index bd8e14e..928af6b 100644
--- a/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
+++ b/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
@@ -106,6 +106,8 @@ service Airavata {
    * @return gateway
    *    Modified gateway obejct.
    *
+   * @exception AiravataClientException
+   *
    **/
 
   void updateGateway(1: required security_model.AuthzToken authzToken, 2: required string
gatewayId, 3: required workspace_model.Gateway updatedGateway)
@@ -158,6 +160,20 @@ service Airavata {
                      3: airavata_errors.AiravataSystemException ase,
                      4: airavata_errors.AuthorizationException ae)
 
+    /**
+    * Check for the Existance of a Gateway within Airavata
+    *
+    * @param gatewayId
+    *   Provide the gatewayId of the gateway you want to check the existancy
+    *
+    * @return boolean
+    *   Boolean idetifier for the existance or non-existane of the gatewayId
+    *
+    * @return gatewayId
+    *   return the gatewayId of the existing gateway.
+    *
+    **/
+
   bool isGatewayExist(1: required security_model.AuthzToken authzToken, 2: required string
gatewayId)
            throws (1: airavata_errors.InvalidRequestException ire,
                    2: airavata_errors.AiravataClientException ace,
@@ -251,6 +267,17 @@ service Airavata {
                      2: airavata_errors.AiravataClientException ace,
                      3: airavata_errors.AiravataSystemException ase)
 
+    /**
+    * Delete a Gateway
+    *
+    * @param gatewayId
+    *    The gateway Id of the Gateway to be deleted.
+    *
+    * @return boolean
+    *    Boolean identifier for the success or failure of the deletion operation.
+    *
+    **/
+
   bool deleteSSHPubKey (1: required security_model.AuthzToken authzToken,
                           2: required string airavataCredStoreToken,
                           3: required string gatewayId)


Mime
View raw message