airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [07/14] airavata git commit: Adding getkeys by gateway api methods - AIRAVATA-1874
Date Wed, 09 Dec 2015 05:09:00 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/6a9a1254/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
index 1e6a3c0..cca05f8 100755
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote
@@ -34,6 +34,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
   print('  string generateAndRegisterSSHKeys(AuthzToken authzToken, string gatewayId, string
userName)')
   print('  string getSSHPubKey(AuthzToken authzToken, string airavataCredStoreToken, string
gatewayId)')
   print('   getAllUserSSHPubKeys(AuthzToken authzToken, string userName)')
+  print('   getAllGatewaySSHPubKeys(AuthzToken authzToken, string gatewayId)')
   print('  string createProject(AuthzToken authzToken, string gatewayId, Project project)')
   print('  void updateProject(AuthzToken authzToken, string projectId, Project updatedProject)')
   print('  Project getProject(AuthzToken authzToken, string projectId)')
@@ -264,6 +265,12 @@ elif cmd == 'getAllUserSSHPubKeys':
     sys.exit(1)
   pp.pprint(client.getAllUserSSHPubKeys(eval(args[0]),args[1],))
 
+elif cmd == 'getAllGatewaySSHPubKeys':
+  if len(args) != 2:
+    print('getAllGatewaySSHPubKeys requires 2 args')
+    sys.exit(1)
+  pp.pprint(client.getAllGatewaySSHPubKeys(eval(args[0]),args[1],))
+
 elif cmd == 'createProject':
   if len(args) != 3:
     print('createProject requires 3 args')


Mime
View raw message