Class HistoryController
java.lang.Object
org.qubership.atp.itf.lite.backend.controllers.HistoryController
@RestController
@RequestMapping("/atp-itf-lite/api/v1/history")
public class HistoryController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBinaryFileHistory(UUID fileId, UUID projectId, javax.servlet.http.HttpServletResponse response) org.springframework.http.ResponseEntity<HistoryRequestDetailsResponse> getExecutionHistoryDetails(UUID historyItemId, TransportType type, UUID projectId) org.springframework.http.ResponseEntity<PaginatedResponse<RequestExecution>> getExecutionsHistory(HistorySearchRequest request) getExecutorsInRequestExecutionHistory(UUID projectId)
-
Constructor Details
-
HistoryController
public HistoryController()
-
-
Method Details
-
getExecutionsHistory
@PreAuthorize("@entityAccess.checkAccess(#request.getProjectId(),\'READ\')") @PostMapping public org.springframework.http.ResponseEntity<PaginatedResponse<RequestExecution>> getExecutionsHistory(@RequestBody HistorySearchRequest request) -
getExecutionHistoryDetails
@PreAuthorize("@entityAccess.checkAccess(#projectId,\'READ\')") @GetMapping("/{id}") public org.springframework.http.ResponseEntity<HistoryRequestDetailsResponse> getExecutionHistoryDetails(@PathVariable("id") UUID historyItemId, @RequestParam TransportType type, @RequestParam UUID projectId) -
getBinaryFileHistory
@PreAuthorize("@entityAccess.checkAccess(#projectId,\'READ\')") @GetMapping("/file/{id}") public void getBinaryFileHistory(@PathVariable("id") UUID fileId, @RequestHeader("X-Project-Id") UUID projectId, javax.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
getExecutorsInRequestExecutionHistory
-