airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [24/50] [abbrv] airavata git commit: Sharing DOMAIN has DOMAIN_ID that is the same as GATEWAY_ID
Date Thu, 03 Aug 2017 16:01:40 GMT
Sharing DOMAIN has DOMAIN_ID that is the same as GATEWAY_ID

Not sure why the DOMAIN_ID was getting overwritten with the domain name.


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

Branch: refs/heads/master
Commit: aff5156c2a83214c58819c7db42a3ee7d804f086
Parents: 1463341
Author: Marcus Christie <machristie@apache.org>
Authored: Tue Jul 11 19:00:38 2017 -0500
Committer: Marcus Christie <machristie@apache.org>
Committed: Tue Jul 11 19:00:38 2017 -0500

----------------------------------------------------------------------
 .../sharing/registry/server/SharingRegistryServerHandler.java       | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/aff5156c/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
index 722157e..819dd16 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
+++ b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/server/SharingRegistryServerHandler.java
@@ -51,7 +51,6 @@ public class SharingRegistryServerHandler implements SharingRegistryService.Ifac
     @Override
     public String createDomain(Domain domain) throws SharingRegistryException, DuplicateEntryException,
TException {
         try{
-            domain.setDomainId(domain.name);
             if((new DomainRepository()).get(domain.domainId) != null)
                 throw new DuplicateEntryException("There exist domain with given domain id");
 


Mime
View raw message