added progress status data on publishToGraphDB workflow node ui
This commit is contained in:
parent
813c8dcacf
commit
e748d3d802
|
@ -28,6 +28,8 @@ import eu.dnetlib.enabling.resultset.client.ResultSetClient;
|
|||
import eu.dnetlib.msro.workflows.graph.Arc;
|
||||
import eu.dnetlib.msro.workflows.nodes.AsyncJobNode;
|
||||
import eu.dnetlib.msro.workflows.procs.Env;
|
||||
import eu.dnetlib.msro.workflows.procs.Token;
|
||||
import eu.dnetlib.msro.workflows.util.ResultsetProgressProvider;
|
||||
import eu.dnetlib.msro.workflows.util.WorkflowsConstants;
|
||||
import eu.dnetlib.rmi.common.ResultSet;
|
||||
import eu.dnetlib.rmi.manager.MSROException;
|
||||
|
@ -215,4 +217,9 @@ public class PublishGraphDBJobNode extends AsyncJobNode {
|
|||
this.datasourceInterface = datasourceInterface;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void beforeStart(Token token) {
|
||||
token.setProgressProvider(new ResultsetProgressProvider(token.getEnv().getAttribute(getEprParam(), ResultSet.class), this.resultSetClient));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue