You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by go...@apache.org on 2017/06/06 18:35:54 UTC

[1/2] airavata git commit: Auto generate and set UUID for internal_gateway_id in GatewayEntity

Repository: airavata
Updated Branches:
  refs/heads/develop c26f28959 -> 59ca27bca


Auto generate and set UUID for internal_gateway_id in GatewayEntity


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

Branch: refs/heads/develop
Commit: aa15344371da93d8076cfd2cee8bc8b4c6db831a
Parents: 504f839
Author: Gourav Shenoy <go...@apache.org>
Authored: Tue Jun 6 14:35:32 2017 -0400
Committer: Gourav Shenoy <go...@apache.org>
Committed: Tue Jun 6 14:35:32 2017 -0400

----------------------------------------------------------------------
 .../commons/tenant/entities/GatewayEntity.java    | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/aa153443/airavata-services/profile-service/profile-service-commons/src/main/java/org/apache/airavata/service/profile/commons/tenant/entities/GatewayEntity.java
----------------------------------------------------------------------
diff --git a/airavata-services/profile-service/profile-service-commons/src/main/java/org/apache/airavata/service/profile/commons/tenant/entities/GatewayEntity.java b/airavata-services/profile-service/profile-service-commons/src/main/java/org/apache/airavata/service/profile/commons/tenant/entities/GatewayEntity.java
index a63c0a1..0d6f5a2 100644
--- a/airavata-services/profile-service/profile-service-commons/src/main/java/org/apache/airavata/service/profile/commons/tenant/entities/GatewayEntity.java
+++ b/airavata-services/profile-service/profile-service-commons/src/main/java/org/apache/airavata/service/profile/commons/tenant/entities/GatewayEntity.java
@@ -244,9 +244,25 @@ public class GatewayEntity {
     }
 
     @Override
+    public boolean equals(Object obj) {
+        if (this == obj) {
+            return true;
+        }
+        if (obj == null) {
+            return false;
+        }
+        if (!(obj instanceof GatewayEntity)) {
+            return false;
+        }
+        GatewayEntity gwy = (GatewayEntity) obj;
+        return getAiravataInternalGatewayId().equals(gwy.getAiravataInternalGatewayId());
+    }
+
+    @Override
     public String toString() {
         return "GatewayEntity{" +
-                "gatewayId='" + gatewayId + '\'' +
+                "airavataInternalGatewayId='" + airavataInternalGatewayId + '\'' +
+                ", gatewayId='" + gatewayId + '\'' +
                 ", gatewayName='" + gatewayName + '\'' +
                 ", domain='" + domain + '\'' +
                 ", emailAddress='" + emailAddress + '\'' +


[2/2] airavata git commit: Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/airavata into develop

Posted by go...@apache.org.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/airavata into develop


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

Branch: refs/heads/develop
Commit: 59ca27bca0ae84dfebd072ec8abc02a5de210b71
Parents: aa15344 c26f289
Author: Gourav Shenoy <go...@apache.org>
Authored: Tue Jun 6 14:35:37 2017 -0400
Committer: Gourav Shenoy <go...@apache.org>
Committed: Tue Jun 6 14:35:37 2017 -0400

----------------------------------------------------------------------
 .../core/impl/TenantManagementKeycloakImpl.java   |  4 +++-
 .../airavata/KeycloakIdentityServerClient.java    | 18 +++++++++++-------
 .../org/apache/airavata/MigrationManager.java     |  1 -
 3 files changed, 14 insertions(+), 9 deletions(-)
----------------------------------------------------------------------