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 2017/01/20 10:24:18 UTC

airavata git commit: Fixing a bug in isUserExists api call, the arguments for username and gatewayid are reversed

Repository: airavata
Updated Branches:
  refs/heads/develop 485e71072 -> 0108cb28c


Fixing a bug in isUserExists api call, the arguments for username and gatewayid are reversed


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

Branch: refs/heads/develop
Commit: 0108cb28c5cf704eadcb6be124dfcb8d99963dbc
Parents: 485e710
Author: Suresh Marru <sm...@apache.org>
Authored: Fri Jan 20 05:24:03 2017 -0500
Committer: Suresh Marru <sm...@apache.org>
Committed: Fri Jan 20 05:24:03 2017 -0500

----------------------------------------------------------------------
 .../apache/airavata/api/server/handler/AiravataServerHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/0108cb28/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 4322eaf..66a0c3d 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -186,7 +186,7 @@ public class AiravataServerHandler implements Airavata.Iface {
     public boolean isUserExists(AuthzToken authzToken, String gatewayId, String userName) throws InvalidRequestException,
             AiravataClientException, AiravataSystemException, AuthorizationException, TException {
         try {
-            return getRegistryServiceClient().isUserExists(userName, gatewayId);
+            return getRegistryServiceClient().isUserExists(gatewayId, userName);
         } catch (ApplicationSettingsException | RegistryServiceException e) {
             logger.error("Error while verifying user", e);
             AiravataSystemException exception = new AiravataSystemException();