Class EnvironmentFeignService

java.lang.Object
org.qubership.atp.itf.lite.backend.feign.service.EnvironmentFeignService

@Service public class EnvironmentFeignService extends Object
  • 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)