From 1060cc176fd156c787b4fb6c6db44002ca0b6076 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 10 Feb 2015 17:49:13 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@111871 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/gwtservice/server/TDGWTServiceImpl.java | 12 ++++++------ .../server/trservice/OperationDefinitionMap.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index f2c368e..c90ee38 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -8637,17 +8637,17 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements OpExecutionDirector director = new OpExecutionDirector(); director.setOperationExecutionBuilder(opEx); director.constructOperationExecution(); - ArrayList invocations = director - .getListOperationExecution(); + OperationExecution invocation = director + .getOperationExecution(); - if (invocations == null) { + if (invocation == null) { throw new TDGWTServiceException( "Error in invocation: Operation not supported"); } - logger.debug("OperationInvocation: \n" + invocations.toString()); - Task trTask = service.executeBatch(invocations, tabularResourceId); - logger.debug("Split Column on service: TaskId " + trTask.getId()); + logger.debug("OperationInvocation: \n" + invocation.toString()); + Task trTask = service.execute(invocation, tabularResourceId); + logger.debug("GeospatialCreateCoordinates on service: TaskId " + trTask.getId()); TaskWrapper taskWrapper = new TaskWrapper(trTask, UIOperationsId.GeospatialCreateCoordinates, diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/trservice/OperationDefinitionMap.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/trservice/OperationDefinitionMap.java index c98f230..9e574b4 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/trservice/OperationDefinitionMap.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/trservice/OperationDefinitionMap.java @@ -20,7 +20,7 @@ public class OperationDefinitionMap { public static OperationDefinition map(String op, TabularDataService service) throws TDGWTServiceException { OperationDefinition operationDefinition = null; - logger.debug("Retrieve Capability from Service"); + logger.debug("Retrieve Capability from Service: "+op); try { operationDefinition = service.getCapability(Long.valueOf(op)); } catch (NumberFormatException e) {