airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch develop updated: Don't try to share when exp entity couldn't be created
Date Thu, 19 Jul 2018 19:00:24 GMT
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 3cf1da4  Don't try to share when exp entity couldn't be created
3cf1da4 is described below

commit 3cf1da46da16aae50e164a005465d2ddbba26b56
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Thu Jul 19 15:00:06 2018 -0400

    Don't try to share when exp entity couldn't be created
---
 .../sharing/registry/migrator/airavata/AiravataDataMigrator.java         | 1 +
 1 file changed, 1 insertion(+)

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 f869220..00e863d 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
@@ -274,6 +274,7 @@ public class AiravataDataMigrator {
             if (!sharingRegistryServerHandler.isEntityExists(entity.domainId, entity.entityId))
{
                 if (!sharingRegistryServerHandler.isEntityExists(entity.domainId, entity.parentEntityId))
{
                     System.out.println("Warning: project entity does exist for experiment
entity " + entity.entityId + " in gateway " + entity.domainId);
+                    continue;
                 } else {
                     sharingRegistryServerHandler.createEntity(entity);
                 }


Mime
View raw message