only changed logs
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/ws-task-executor-widget@181661 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
038f9bf5ee
commit
9a9c25c990
|
@ -103,9 +103,8 @@ public class WsTaskExecutorWidgetServiceImpl extends RemoteServiceServlet implem
|
||||||
|
|
||||||
GCubeUser user = PortalContextUtil.getUserLogged(this.getThreadLocalRequest());
|
GCubeUser user = PortalContextUtil.getUserLogged(this.getThreadLocalRequest());
|
||||||
String scope = PortalContextUtil.getCurrentScope(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);
|
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();
|
WorkspaceDataMinerTaskExecutor exec = WorkspaceDataMinerTaskExecutor.getInstance();
|
||||||
//exec.withOwner(user.getUsername());
|
//exec.withOwner(user.getUsername());
|
||||||
return exec;
|
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
|
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;
|
return sEp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue