Class EnvironmentFeignService
java.lang.Object
org.qubership.atp.itf.lite.backend.feign.service.EnvironmentFeignService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevictEnvironmentSystemsCacheByEnvironmentId(UUID environmentId) getEnvironmentSystems(UUID environmentId) Gets list of environment's systems.
-
Constructor Details
-
EnvironmentFeignService
public EnvironmentFeignService()
-
-
Method Details
-
getEnvironmentSystems
@Cacheable(value="ATP_ITF_LITE_ENVIRONMENT_SYSTEMS", key="#environmentId", condition="#environmentId != null", sync=true) public List<System> getEnvironmentSystems(UUID environmentId) Gets list of environment's systems.- Parameters:
environmentId- environment id- Returns:
- response with list of environment's systems
-
evictEnvironmentSystemsCacheByEnvironmentId
@CacheEvict(value="ATP_ITF_LITE_ENVIRONMENT_SYSTEMS", key="#environmentId") public void evictEnvironmentSystemsCacheByEnvironmentId(UUID environmentId)
-