airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject airavata git commit: Fixing a bug in isUserExists api call, the arguments for username and gatewayid are reversed
Date Fri, 20 Jan 2017 10:24:18 GMT
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 <smarru@apache.org>
Authored: Fri Jan 20 05:24:03 2017 -0500
Committer: Suresh Marru <smarru@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();


Mime
View raw message