Class StoreConfiguration
-
- All Implemented Interfaces:
@Configuration()@EnableConfigurationProperties(value = {StoreProperties.class}) public final class StoreConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStoreConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static StoreConfiguration.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description StoreConfiguration()
-
Method Summary
Modifier and Type Method Description final ObjectStoreobjectStore(List<String> bucketNames, BucketStore bucketStore, ObjectMapper objectMapper)final BucketStorebucketStore(StoreProperties properties, File rootFolder, List<String> bucketNames, ObjectMapper objectMapper, @Value(value = "${com.adobe.testing.s3mock.store.region}") String region)final List<String>bucketNames(File rootFolder)final MultipartStoremultipartStore(ObjectStore objectStore, ObjectMapper objectMapper)final KmsKeyStorekmsKeyStore(StoreProperties properties)final FilerootFolder(StoreProperties properties)final StoreCleanerstoreCleaner(File rootFolder, StoreProperties properties)-
-
Method Detail
-
objectStore
@Bean() final ObjectStore objectStore(List<String> bucketNames, BucketStore bucketStore, ObjectMapper objectMapper)
-
bucketStore
@Bean() final BucketStore bucketStore(StoreProperties properties, File rootFolder, List<String> bucketNames, ObjectMapper objectMapper, @Value(value = "${com.adobe.testing.s3mock.store.region}") String region)
-
bucketNames
@Bean() final List<String> bucketNames(File rootFolder)
-
multipartStore
@Bean() final MultipartStore multipartStore(ObjectStore objectStore, ObjectMapper objectMapper)
-
kmsKeyStore
@Bean() final KmsKeyStore kmsKeyStore(StoreProperties properties)
-
rootFolder
@Bean() final File rootFolder(StoreProperties properties)
-
storeCleaner
@Bean() final StoreCleaner storeCleaner(File rootFolder, StoreProperties properties)
-
-
-
-