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@167757 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d51d7686fc
commit
c336d5d8d2
|
@ -256,10 +256,15 @@ public class AlgorithmGenerator {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code.add("");
|
||||||
|
|
||||||
|
for (GlobalVariables globalVariable : project.getInputData().getListGlobalVariables()) {
|
||||||
|
code.add(" inputvariables.add(\"" + globalVariable.getName() + "\");");
|
||||||
|
}
|
||||||
|
|
||||||
for (InputOutputVariables selVariable : project.getInputData().getListInputOutputVariables()) {
|
for (InputOutputVariables selVariable : project.getInputData().getListInputOutputVariables()) {
|
||||||
if (selVariable != null && selVariable.getDataType() != null
|
if (selVariable != null && selVariable.getDataType() != null) {
|
||||||
&& selVariable.getDataType().compareTo(DataType.SYSTEM) != 0) {
|
|
||||||
switch (selVariable.getIoType()) {
|
switch (selVariable.getIoType()) {
|
||||||
case INPUT:
|
case INPUT:
|
||||||
code.add(" inputvariables.add(\"" + selVariable.getName() + "\");");
|
code.add(" inputvariables.add(\"" + selVariable.getName() + "\");");
|
||||||
|
|
Loading…
Reference in New Issue