All Known Implementing Classes:
MockArchiveService

public interface ArchiveService
Service that manages archive storage URIs for tenant nodes.
Author:
freva, andreer
  • Method Details

    • createArchiveBucketFor

      VespaManagedArchiveBucket createArchiveBucketFor(com.yahoo.config.provision.zone.ZoneId zoneId)
    • updatePolicies

      void updatePolicies(com.yahoo.config.provision.zone.ZoneId zoneId, Set<VespaManagedArchiveBucket> buckets, Map<com.yahoo.config.provision.TenantName,ArchiveAccess> authorizeAccessByTenantName)
    • canAddTenantToBucket

      boolean canAddTenantToBucket(com.yahoo.config.provision.zone.ZoneId zoneId, VespaManagedArchiveBucket bucket)
    • findEnclaveArchiveBucket

      Optional<String> findEnclaveArchiveBucket(com.yahoo.config.provision.zone.ZoneId zoneId, com.yahoo.config.provision.CloudAccount cloudAccount)
    • bucketURI

      URI bucketURI(com.yahoo.config.provision.zone.ZoneId zoneId, String bucketName)
    • getEnclaveTemplateVersion

      Optional<com.yahoo.component.Version> getEnclaveTemplateVersion(com.yahoo.config.provision.CloudAccount cloudAccount)
      Returns:
      the version of the template that was used during the last apply for the given cloud account, or Version.emptyVersion if the version tag was not present or invalid, or Optional.empty() if the we have no access to the cloud account (template probably not applied yet)
    • parseVersion

      static Stream<com.yahoo.component.Version> parseVersion(String versionString)