airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-2662) One-Time Migration to Create the "everyone" Group for all Domains
Date Tue, 27 Feb 2018 20:07:00 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379212#comment-16379212
] 

ASF GitHub Bot commented on AIRAVATA-2662:
------------------------------------------

tilaks26 commented on a change in pull request #168: [AIRAVATA-2662] Adding Migrator class
to create everyone group in all domains
URL: https://github.com/apache/airavata/pull/168#discussion_r171050514
 
 

 ##########
 File path: modules/sharing-registry/sharing-data-migrator/src/main/java/org/apache/airavata/sharing/registry/migrator/airavata/AiravataDataMigrator.java
 ##########
 @@ -205,17 +218,56 @@ public static void main(String[] args) throws SQLException, ClassNotFoundExcepti
             }
         }
 
+        //Creating the everyone group
+        List<Domain> domainList = sharingClient.getDomains(-1, 0);
+        for (Domain domain : domainList) {
+            CredentialStoreService.Client credentialStoreServiceClient = getCredentialStoreServiceClient();
 
 Review comment:
   credentialStoreServiceClient is now initialized outside the loop.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> One-Time Migration to Create the "everyone" Group for all Domains
> -----------------------------------------------------------------
>
>                 Key: AIRAVATA-2662
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2662
>             Project: Airavata
>          Issue Type: Improvement
>            Reporter: Sneha Tilak
>            Assignee: Sneha Tilak
>            Priority: Major
>
> One-time migration to create and populate the “everyone” group for all existing domains
and share all the existing application deployments with the group.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message