/** * This method will trigger the flow in an Async matter. * * @param compilationArtifact the artifact to trigger * @param inputs : flow inputs * @return executionId */ @Override public Long trigger(CompilationArtifact compilationArtifact, Map<String, Value> inputs, Set<SystemProperty> systemProperties) { return slang.run(compilationArtifact, inputs, systemProperties); }
slang.subscribeOnEvents(finishListener, FINISHED_EVENTS); long executionId = slang.run(compilationArtifact, userInputs, systemProperties);
String flowName = testCase.getTestFlowPath(); Long executionId = slang.run(compilationArtifact, inputs, systemProperties);
slang.subscribeOnEvents(testsEventListener, createListenerEventTypesSet()); Long executionId = slang.run(compilationArtifact, inputs, systemProperties);