Klasse StorageManagerConfiguration

java.lang.Object
de.dlr.proseo.storagemgr.StorageManagerConfiguration

@Configuration @ConfigurationProperties(prefix="proseo") @EntityScan(basePackages="de.dlr.proseo.model") public class StorageManagerConfiguration extends Object
Configuration class for the prosEO Ingestor component
Autor:
Hubert Asamer
  • Felddetails

    • mountedDefaultStorageType

      String mountedDefaultStorageType
      Mounted default storage type to change it with storage set property
  • Konstruktordetails

    • StorageManagerConfiguration

      public StorageManagerConfiguration()
  • Methodendetails

    • getConfiguration

      public static StorageManagerConfiguration getConfiguration()
      Gets the singleton object for this class
      Gibt zurück:
      the singleton StorageManagerConfiguration
    • getDefaultStorageType

      public String getDefaultStorageType()
      Gibt zurück:
      the defaultStorageType from config file or mounted storage type
    • setDefaultStorageType

      public void setDefaultStorageType(String storageType)
      Sets the singleton object for this class
      Parameter:
      the - default storage type
    • getStorageManagerSecret

      public byte[] getStorageManagerSecret()
      Gets the shared secret for generating Storage Manager download tokens as 256-bit byte array
      Gibt zurück:
      the Storage Manager secret
    • getFileCheckMaxCycles

      public Long getFileCheckMaxCycles()
      Gibt zurück:
      the fileCheckMaxCycles
    • getFileCheckWaitTime

      public Long getFileCheckWaitTime()
      Gibt zurück:
      the fileCheckWaitTime
    • getMaxRequestAttempts

      public int getMaxRequestAttempts()
      Gibt zurück:
      the maxRequestAttempts
    • getPosixCachePath

      public String getPosixCachePath()
      Gets the absolute path to the POSIX file cache
      Gibt zurück:
      the POSIX cache path
    • getDefaultSourcePath

      public String getDefaultSourcePath()
      Gets the absolute path to the default upload source path (always POSIX)
      Gibt zurück:
      the default upload source path
    • getPosixBackendPath

      public String getPosixBackendPath()
      Gets the absolute path to the POSIX backend storage (if used)
      Gibt zurück:
      the POSIX backend storage path
    • getS3DefaultBucket

      public String getS3DefaultBucket()
      Gibt zurück:
      the s3DefaultBucket
    • getStorageIdPrefix

      public String getStorageIdPrefix()
      Gibt zurück:
      the storageIdPrefix
    • getS3Region

      public String getS3Region()
      Gibt zurück:
      the s3Region
    • getJoborderPrefix

      public String getJoborderPrefix()
      Gibt zurück:
      the joborderPrefix
    • getJoborderBucket

      public String getJoborderBucket()
      Gibt zurück:
      the joborderBucket
    • getS3MaxNumberOfBuckets

      public int getS3MaxNumberOfBuckets()
      Gibt zurück:
      the s3MaxNumberOfBuckets
    • getS3AccessKey

      public String getS3AccessKey()
      Gibt zurück:
      the s3AccessKey
    • getS3SecretAccessKey

      public String getS3SecretAccessKey()
      Gibt zurück:
      the s3SecretAccessKey
    • getS3EndPoint

      public String getS3EndPoint()
      Gibt zurück:
      the s3EndPoint
    • getS3DefaultEndPoint

      public String getS3DefaultEndPoint()
      Gibt zurück:
      the s3DefaultEndPoint
    • getExpectedCacheUsage

      public Integer getExpectedCacheUsage()
      Gibt zurück:
      the expected cache usage
    • getMaximumCacheUsage

      public Integer getMaximumCacheUsage()
      Gibt zurück:
      the maximum cache usage