All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bloomscorp.aster.configuration.AsterConfiguration Maven / Gradle / Ivy

Go to download

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.

The newest version!
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();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy