com.bloomscorp.aster.configuration.AsterConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bmx-aster Show documentation
Show all versions of bmx-aster Show documentation
Base package with managed dependencies for a single vendor e-commerce platform.
This is an opinionated version of Spring Boot configuration with added as-is dependency configurations.
package com.bloomscorp.aster.configuration;
import com.bloomscorp.nverse.sanitizer.HttpRequestDumpSanitizer;
import com.bloomscorp.raintree.RainTree;
import org.apache.tika.Tika;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class AsterConfiguration {
@Bean
@ConditionalOnMissingBean
public RainTree rainTree() {
return new RainTree();
}
@Bean
@ConditionalOnMissingBean
public HttpRequestDumpSanitizer httpRequestDumpSanitizer() {
return new HttpRequestDumpSanitizer();
}
@Bean
@ConditionalOnMissingBean
public Tika tika() {
return new Tika();
}
}