ref 11819: SW Test org.gcube.portlet-user.data-miner-manager
https://support.d4science.org/issues/11819 Fixed to support System parameters on service git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@167682 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1fa6e44f05
commit
d51d7686fc
|
@ -258,16 +258,19 @@ public class AlgorithmGenerator {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (InputOutputVariables selVariable : project.getInputData().getListInputOutputVariables()) {
|
for (InputOutputVariables selVariable : project.getInputData().getListInputOutputVariables()) {
|
||||||
switch (selVariable.getIoType()) {
|
if (selVariable != null && selVariable.getDataType() != null
|
||||||
case INPUT:
|
&& selVariable.getDataType().compareTo(DataType.SYSTEM) != 0) {
|
||||||
code.add(" inputvariables.add(\"" + selVariable.getName() + "\");");
|
switch (selVariable.getIoType()) {
|
||||||
break;
|
case INPUT:
|
||||||
case OUTPUT:
|
code.add(" inputvariables.add(\"" + selVariable.getName() + "\");");
|
||||||
code.add(" outputvariables.add(\"" + selVariable.getName() + "\");");
|
break;
|
||||||
break;
|
case OUTPUT:
|
||||||
default:
|
code.add(" outputvariables.add(\"" + selVariable.getName() + "\");");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue