Class MiaServiceController

java.lang.Object
org.qubership.atp.mia.controllers.MiaServiceController
All Implemented Interfaces:
MiaServiceControllerApi

@RestController public class MiaServiceController extends Object implements MiaServiceControllerApi
  • 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: MiaServiceControllerApi
      GET /rest/dbSize Get DB size.
      Specified by:
      dbSize in interface MiaServiceControllerApi
      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: MiaServiceControllerApi
      GET /rest/timeShifting/check : getTimeShifting
      Specified by:
      getTimeShifting in interface MiaServiceControllerApi
      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: MiaServiceControllerApi
      POST /rest/timeShifting/update : updateTimeShifting
      Specified by:
      updateTimeShifting in interface MiaServiceControllerApi
      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)