Class MiaServiceController
java.lang.Object
org.qubership.atp.mia.controllers.MiaServiceController
- All Implemented Interfaces:
MiaServiceControllerApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String> GET /rest/dbSize Get DB size.org.springframework.http.ResponseEntity<Boolean> getTimeShifting(UUID projectId, String systemId) GET /rest/timeShifting/check : getTimeShiftingorg.springframework.http.ResponseEntity<Boolean> updateTimeShifting(UUID projectId, UUID systemId, Boolean value) POST /rest/timeShifting/update : updateTimeShifting
-
Constructor Details
-
MiaServiceController
public MiaServiceController()
-
-
Method Details
-
dbSize
@PreAuthorize("@entityAccess.checkAccess(#projectId, \'READ\')") public org.springframework.http.ResponseEntity<String> dbSize(UUID projectId) Description copied from interface:MiaServiceControllerApiGET /rest/dbSize Get DB size.- Specified by:
dbSizein interfaceMiaServiceControllerApi- Parameters:
projectId- projectId (required)- Returns:
- OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
getTimeShifting
@PreAuthorize("@entityAccess.checkAccess(#projectId, \'READ\')") public org.springframework.http.ResponseEntity<Boolean> getTimeShifting(UUID projectId, String systemId) Description copied from interface:MiaServiceControllerApiGET /rest/timeShifting/check : getTimeShifting- Specified by:
getTimeShiftingin interfaceMiaServiceControllerApi- Parameters:
projectId- projectId (required)systemId- systemId (required)- Returns:
- OK (status code 200) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-
updateTimeShifting
@PreAuthorize("@entityAccess.checkAccess(#projectId, \"EXECUTE\")") public org.springframework.http.ResponseEntity<Boolean> updateTimeShifting(UUID projectId, UUID systemId, Boolean value) Description copied from interface:MiaServiceControllerApiPOST /rest/timeShifting/update : updateTimeShifting- Specified by:
updateTimeShiftingin interfaceMiaServiceControllerApi- Parameters:
projectId- projectId (required)systemId- systemId (required)value- value (required)- Returns:
- OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
-