Class ComponentExecutionUiController
- java.lang.Object
-
- com.chutneytesting.component.execution.api.ComponentExecutionUiController
-
@CrossOrigin(origins="*") @RestController public class ComponentExecutionUiController extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScenarioExecutionReportexecute(ExecutableComposedStep composedStep, String environment, String userId)StringexecuteComponent(String componentId, String env)StringexecuteScenario(String scenarioId, String env)
-
-
-
Method Detail
-
executeComponent
@PreAuthorize("hasAuthority(\'COMPONENT_WRITE\')") @PostMapping(path="/api/ui/componentstep/execution/v1/{componentId}/{env}") public String executeComponent(@PathVariable("componentId") String componentId, @PathVariable("env") String env) throws IOException- Throws:
IOException
-
executeScenario
@PreAuthorize("hasAuthority(\'SCENARIO_EXECUTE\')") @PostMapping(path="/api/ui/component/execution/v1/{scenarioId}/{env}") public String executeScenario(@PathVariable("scenarioId") String scenarioId, @PathVariable("env") String env) throws IOException- Throws:
IOException
-
execute
public ScenarioExecutionReport execute(ExecutableComposedStep composedStep, String environment, String userId) throws ScenarioNotFoundException, ScenarioNotParsableException
-
-