diff --git a/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/WsTaskExecutorWidgetServiceImpl.java b/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/WsTaskExecutorWidgetServiceImpl.java index e2d07f6..7bf6b1e 100644 --- a/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/WsTaskExecutorWidgetServiceImpl.java +++ b/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/WsTaskExecutorWidgetServiceImpl.java @@ -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; diff --git a/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/util/RuntimeResourceReader.java b/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/util/RuntimeResourceReader.java index 4123372..0ef02e9 100644 --- a/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/util/RuntimeResourceReader.java +++ b/src/main/java/org/gcube/portlets/widgets/wstaskexecutor/server/util/RuntimeResourceReader.java @@ -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; }