Skip to content

Commit 4275f17

Browse files
authored
Remove Spring Boot 2 samples (#6149)
Spring Boot 2 is out of OSS support at this point, and the latest versions of Micrometer are used with Spring Boot 3, so it is odd to have samples with the latest version of Micrometer using Spring Boot 2. Therefore, I don't think they add much value and can be removed. There is no code run as part of the build (only compilation), and we should try to eliminate dependency cycles: these samples depend on Spring but Spring depends on Micrometer. If we still want Spring-based samples, a separate repository would be a better setup.
1 parent af0a95f commit 4275f17

File tree

58 files changed

+1
-1868
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1
-1868
lines changed

gradle/libs.versions.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ slf4jApi = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
199199
slfj4Simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" }
200200
spectatorAtlas = { module = "com.netflix.spectator:spectator-reg-atlas", version.ref = "spectator-atlas" }
201201
spring5-core = { module = "org.springframework:spring-core", version.ref = "spring5" }
202-
spring-cloud = { module = "org.springframework.cloud:spring-cloud-dependencies", version = "2021.0.9" }
203202
spring-javaformatCheckstyle = { module = "io.spring.javaformat:spring-javaformat-checkstyle", version.ref = "spring-javaformat" }
204203
spring6-aop = { module = "org.springframework:spring-aop", version.ref = "spring6" }
205204
spring6-context = { module = "org.springframework:spring-context", version.ref = "spring6" }

samples/micrometer-samples-boot2-reactive/build.gradle

Lines changed: 0 additions & 28 deletions
This file was deleted.

samples/micrometer-samples-boot2-reactive/src/main/java/io/micrometer/boot2/reactive/samples/PrometheusSample.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

samples/micrometer-samples-boot2-reactive/src/main/resources/application.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

samples/micrometer-samples-boot2/build.gradle

Lines changed: 0 additions & 47 deletions
This file was deleted.

samples/micrometer-samples-boot2/src/main/java/io/micrometer/boot2/samples/AppOpticsSample.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

samples/micrometer-samples-boot2/src/main/java/io/micrometer/boot2/samples/AtlasSample.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

samples/micrometer-samples-boot2/src/main/java/io/micrometer/boot2/samples/AzureMonitorSample.java

Lines changed: 0 additions & 40 deletions
This file was deleted.

samples/micrometer-samples-boot2/src/main/java/io/micrometer/boot2/samples/DatadogSample.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

samples/micrometer-samples-boot2/src/main/java/io/micrometer/boot2/samples/DynatraceSampleV1.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)