Rename MetricsIntegrationAutoConfiguration

Rename `MetricsIntegrationAutoConfiguration` to
`IntegrationMetricsAutoConfiguration`.

Closes gh-12147
pull/12149/head
Phillip Webb 7 years ago
parent 0925a0957e
commit aafa1e9615

@ -42,7 +42,7 @@ import org.springframework.integration.support.management.micrometer.MicrometerM
@AutoConfigureAfter({ IntegrationAutoConfiguration.class, @AutoConfigureAfter({ IntegrationAutoConfiguration.class,
SimpleMetricsExportAutoConfiguration.class }) SimpleMetricsExportAutoConfiguration.class })
@ConditionalOnBean(MeterRegistry.class) @ConditionalOnBean(MeterRegistry.class)
public class MetricsIntegrationAutoConfiguration { public class IntegrationMetricsAutoConfiguration {
@Bean @Bean
public MicrometerMetricsFactory integrationMicrometerMetricsFactory( public MicrometerMetricsFactory integrationMicrometerMetricsFactory(

@ -50,7 +50,7 @@ org.springframework.boot.actuate.autoconfigure.metrics.export.signalfx.SignalFxM
org.springframework.boot.actuate.autoconfigure.metrics.export.statsd.StatsdMetricsExportAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.export.statsd.StatsdMetricsExportAutoConfiguration,\
org.springframework.boot.actuate.autoconfigure.metrics.export.wavefront.WavefrontMetricsExportAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.export.wavefront.WavefrontMetricsExportAutoConfiguration,\
org.springframework.boot.actuate.autoconfigure.metrics.jdbc.DataSourcePoolMetricsAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.jdbc.DataSourcePoolMetricsAutoConfiguration,\
org.springframework.boot.actuate.autoconfigure.metrics.integration.MetricsIntegrationAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.integration.IntegrationMetricsAutoConfiguration,\
org.springframework.boot.actuate.autoconfigure.metrics.web.client.RestTemplateMetricsAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.web.client.RestTemplateMetricsAutoConfiguration,\
org.springframework.boot.actuate.autoconfigure.metrics.web.reactive.WebFluxMetricsAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.web.reactive.WebFluxMetricsAutoConfiguration,\
org.springframework.boot.actuate.autoconfigure.metrics.web.servlet.WebMvcMetricsAutoConfiguration,\ org.springframework.boot.actuate.autoconfigure.metrics.web.servlet.WebMvcMetricsAutoConfiguration,\

@ -36,15 +36,15 @@ import org.springframework.test.util.ReflectionTestUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Tests for {@link MetricsIntegrationAutoConfiguration}. * Tests for {@link IntegrationMetricsAutoConfiguration}.
* *
* @author Phillip Webb * @author Phillip Webb
*/ */
public class MetricsIntegrationAutoConfigurationTests { public class IntegrationMetricsAutoConfigurationTests {
private ApplicationContextRunner contextRunner = new ApplicationContextRunner() private ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(IntegrationAutoConfiguration.class, .withConfiguration(AutoConfigurations.of(IntegrationAutoConfiguration.class,
MetricsIntegrationAutoConfiguration.class)) IntegrationMetricsAutoConfiguration.class))
.withUserConfiguration(BaseConfiguration.class) .withUserConfiguration(BaseConfiguration.class)
.withPropertyValues("spring.jmx.enabled=false"); .withPropertyValues("spring.jmx.enabled=false");
Loading…
Cancel
Save