Class ScenarioExecutionEngineAsync

java.lang.Object
fr.enedis.chutney.server.core.domain.execution.ScenarioExecutionEngineAsync

public class ScenarioExecutionEngineAsync extends Object
  • Constructor Details

  • Method Details

    • execute

      public Long execute(ExecutionRequest executionRequest)
      Execute a test case with ExecutionEngine and store StepExecutionReport.
      Parameters:
      executionRequest - with the test case to execute and the environment chosen
      Returns:
      execution id.
    • followExecution

      public io.reactivex.rxjava3.core.Observable<ScenarioExecutionReport> followExecution(String scenarioId, Long executionId)
    • stop

      public void stop(String scenarioId, Long executionId)
    • pause

      public void pause(String scenarioId, Long executionId)
    • resume

      public void resume(String scenarioId, Long executionId)
    • setRetentionDelaySeconds

      public void setRetentionDelaySeconds(long retentionDelaySeconds)
    • setDebounceMilliSeconds

      public void setDebounceMilliSeconds(long debounceMilliSeconds)
    • saveNotExecutedScenarioExecution

      public ExecutionHistory.Execution saveNotExecutedScenarioExecution(ExecutionRequest executionRequest)