mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Deprecate AppOptics as it has retired
Closes gh-51810
This commit is contained in:
+4
@@ -39,6 +39,8 @@ import org.springframework.context.annotation.Bean;
|
||||
* @author Stephane Nicoll
|
||||
* @author Artsiom Yudovin
|
||||
* @since 4.0.0
|
||||
* @deprecated since 4.2.0 for removal in 4.4.0 with no replacement as AppOptics has
|
||||
* retired
|
||||
*/
|
||||
@AutoConfiguration(
|
||||
before = { CompositeMeterRegistryAutoConfiguration.class, SimpleMetricsExportAutoConfiguration.class },
|
||||
@@ -47,6 +49,8 @@ import org.springframework.context.annotation.Bean;
|
||||
@ConditionalOnClass(AppOpticsMeterRegistry.class)
|
||||
@ConditionalOnEnabledMetricsExport("appoptics")
|
||||
@EnableConfigurationProperties(AppOpticsProperties.class)
|
||||
@Deprecated(since = "4.2.0", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
public final class AppOpticsMetricsExportAutoConfiguration {
|
||||
|
||||
private final AppOpticsProperties properties;
|
||||
|
||||
+3
@@ -29,8 +29,11 @@ import org.springframework.boot.micrometer.metrics.autoconfigure.export.properti
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 4.0.0
|
||||
* @deprecated since 4.2.0 for removal in 4.4.0 with no replacement as AppOptics has
|
||||
* retired
|
||||
*/
|
||||
@ConfigurationProperties("management.appoptics.metrics.export")
|
||||
@Deprecated(since = "4.2.0", forRemoval = true)
|
||||
public class AppOpticsProperties extends StepRegistryProperties {
|
||||
|
||||
/**
|
||||
|
||||
+4
@@ -25,7 +25,11 @@ import org.springframework.boot.micrometer.metrics.autoconfigure.export.properti
|
||||
* Adapter to convert {@link AppOpticsProperties} to an {@link AppOpticsConfig}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @deprecated since 4.2.0 for removal in 4.4.0 with no replacement as AppOptics has
|
||||
* retired
|
||||
*/
|
||||
@Deprecated(since = "4.2.0", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
class AppOpticsPropertiesConfigAdapter extends StepRegistryPropertiesConfigAdapter<AppOpticsProperties>
|
||||
implements AppOpticsConfig {
|
||||
|
||||
|
||||
+4
@@ -33,7 +33,11 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* Tests for {@link AppOpticsMetricsExportAutoConfiguration}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @deprecated since 4.2.0 for removal in 4.4.0 with no replacement as AppOptics has
|
||||
* retired
|
||||
*/
|
||||
@Deprecated(since = "4.2.0", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
class AppOpticsMetricsExportAutoConfigurationTests {
|
||||
|
||||
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
|
||||
|
||||
+4
@@ -26,7 +26,11 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* Tests for {@link AppOpticsPropertiesConfigAdapter}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @deprecated since 4.2.0 for removal in 4.4.0 with no replacement as AppOptics has
|
||||
* retired
|
||||
*/
|
||||
@Deprecated(since = "4.2.0", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
class AppOpticsPropertiesConfigAdapterTests
|
||||
extends StepRegistryPropertiesConfigAdapterTests<AppOpticsProperties, AppOpticsPropertiesConfigAdapter> {
|
||||
|
||||
|
||||
+4
@@ -27,7 +27,11 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* Tests for {@link AppOpticsProperties}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @deprecated since 4.2.0 for removal in 4.4.0 with no replacement as AppOptics has
|
||||
* retired
|
||||
*/
|
||||
@Deprecated(since = "4.2.0", forRemoval = true)
|
||||
@SuppressWarnings("removal")
|
||||
class AppOpticsPropertiesTests extends StepRegistryPropertiesTests {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user