diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/social/AlgorithmNotification.java b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/social/AlgorithmNotification.java index e64f32a..4cd8733 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/social/AlgorithmNotification.java +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/social/AlgorithmNotification.java @@ -49,6 +49,8 @@ public class AlgorithmNotification extends Thread { private void algorithmPublicationEmail() { try { + + Workspace workspace = HomeLibrary.getUserWorkspace(serviceCredentials.getUserName()); List recipientIds = retrieveListAddressee(); @@ -99,5 +101,10 @@ public class AlgorithmNotification extends Thread { return addressee; } - + + private void retrieveUsersInRole(){ + //https://socialnetworking-d-d4s.d4science.org/social-networking-library-ws/rest/2/users/get-usernames-by-global-role?role-name=DataMiner-Manager&gcube-token= + + } + }