Class MiaCacheController
java.lang.Object
org.qubership.atp.mia.controllers.MiaCacheController
- All Implemented Interfaces:
MiaCacheControllerApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Boolean> resetConfigurationCache(UUID projectId) POST /rest/resetConfigurationCache : Reset mia configuration cacheorg.springframework.http.ResponseEntity<Boolean> resetDbCache(UUID projectId, String env) POST /rest/flow/resetCache : Reset DB Cache for Projectorg.springframework.http.ResponseEntity<Boolean> resetEnvironmentCaches(UUID projectId) POST /rest/resetEnvCaches : Reset mia environment Cachesorg.springframework.http.ResponseEntity<Boolean> resetPoolCache(UUID projectId) POST /rest/resetPoolCache : Reset mia poolcache
-
Constructor Details
-
MiaCacheController
public MiaCacheController()
-
-
Method Details
-
resetDbCache
@PreAuthorize("@entityAccess.checkAccess(#projectId, \"EXECUTE\")") public org.springframework.http.ResponseEntity<Boolean> resetDbCache(UUID projectId, String env) Description copied from interface:MiaCacheControllerApiPOST /rest/flow/resetCache : Reset DB Cache for Project- Specified by:
resetDbCachein interfaceMiaCacheControllerApi- Parameters:
projectId- projectId (required)env- environmentName (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)
-
resetEnvironmentCaches
@PreAuthorize("@entityAccess.checkAccess(#projectId, \"EXECUTE\")") public org.springframework.http.ResponseEntity<Boolean> resetEnvironmentCaches(UUID projectId) Description copied from interface:MiaCacheControllerApiPOST /rest/resetEnvCaches : Reset mia environment Caches- Specified by:
resetEnvironmentCachesin interfaceMiaCacheControllerApi- 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)
-
resetPoolCache
@PreAuthorize("@entityAccess.checkAccess(#projectId, \"EXECUTE\")") public org.springframework.http.ResponseEntity<Boolean> resetPoolCache(UUID projectId) Description copied from interface:MiaCacheControllerApiPOST /rest/resetPoolCache : Reset mia poolcache- Specified by:
resetPoolCachein interfaceMiaCacheControllerApi- 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)
-
resetConfigurationCache
@PreAuthorize("@entityAccess.checkAccess(#projectId, \"EXECUTE\")") public org.springframework.http.ResponseEntity<Boolean> resetConfigurationCache(UUID projectId) Description copied from interface:MiaCacheControllerApiPOST /rest/resetConfigurationCache : Reset mia configuration cache- Specified by:
resetConfigurationCachein interfaceMiaCacheControllerApi- 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)
-