Francesco Mangiacrapa 5 years ago
parent 038f9bf5ee
commit 9a9c25c990

@ -103,9 +103,8 @@ public class WsTaskExecutorWidgetServiceImpl extends RemoteServiceServlet implem
GCubeUser user = PortalContextUtil.getUserLogged(this.getThreadLocalRequest());
String scope = PortalContextUtil.getCurrentScope(this.getThreadLocalRequest());
logger.debug("Into PortalContext I Found the user "+user.getUsername()+ "by using the scope: "+scope+" , using it...");
ScopeProvider.instance.set(scope);
logger.info("Using user "+user.getUsername()+ "and scope: "+scope+" for intancing the "+WorkspaceDataMinerTaskExecutor.class.getSimpleName());
logger.info("Using the user '"+user.getUsername()+ "' and scope '"+scope+"' read from PortalContext for instancing the "+WorkspaceDataMinerTaskExecutor.class.getSimpleName());
WorkspaceDataMinerTaskExecutor exec = WorkspaceDataMinerTaskExecutor.getInstance();
//exec.withOwner(user.getUsername());
return exec;

@ -141,7 +141,7 @@ public class RuntimeResourceReader {
}
ServiceEndpoint sEp = listEndPoints.get(0); //Returning the first EndPoint. I'm assuming that only one instance exists for input RR
logger.info("The RR with Profile/Name '{}' and Profile/Category '{}' is found in the instancied scope", resourceName, resourceCategory);
logger.info("Found the RR with Profile/Name '{}' and Profile/Category '{}' in the instancied scope", resourceName, resourceCategory);
return sEp;
}

Loading…
Cancel
Save