Fixed the invocation of Notification Service

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@152916 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-09-08 12:19:31 +00:00
parent 13d812370d
commit c01c13c2aa
1 changed files with 3 additions and 3 deletions

View File

@ -124,13 +124,13 @@ public class AlgorithmNotification extends Thread {
if (serviceUp) {
logger.error("SocialNetworkingService retrieve administartors");
// https://socialnetworking-d-d4s.d4science.org/social-networking-library-ws/rest/2/users/get-usernames-by-global-role?role-name=DataMiner-Manager&gcube-token=
// https://socialnetworking-d-d4s.d4science.org/social-networking-library-ws/rest/2/users/get-usernames-by-role?role-name=DataMiner-Manager&gcube-token=
// serviceURL=http://socialnetworking-d-d4s.d4science.org:80/social-networking-library-ws/rest
// we must add this
// 2/users/get-usernames-by-global-role?role-name=DataMiner-Manager&gcube-token=
// 2/users/get-usernames-by-role?role-name=DataMiner-Manager&gcube-token=
try {
String requestUrl = socialNetworkingServiceURL
+ "/2/users/get-usernames-by-global-role?role-name=DataMiner-Manager&gcube-token="
+ "/2/users/get-usernames-by-role?role-name=DataMiner-Manager&gcube-token="
+ serviceCredentials.getToken();
logger.debug("SocialNetworkingService request=" + requestUrl);