@Configuration
@Profile(value="unitTest")
@EnableTransactionManagement
@Import(value={org.springframework.boot.actuate.autoconfigure.MetricRepositoryAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.MetricsDropwizardAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.HealthIndicatorAutoConfiguration.class})
public class ITConfig
extends java.lang.Object
| Constructor and Description |
|---|
ITConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.convert.converter.ConverterRegistry |
converterRegistry() |
javax.sql.DataSource |
dataSource() |
org.springframework.transaction.PlatformTransactionManager |
transactionManager() |
@Bean
public javax.sql.DataSource dataSource()
throws java.io.IOException
java.io.IOException@Bean
public org.springframework.transaction.PlatformTransactionManager transactionManager()
throws java.io.IOException
java.io.IOException@Bean public org.springframework.core.convert.converter.ConverterRegistry converterRegistry()