Class ExecutionController<S extends Solution<S,I>, I extends Instance>

java.lang.Object
es.urjc.etsii.grafo.autoconfig.controller.ExecutionController<S,I>
Type Parameters:
S - Solution class
I - Instance class

@RestController public class ExecutionController<S extends Solution<S,I>, I extends Instance> extends Object
API endpoints related to experiment and run execution. Currently, used for IRACE integration using the middleware.sh
  • Constructor Details

    • ExecutionController

      public ExecutionController(IraceOrchestrator<S,I> orquestrator)
      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