Class SessionController
java.lang.Object
org.qubership.integration.platform.sessions.controller.SessionController
-
Constructor Summary
ConstructorsConstructorDescriptionSessionController(SessionService sessionService, CatalogInternalService catalogInternalService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> deleteAllByChainId(String chainId) org.springframework.http.ResponseEntity<Void> deleteAllByChainIds(List<String> chainIds) org.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<Void> deleteById(String sessionId) org.springframework.http.ResponseEntity<Void> deleteByIds(List<String> sessionIds) org.springframework.http.ResponseEntity<SessionSearchResponse> findAllByFilter(int offset, int count, String sortColumn, FilterRequestAndSearchDTO filterRequest) org.springframework.http.ResponseEntity<Session> findByExternalId(String externalSessionId, boolean includeDetails) org.springframework.http.ResponseEntity<SessionSearchResponse> findByFilter(String chainId, int offset, int count, String sortColumn, FilterRequestAndSearchDTO filterRequest) org.springframework.http.ResponseEntity<Session> org.springframework.http.ResponseEntity<Session> findExistingSession(String sessionId) org.springframework.http.ResponseEntity<SessionElement> getElementPayloadById(String sessionId, String elementId)
-
Constructor Details
-
SessionController
@Autowired public SessionController(SessionService sessionService, CatalogInternalService catalogInternalService)
-
-
Method Details
-
findByExternalId
-
findById
-
findExistingSession
-
findAllByFilter
@PostMapping public org.springframework.http.ResponseEntity<SessionSearchResponse> findAllByFilter(@RequestParam(required=false,defaultValue="0") int offset, @RequestParam(required=false,defaultValue="20") int count, @RequestParam(required=false,defaultValue="sessionStarted") String sortColumn, @RequestBody FilterRequestAndSearchDTO filterRequest) -
findByFilter
@PostMapping("/chains/{chainId}") public org.springframework.http.ResponseEntity<SessionSearchResponse> findByFilter(@PathVariable @Nullable String chainId, @RequestParam(required=false,defaultValue="0") int offset, @RequestParam(required=false,defaultValue="20") int count, @RequestParam(required=false,defaultValue="sessionStarted") String sortColumn, @RequestBody FilterRequestAndSearchDTO filterRequest) -
getElementPayloadById
@GetMapping("/{sessionId}/{elementId}") public org.springframework.http.ResponseEntity<SessionElement> getElementPayloadById(@PathVariable String sessionId, @PathVariable String elementId) -
deleteById
-
deleteAllByChainId
-
deleteByIds
-
deleteAllByChainIds
-
deleteAllSessions
-