airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject airavata git commit: Adding descriptions to thirft API methods
Date Tue, 15 Dec 2015 21:47:52 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 50cdfceef -> a059fbba7


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/a059fbba
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a059fbba
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a059fbba

Branch: refs/heads/master
Commit: a059fbba7922e99c5f84a4175aea4cb13e77dd6e
Parents: 50cdfce
Author: Eroma Abeysinghe <eroma.abeysinghe@gmail.com>
Authored: Tue Dec 15 16:47:47 2015 -0500
Committer: Eroma Abeysinghe <eroma.abeysinghe@gmail.com>
Committed: Tue Dec 15 16:47:47 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata/blob/a059fbba/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 168427e..bd8e14e 100644
--- a/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
+++ b/thrift-interface-descriptions/airavata-apis/airavata_api.thrift
@@ -193,6 +193,19 @@ service Airavata {
                    2: airavata_errors.AiravataClientException ace,
                    3: airavata_errors.AiravataSystemException ase)
 
+   /**
+   * Get a Public Key by Providing the Token
+   *
+   * @param CredStoreToken
+   *    Credential Store Token which you want to find the Public Key for.
+   *
+   * @param gatewayId
+   *    This is the unique identifier of your gateway where the token and public key was
generated from.
+   *
+   * @return publicKey
+   *
+   **/
+
    string getSSHPubKey (1: required security_model.AuthzToken authzToken,
                         2: required string airavataCredStoreToken,
                         3: required string gatewayId)
@@ -200,12 +213,38 @@ service Airavata {
                    2: airavata_errors.AiravataClientException ace,
                    3: airavata_errors.AiravataSystemException ase)
 
+   /**
+   * Get a Public Key by Providing the Token
+   *
+   * @param CredStoreToken
+   *    Credential Store Token which you want to find the Public Key for.
+   *
+   * @param gatewayId
+   *    This is the unique identifier of your gateway where the token and public key was
generated from.
+   *
+   * @return SSHpubKey
+   *
+   **/
+
    map<string, string> getAllUserSSHPubKeys (1: required security_model.AuthzToken
authzToken,
                                              2: required string userName)
            throws (1: airavata_errors.InvalidRequestException ire,
                    2: airavata_errors.AiravataClientException ace,
                    3: airavata_errors.AiravataSystemException ase)
 
+   /**
+   * Get all Public Keys of the Gateway
+   *
+   * @param CredStoreToken
+   *    Credential Store Token which you want to find the Public Key for.
+   *
+   * @param gatewayId
+   *    This is the unique identifier of your gateway where the token and public key was
generated from.
+   *
+   * @return publicKey
+   *
+   **/
+
   map<string, string> getAllGatewaySSHPubKeys (1: required security_model.AuthzToken
authzToken,
                                                2: required string gatewayId)
              throws (1: airavata_errors.InvalidRequestException ire,


Mime
View raw message