Skip to content

Commit 3d26abe

Browse files
author
Evgenii Grigorev
committed
Update ExecutionEngineImpl to utilise data from inputContext
1 parent 3e52659 commit 3d26abe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

s-pipes-core/src/main/java/cz/cvut/spipes/engine/ExecutionEngineImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public ExecutionContext executePipeline(final Module module, final ExecutionCont
2626
log.info("Executing script {} with context {}.", module.getResource(), inputContext.toSimpleString());
2727
final long pipelineExecutionId = Instant.now().toEpochMilli()*1000+(i++);
2828

29-
String functionName = module.getFunctionName();
30-
String scriptPath = module.getScriptPath();
29+
String functionName = inputContext.getId();
30+
String scriptPath = inputContext.getScriptFile().toString();
3131
String script = module.getResource().toString().replaceAll("\\/[^.]*$", "");
3232
fire((l) -> {l.pipelineExecutionStarted(pipelineExecutionId, functionName, scriptPath, script); return null;});
3333
try {

0 commit comments

Comments
 (0)