ref 6078:TDM - Create a new widget to support operations's invocation on DataMiner
https://support.d4science.org/issues/6078 Updated to support DataMiner git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@146297 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
37d7be2f5a
commit
47ce169021
|
@ -55,6 +55,7 @@ public class SDMXClient {
|
|||
SDMXRegistryDescriptorImpl descriptor = new SDMXRegistryDescriptorImpl();
|
||||
descriptor.setUrl(SDMXRegistryInterfaceType.RESTV2_1, url);
|
||||
client = new FusionRegistryClient(descriptor);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class OpExecution4DataMinerOperation extends OpExecutionBuilder {
|
|||
.getLogger(OpExecution4DataMinerOperation.class);
|
||||
|
||||
private TabularDataService service;
|
||||
private ServiceCredentials serviceCredentials;
|
||||
//private ServiceCredentials serviceCredentials;
|
||||
private DataMinerOperationSession dataMinerOperationSession;
|
||||
|
||||
|
||||
|
@ -35,7 +35,7 @@ public class OpExecution4DataMinerOperation extends OpExecutionBuilder {
|
|||
TabularDataService service,ServiceCredentials serviceCredentials,
|
||||
DataMinerOperationSession dataMinerOperationSession) {
|
||||
this.service = service;
|
||||
this.serviceCredentials = serviceCredentials;
|
||||
//this.serviceCredentials = serviceCredentials;
|
||||
this.dataMinerOperationSession = dataMinerOperationSession;
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ public class OpExecution4DataMinerOperation extends OpExecutionBuilder {
|
|||
operationDefinition = OperationDefinitionMap.map(
|
||||
OperationsId.StatisticalOperation.toString(), service);
|
||||
|
||||
map.put(Constants.PARAMETER_DATAMINER_GCUBETOKEN, serviceCredentials.getToken());
|
||||
//map.put(Constants.PARAMETER_DATAMINER_GCUBETOKEN, serviceCredentials.getToken());
|
||||
map.put(Constants.PARAMETER_DATAMINER_OPERATOR, dataMinerOperationSession.getOperator());
|
||||
|
||||
invocation = new OperationExecution(
|
||||
|
|
Loading…
Reference in New Issue