You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/09/14 22:34:56 UTC

[airavata] branch develop updated: AIRAVATA-2876 Removing spurious domain suffix

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new e1f9f8e  AIRAVATA-2876 Removing spurious domain suffix
e1f9f8e is described below

commit e1f9f8e26c1aa67bf8741932a86b17446277ceda
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Sep 14 18:34:07 2018 -0400

    AIRAVATA-2876 Removing spurious domain suffix
---
 .../sharing/registry/migrator/airavata/AiravataDataMigrator.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java b/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
index a3bb8fa..7f19eae 100644
--- a/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
+++ b/modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
@@ -290,7 +290,7 @@ public class AiravataDataMigrator {
                 entity.setEntityId(description.getAppDeploymentId());
                 entity.setDomainId(domainID);
                 entity.setEntityTypeId(entity.domainId + ":" + ResourceType.APPLICATION_DEPLOYMENT.name());
-                entity.setOwnerId(domainOwnerMap.get(domainID) + "@" + entity.domainId);
+                entity.setOwnerId(domainOwnerMap.get(domainID));
                 entity.setName(description.getAppDeploymentId());
                 entity.setDescription(description.getAppDeploymentDescription());
                 if (entity.getDescription() == null)