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:
parent
13d812370d
commit
c01c13c2aa
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue