Class MiaExecutionController

java.lang.Object
org.qubership.atp.mia.controllers.MiaExecutionController

@RequestMapping("/rest") @RestController public class MiaExecutionController extends Object
IMPORTANT!!! The first parameter in the request must be projectId, the second must be env, the third must be ExecutionRequest.
  • Constructor Details

    • MiaExecutionController

      public MiaExecutionController()
  • Method Details

    • executeCompound

      @PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).COMPOUND.getName(),#projectId, \'EXECUTE\')") @PostMapping("/flow/execute/compound") public org.springframework.http.ResponseEntity<LinkedList<ExecutionResponse>> executeCompound(@RequestParam("projectId") UUID projectId, @RequestParam("env") String env, @RequestBody ExecutionRequest request)
      Executes compound.
    • executeCurrentStatement

      @PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(),#projectId, \"EXECUTE\")") @PostMapping("/flow/execute/current/statement") public org.springframework.http.ResponseEntity<List<SqlResponse>> executeCurrentStatement(@RequestParam("projectId") UUID projectId, @RequestParam("env") String env, @RequestBody ExecutionRequest request)
      Executes current statement queries.
    • executeProcess

      @PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(),#projectId, \'EXECUTE\')") @PostMapping("/flow/execute/process") public org.springframework.http.ResponseEntity<ExecutionResponse> executeProcess(@RequestParam("projectId") UUID projectId, @RequestParam("env") String env, @RequestBody ExecutionRequest request)
      Executes process.
    • getNextBillDate

      @PreAuthorize("@entityAccess.checkAccess(T(org.qubership.atp.mia.model.UserManagementEntities).PROCESS.getName(),#projectId, \"EXECUTE\")") @PostMapping("/flow/calculateNextBillDate") public String getNextBillDate(@RequestParam("projectId") UUID projectId, @RequestParam("env") String env, @RequestBody ExecutionRequest request)
      Get NextBillDate.