Class ArtifactStoreConfiguration
- java.lang.Object
-
- com.netflix.spinnaker.kork.artifacts.artifactstore.ArtifactStoreConfiguration
-
@Configuration @EnableConfigurationProperties(ArtifactStoreConfigurationProperties.class) @Import(S3ArtifactStoreConfiguration.class) public class ArtifactStoreConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ArtifactStoreConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMapperartifactObjectMapper()this is strictly used due to Spring and Jackson not behaving nicely together.ArtifactStoreartifactStore(ArtifactStoreGetter artifactStoreGetter, ArtifactStoreStorer artifactStoreStorer)ArtifactStoreGetterartifactStoreGetter()ArtifactStoreStorerartifactStoreStorer()ArtifactStoreURIBuilderartifactStoreURIBuilder()
-
-
-
Method Detail
-
artifactObjectMapper
@Bean public com.fasterxml.jackson.databind.ObjectMapper artifactObjectMapper()
this is strictly used due to Spring and Jackson not behaving nicely together. Unfortunately, @JsonDeserializer will construct its own deserializer utilizing beans and thus not using the object mapper we want to use
-
artifactStoreURIBuilder
@Bean public ArtifactStoreURIBuilder artifactStoreURIBuilder()
-
artifactStoreGetter
@ConditionalOnMissingBean(ArtifactStoreGetter.class) @Bean public ArtifactStoreGetter artifactStoreGetter()
-
artifactStoreStorer
@ConditionalOnMissingBean(ArtifactStoreStorer.class) @Bean public ArtifactStoreStorer artifactStoreStorer()
-
artifactStore
@Bean public ArtifactStore artifactStore(ArtifactStoreGetter artifactStoreGetter, ArtifactStoreStorer artifactStoreStorer)
-
-