Class ComponentExecutionUiController
java.lang.Object
com.chutneytesting.component.execution.api.ComponentExecutionUiController
@CrossOrigin(origins="*")
@RestController
public class ComponentExecutionUiController
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionexecute(ExecutableComposedStep composedStep, String environment, String userId) executeComponent(String componentId, String env) executeScenario(String scenarioId, String env)
-
Method Details
-
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
-