Package de.dlr.proseo.storagemgr
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
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibung(Package privat) String
Mounted default storage type to change it with storage set property -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic StorageManagerConfiguration
Gets the singleton object for this classGets the absolute path to the default upload source path (always POSIX)int
Gets the absolute path to the POSIX backend storage (if used)Gets the absolute path to the POSIX file cacheint
byte[]
Gets the shared secret for generating Storage Manager download tokens as 256-bit byte arrayvoid
setDefaultStorageType
(String storageType) Sets the singleton object for this class
-
Felddetails
-
mountedDefaultStorageType
String mountedDefaultStorageTypeMounted default storage type to change it with storage set property
-
-
Konstruktordetails
-
StorageManagerConfiguration
public StorageManagerConfiguration()
-
-
Methodendetails
-
getConfiguration
Gets the singleton object for this class- Gibt zurück:
- the singleton StorageManagerConfiguration
-
getDefaultStorageType
- Gibt zurück:
- the defaultStorageType from config file or mounted storage type
-
setDefaultStorageType
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
- Gibt zurück:
- the fileCheckMaxCycles
-
getFileCheckWaitTime
- Gibt zurück:
- the fileCheckWaitTime
-
getMaxRequestAttempts
public int getMaxRequestAttempts()- Gibt zurück:
- the maxRequestAttempts
-
getPosixCachePath
Gets the absolute path to the POSIX file cache- Gibt zurück:
- the POSIX cache path
-
getDefaultSourcePath
Gets the absolute path to the default upload source path (always POSIX)- Gibt zurück:
- the default upload source path
-
getPosixBackendPath
Gets the absolute path to the POSIX backend storage (if used)- Gibt zurück:
- the POSIX backend storage path
-
getS3DefaultBucket
- Gibt zurück:
- the s3DefaultBucket
-
getStorageIdPrefix
- Gibt zurück:
- the storageIdPrefix
-
getS3Region
- Gibt zurück:
- the s3Region
-
getJoborderPrefix
- Gibt zurück:
- the joborderPrefix
-
getJoborderBucket
- Gibt zurück:
- the joborderBucket
-
getS3MaxNumberOfBuckets
public int getS3MaxNumberOfBuckets()- Gibt zurück:
- the s3MaxNumberOfBuckets
-
getS3AccessKey
- Gibt zurück:
- the s3AccessKey
-
getS3SecretAccessKey
- Gibt zurück:
- the s3SecretAccessKey
-
getS3EndPoint
- Gibt zurück:
- the s3EndPoint
-
getS3DefaultEndPoint
- Gibt zurück:
- the s3DefaultEndPoint
-
getExpectedCacheUsage
- Gibt zurück:
- the expected cache usage
-
getMaximumCacheUsage
- Gibt zurück:
- the maximum cache usage
-