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
This commit is contained in:
parent
94c414838f
commit
1060cc176f
|
@ -8637,17 +8637,17 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
OpExecutionDirector director = new OpExecutionDirector();
|
||||
director.setOperationExecutionBuilder(opEx);
|
||||
director.constructOperationExecution();
|
||||
ArrayList<OperationExecution> 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,
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue