Class CatalogueService

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

@Service public class CatalogueService extends Object
  • Constructor Details

    • CatalogueService

      public CatalogueService()
  • Method Details

    • execute

      public List<UUID> execute(String authorization, ExecuteRequestDto executeRequestDto)
      Execute request in catalogue service.
    • getCertificate

      @Cacheable(value="ATP_ITF_LITE_PROJECT_CERT", key="#projectId", condition="#projectId != null", sync=true) public org.springframework.http.ResponseEntity<CertificateDto> getCertificate(UUID projectId)
      Gets certificate from project.
      Parameters:
      projectId - project id
      Returns:
      response with certificate or null if any exception happened
    • evictProjectCertificateCacheByProjectId

      @CacheEvict(value="ATP_ITF_LITE_PROJECT_CERT", key="#projectId") public void evictProjectCertificateCacheByProjectId(UUID projectId)
    • downloadFile

      public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadFile(String fileId)