java.lang.Object
es.urjc.etsii.grafo.autoconfig.controller.ExecutionController<S,I>
- Type Parameters:
S- Solution classI- Instance class
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionController(IraceOrchestrator<S, I> orquestrator) Create a new execution controller -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<ExecuteResponse>> batchExecute(MultiExecuteRequest request) Execute and return the results for the given IRACE configurationorg.springframework.http.ResponseEntity<String> execute(SingleExecuteRequest request) Execute and return the results for the given IRACE configuration
-
Constructor Details
-
ExecutionController
Create a new execution controller- Parameters:
orquestrator- Irace orquestrator
-
-
Method Details
-
execute
@PostMapping("/execute") public org.springframework.http.ResponseEntity<String> execute(@RequestBody SingleExecuteRequest request) Execute and return the results for the given IRACE configuration- Parameters:
request- integration key and run configuration- Returns:
- run result
-
batchExecute
@PostMapping("/batchExecute") public org.springframework.http.ResponseEntity<List<ExecuteResponse>> batchExecute(@RequestBody MultiExecuteRequest request) Execute and return the results for the given IRACE configuration- Parameters:
request- integration key and run configuration- Returns:
- run result
-