ref 16155: Enact DM Model Executor to automatically run a dataminer algorithm

https://support.d4science.org/issues/16155

Added automatic run

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/data-miner-executor@178580 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-03-14 11:30:39 +00:00
parent 5ac7dc2039
commit 1aeed1739b
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@
<dependent-module archiveName="data-miner-manager-cl-1.6.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/data-miner-manager-cl/data-miner-manager-cl">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="openlayer-basic-widgets-1.3.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/openlayer-basic-widgets/openlayer-basic-widgets">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/data-miner-manager/target/data-miner-executor-1.0.0-SNAPSHOT/WEB-INF/classes"/>
<property name="context-root" value="data-miner-executor"/>
</wb-module>

View File

@ -147,6 +147,9 @@ public class DataMinerExecutorServiceImpl extends RemoteServiceServlet implement
case RUN:
invocationAction=InvocationAction.RUN;
break;
case SHOW:
invocationAction=InvocationAction.SHOW;
break;
default:
invocationAction=InvocationAction.SHOW;
break;