Rename HealthIndicatorAutoConfigurationProperties

Closes gh-5326
pull/5337/head
Anand Shah 9 years ago committed by Stephane Nicoll
parent 73cbb2f40a
commit 395c36a132

@ -100,11 +100,11 @@ import org.springframework.mail.javamail.JavaMailSenderImpl;
RabbitAutoConfiguration.class, SolrAutoConfiguration.class,
MailSenderAutoConfiguration.class, JmsAutoConfiguration.class,
ElasticsearchAutoConfiguration.class })
@EnableConfigurationProperties({ HealthIndicatorAutoConfigurationProperties.class })
@EnableConfigurationProperties({ HealthIndicatorProperties.class })
public class HealthIndicatorAutoConfiguration {
@Autowired
private HealthIndicatorAutoConfigurationProperties configurationProperties = new HealthIndicatorAutoConfigurationProperties();
private HealthIndicatorProperties configurationProperties = new HealthIndicatorProperties();
@Bean
@ConditionalOnMissingBean(HealthAggregator.class)

@ -27,7 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* @since 1.2.0
*/
@ConfigurationProperties("management.health.status")
public class HealthIndicatorAutoConfigurationProperties {
public class HealthIndicatorProperties {
/**
* Comma-separated list of health statuses in order of severity.
Loading…
Cancel
Save