commit
a7f51c0d14
|
@ -56,7 +56,7 @@ public class ElasticsearchDataAutoConfigurationTests {
|
|||
ElasticsearchAutoConfiguration.class,
|
||||
ElasticsearchDataAutoConfiguration.class);
|
||||
this.context.refresh();
|
||||
asssertHasSingleBean(ElasticsearchTemplate.class);
|
||||
assertHasSingleBean(ElasticsearchTemplate.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -70,7 +70,7 @@ public class ElasticsearchDataAutoConfigurationTests {
|
|||
ElasticsearchAutoConfiguration.class,
|
||||
ElasticsearchDataAutoConfiguration.class);
|
||||
this.context.refresh();
|
||||
asssertHasSingleBean(SimpleElasticsearchMappingContext.class);
|
||||
assertHasSingleBean(SimpleElasticsearchMappingContext.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -84,10 +84,10 @@ public class ElasticsearchDataAutoConfigurationTests {
|
|||
ElasticsearchAutoConfiguration.class,
|
||||
ElasticsearchDataAutoConfiguration.class);
|
||||
this.context.refresh();
|
||||
asssertHasSingleBean(ElasticsearchConverter.class);
|
||||
assertHasSingleBean(ElasticsearchConverter.class);
|
||||
}
|
||||
|
||||
private void asssertHasSingleBean(Class<?> type) {
|
||||
private void assertHasSingleBean(Class<?> type) {
|
||||
assertThat(this.context.getBeanNamesForType(type)).hasSize(1);
|
||||
}
|
||||
|
||||
|
|
|
@ -714,7 +714,7 @@ content into your application; rather pick only the properties that you need.
|
|||
spring.h2.console.settings.trace=false # Enable trace output.
|
||||
spring.h2.console.settings.web-allow-others=false # Enable remote access.
|
||||
|
||||
# InfluxDB ({sc-spring-boot-autoconfigure}/influx/InfluxProperties.{sc-ext}[InfluxProperties])
|
||||
# InfluxDB ({sc-spring-boot-autoconfigure}/influx/InfluxDbProperties.{sc-ext}[InfluxDbProperties])
|
||||
spring.influx.password= # Login password.
|
||||
spring.influx.url= # Url of the InfluxDB instance to connect to.
|
||||
spring.influx.user= # Login user.
|
||||
|
|
|
@ -620,7 +620,7 @@ typically in `application.properties` or `application.yml`. For example:
|
|||
server.ssl.key-password=another-secret
|
||||
----
|
||||
|
||||
See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of the
|
||||
See {sc-spring-boot}/web/server/Ssl.{sc-ext}[`Ssl`] for details of all of the
|
||||
supported properties.
|
||||
|
||||
Using configuration like the example above means the application will no longer support
|
||||
|
|
|
@ -44,7 +44,7 @@ public class SystemEnvironmentPropertySourceEnvironmentPostProcessorTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void postProcessShouldReplaceSystemEnviromentPropertySource()
|
||||
public void postProcessShouldReplaceSystemEnvironmentPropertySource()
|
||||
throws Exception {
|
||||
SystemEnvironmentPropertySourceEnvironmentPostProcessor postProcessor = new SystemEnvironmentPropertySourceEnvironmentPostProcessor();
|
||||
postProcessor.postProcessEnvironment(this.environment, null);
|
||||
|
|
Loading…
Reference in New Issue