Class CheckpointSessionController
java.lang.Object
org.qubership.integration.platform.engine.rest.v1.controller.CheckpointSessionController
@RestController
@RequestMapping(value="/v1/engine/chains/{chainId}",
produces="application/json")
@CrossOrigin(origins="*")
public class CheckpointSessionController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionCheckpointSessionController(CheckpointSessionService checkpointSessionService, SessionInfoMapper sessionInfoMapper) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<List<CheckpointSessionDTO>> getFailedChainSessionsInfo(String chainId) org.springframework.http.ResponseEntity<Void> retryFromCheckpoint(String chainId, String sessionId, String checkpointElementId, String authorization, boolean traceMe, String body) org.springframework.http.ResponseEntity<Void> retryFromLastCheckpoint(String chainId, String sessionId, String authorization, boolean traceMe, String body)
-
Constructor Details
-
CheckpointSessionController
@Autowired public CheckpointSessionController(CheckpointSessionService checkpointSessionService, SessionInfoMapper sessionInfoMapper)
-
-
Method Details
-
retryFromLastCheckpoint
@PostMapping("/sessions/{sessionId}/retry") public org.springframework.http.ResponseEntity<Void> retryFromLastCheckpoint(@PathVariable String chainId, @PathVariable String sessionId, @RequestHeader(required=false,defaultValue="") String authorization, @RequestHeader(required=false,defaultValue="false") boolean traceMe, @RequestBody(required=false) String body) -
retryFromCheckpoint
@PostMapping("/sessions/{sessionId}/checkpoint-elements/{checkpointElementId}/retry") public org.springframework.http.ResponseEntity<Void> retryFromCheckpoint(@PathVariable String chainId, @PathVariable String sessionId, @PathVariable String checkpointElementId, @RequestHeader(required=false,defaultValue="") String authorization, @RequestHeader(required=false,defaultValue="false") boolean traceMe, @RequestBody(required=false) String body) -
getFailedChainSessionsInfo
@Transactional("checkpointTransactionManager") @GetMapping("/sessions/failed") public org.springframework.http.ResponseEntity<List<CheckpointSessionDTO>> getFailedChainSessionsInfo(@PathVariable String chainId)
-