Class ArtifactStoreConfiguration
java.lang.Object
com.netflix.spinnaker.kork.artifacts.artifactstore.ArtifactStoreConfiguration
@Configuration
@EnableConfigurationProperties(ArtifactStoreConfigurationProperties.class)
@Import(S3ArtifactStoreConfiguration.class)
public class ArtifactStoreConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapperthis is strictly used due to Spring and Jackson not behaving nicely together.artifactStore(ArtifactStoreGetter artifactStoreGetter, ArtifactStoreStorer artifactStoreStorer)
-
Constructor Details
-
ArtifactStoreConfiguration
public ArtifactStoreConfiguration()
-
-
Method Details
-
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
-
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)
-