@Configuration @EnableConfigurationProperties(S3TogglzProperties.class) @ConditionalOnProperty(name="edison.aws.s3.togglz.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnClass(name="org.togglz.core.repository.StateRepository") public class S3TogglzConfiguration extends java.lang.Object
| Constructor | Description |
|---|---|
S3TogglzConfiguration() |
| Modifier and Type | Method | Description |
|---|---|---|
org.togglz.core.repository.StateRepository |
stateRepository(S3TogglzProperties s3TogglzProperties,
software.amazon.awssdk.services.s3.S3Client s3Client) |
@Bean @ConditionalOnProperty(name="edison.aws.s3.togglz.bucket-name") public org.togglz.core.repository.StateRepository stateRepository(S3TogglzProperties s3TogglzProperties, software.amazon.awssdk.services.s3.S3Client s3Client)