Skip to content

Commit b20c95a

Browse files
committed
Start splitting up spring-boot-actuator-autoconfigure
1 parent 9a52c9a commit b20c95a

File tree

733 files changed

+2963
-2868
lines changed

Some content is hidden

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

733 files changed

+2963
-2868
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ include "spring-boot-project:spring-boot"
4343
include "spring-boot-project:spring-boot-activemq"
4444
include "spring-boot-project:spring-boot-actuator"
4545
include "spring-boot-project:spring-boot-actuator-autoconfigure"
46+
include "spring-boot-project:spring-boot-actuator-autoconfigure-all"
4647
include "spring-boot-project:spring-boot-actuator-docs"
4748
include "spring-boot-project:spring-boot-amqp"
4849
include "spring-boot-project:spring-boot-artemis"
Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
plugins {
2+
id "java-library"
3+
id "org.springframework.boot.auto-configuration"
4+
id "org.springframework.boot.configuration-properties"
5+
id "org.springframework.boot.deployed"
6+
id "org.springframework.boot.optional-dependencies"
7+
}
8+
9+
description = "Spring Boot Actuator AutoConfigure All"
10+
11+
configurations.all {
12+
resolutionStrategy.eachDependency {
13+
if (it.requested.group == 'org.opensaml') {
14+
it.useVersion '4.0.1'
15+
}
16+
}
17+
}
18+
19+
dependencies {
20+
api(project(":spring-boot-project:spring-boot-actuator-autoconfigure"))
21+
api(project(":spring-boot-project:spring-boot-autoconfigure-all"))
22+
23+
implementation("com.fasterxml.jackson.core:jackson-databind")
24+
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
25+
implementation(project(":spring-boot-project:spring-boot-security")) {
26+
exclude(group: "org.springframework.security")
27+
}
28+
29+
optional(project(":spring-boot-project:spring-boot-activemq"))
30+
optional(project(":spring-boot-project:spring-boot-amqp"))
31+
optional(project(":spring-boot-project:spring-boot-artemis"))
32+
optional(project(":spring-boot-project:spring-boot-cache"))
33+
optional(project(":spring-boot-project:spring-boot-couchbase"))
34+
optional(project(":spring-boot-project:spring-boot-data-cassandra"))
35+
optional(project(":spring-boot-project:spring-boot-data-elasticsearch"))
36+
optional(project(":spring-boot-project:spring-boot-data-jpa"))
37+
optional(project(":spring-boot-project:spring-boot-data-mongodb"))
38+
optional(project(":spring-boot-project:spring-boot-data-neo4j"))
39+
optional(project(":spring-boot-project:spring-boot-data-redis"))
40+
optional(project(":spring-boot-project:spring-boot-flyway"))
41+
optional(project(":spring-boot-project:spring-boot-hazelcast"))
42+
optional(project(":spring-boot-project:spring-boot-http-converter"))
43+
optional(project(":spring-boot-project:spring-boot-http-codec"))
44+
optional(project(":spring-boot-project:spring-boot-integration"))
45+
optional(project(":spring-boot-project:spring-boot-jackson"))
46+
optional(project(":spring-boot-project:spring-boot-jdbc"))
47+
optional(project(":spring-boot-project:spring-boot-jersey"))
48+
optional(project(":spring-boot-project:spring-boot-jetty"))
49+
optional(project(":spring-boot-project:spring-boot-jsonb"))
50+
optional(project(":spring-boot-project:spring-boot-kafka"))
51+
optional(project(":spring-boot-project:spring-boot-ldap"))
52+
optional(project(":spring-boot-project:spring-boot-liquibase"))
53+
optional(project(":spring-boot-project:spring-boot-mail"))
54+
optional(project(":spring-boot-project:spring-boot-mongodb"))
55+
optional(project(":spring-boot-project:spring-boot-quartz"))
56+
optional(project(":spring-boot-project:spring-boot-r2dbc"))
57+
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
58+
optional(project(":spring-boot-project:spring-boot-restclient"))
59+
optional(project(":spring-boot-project:spring-boot-security-oauth2-client"))
60+
optional(project(":spring-boot-project:spring-boot-security-oauth2-resource-server"))
61+
optional(project(":spring-boot-project:spring-boot-security-saml2"))
62+
optional(project(":spring-boot-project:spring-boot-session"))
63+
optional(project(":spring-boot-project:spring-boot-tomcat"))
64+
optional(project(":spring-boot-project:spring-boot-undertow"))
65+
optional(project(":spring-boot-project:spring-boot-validation"))
66+
optional(project(":spring-boot-project:spring-boot-webclient"))
67+
optional(project(":spring-boot-project:spring-boot-webflux"))
68+
optional(project(":spring-boot-project:spring-boot-webmvc"))
69+
optional("ch.qos.logback:logback-classic")
70+
optional("org.apache.cassandra:java-driver-core") {
71+
exclude group: "org.slf4j", module: "jcl-over-slf4j"
72+
}
73+
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-xml")
74+
optional("com.github.ben-manes.caffeine:caffeine")
75+
optional("com.hazelcast:hazelcast-spring")
76+
optional("com.zaxxer:HikariCP")
77+
optional("io.lettuce:lettuce-core")
78+
optional("io.micrometer:micrometer-observation")
79+
optional("io.micrometer:micrometer-jakarta9")
80+
optional("io.micrometer:micrometer-java21")
81+
optional("io.micrometer:micrometer-tracing")
82+
optional("io.micrometer:micrometer-tracing-bridge-brave")
83+
optional("io.micrometer:micrometer-tracing-bridge-otel")
84+
optional("io.micrometer:micrometer-tracing-reporter-wavefront")
85+
optional("io.micrometer:micrometer-registry-appoptics")
86+
optional("io.micrometer:micrometer-registry-atlas") {
87+
exclude group: "javax.inject", module: "javax.inject"
88+
}
89+
optional("io.micrometer:micrometer-registry-datadog")
90+
optional("io.micrometer:micrometer-registry-dynatrace")
91+
optional("io.micrometer:micrometer-registry-elastic")
92+
optional("io.micrometer:micrometer-registry-ganglia")
93+
optional("io.micrometer:micrometer-registry-graphite")
94+
optional("io.micrometer:micrometer-registry-humio")
95+
optional("io.micrometer:micrometer-registry-influx")
96+
optional("io.micrometer:micrometer-registry-jmx")
97+
optional("io.micrometer:micrometer-registry-kairos")
98+
optional("io.micrometer:micrometer-registry-new-relic")
99+
optional("io.micrometer:micrometer-registry-otlp")
100+
optional("io.micrometer:micrometer-registry-prometheus")
101+
optional("io.micrometer:micrometer-registry-stackdriver") {
102+
exclude group: "javax.annotation", module: "javax.annotation-api"
103+
}
104+
optional("io.micrometer:micrometer-registry-signalfx")
105+
optional("io.micrometer:micrometer-registry-statsd")
106+
optional("io.micrometer:micrometer-registry-wavefront")
107+
optional("io.zipkin.reporter2:zipkin-reporter-brave")
108+
optional("io.opentelemetry:opentelemetry-exporter-zipkin")
109+
optional("io.opentelemetry:opentelemetry-exporter-otlp")
110+
optional("io.projectreactor.netty:reactor-netty-http")
111+
optional("io.prometheus:prometheus-metrics-exporter-pushgateway")
112+
optional("io.r2dbc:r2dbc-pool")
113+
optional("io.r2dbc:r2dbc-proxy")
114+
optional("io.r2dbc:r2dbc-spi")
115+
optional("io.undertow:undertow-servlet")
116+
optional("jakarta.persistence:jakarta.persistence-api")
117+
optional("jakarta.servlet:jakarta.servlet-api")
118+
optional("javax.cache:cache-api")
119+
optional("org.apache.activemq:activemq-broker")
120+
optional("org.apache.activemq:activemq-client")
121+
optional("org.apache.commons:commons-dbcp2")
122+
optional("org.apache.kafka:kafka-clients")
123+
optional("org.apache.kafka:kafka-streams")
124+
optional("org.apache.logging.log4j:log4j-api")
125+
optional("org.apache.tomcat.embed:tomcat-embed-core")
126+
optional("org.apache.tomcat.embed:tomcat-embed-el")
127+
optional("org.apache.tomcat:tomcat-jdbc")
128+
optional("org.aspectj:aspectjweaver")
129+
optional("org.cache2k:cache2k-micrometer")
130+
optional("org.cache2k:cache2k-spring")
131+
optional("org.eclipse.angus:angus-mail")
132+
optional("org.eclipse.jetty:jetty-server") {
133+
exclude group: "org.eclipse.jetty.toolchain", module: "jetty-jakarta-servlet-api"
134+
}
135+
optional("org.elasticsearch.client:elasticsearch-rest-client")
136+
optional("org.glassfish.jersey.core:jersey-server")
137+
optional("org.glassfish.jersey.containers:jersey-container-servlet-core")
138+
optional("org.glassfish.jersey.ext:jersey-micrometer")
139+
optional("org.hibernate.orm:hibernate-core")
140+
optional("org.hibernate.orm:hibernate-micrometer")
141+
optional("org.hibernate.validator:hibernate-validator")
142+
optional("org.influxdb:influxdb-java")
143+
optional("org.junit.platform:junit-platform-launcher")
144+
optional("org.liquibase:liquibase-core") {
145+
exclude group: "javax.xml.bind", module: "jaxb-api"
146+
}
147+
optional("org.mongodb:mongodb-driver-reactivestreams")
148+
optional("org.mongodb:mongodb-driver-sync")
149+
optional("org.neo4j.driver:neo4j-java-driver")
150+
optional("org.quartz-scheduler:quartz")
151+
optional("org.springframework:spring-jdbc")
152+
optional("org.springframework:spring-messaging")
153+
optional("org.springframework:spring-webflux")
154+
optional("org.springframework:spring-webmvc")
155+
optional("org.springframework.amqp:spring-rabbit")
156+
optional("org.springframework.batch:spring-batch-core")
157+
optional("org.springframework.data:spring-data-couchbase")
158+
optional("org.springframework.data:spring-data-jpa")
159+
optional("org.springframework.data:spring-data-ldap")
160+
optional("org.springframework.data:spring-data-mongodb")
161+
optional("org.springframework.data:spring-data-redis")
162+
optional("org.springframework.data:spring-data-elasticsearch")
163+
optional("org.springframework.graphql:spring-graphql")
164+
optional("org.springframework.kafka:spring-kafka")
165+
optional("org.springframework.security:spring-security-config")
166+
optional("org.springframework.security:spring-security-web")
167+
optional("org.springframework.session:spring-session-core")
168+
optional("redis.clients:jedis")
169+
170+
testImplementation(project(":spring-boot-project:spring-boot-data-rest"))
171+
testImplementation(project(":spring-boot-project:spring-boot-hateoas"))
172+
testImplementation(project(":spring-boot-project:spring-boot-restclient-test"))
173+
testImplementation(project(":spring-boot-project:spring-boot-test"))
174+
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
175+
testImplementation(project(":spring-boot-project:spring-boot-web-server-test"))
176+
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-web-server")))
177+
testImplementation("io.micrometer:micrometer-observation-test")
178+
testImplementation("io.opentelemetry:opentelemetry-exporter-common")
179+
testImplementation("io.projectreactor:reactor-test")
180+
testImplementation("io.prometheus:prometheus-metrics-exposition-formats")
181+
testImplementation("io.r2dbc:r2dbc-h2")
182+
testImplementation("com.squareup.okhttp3:mockwebserver")
183+
testImplementation("io.undertow:undertow-core")
184+
testImplementation("io.undertow:undertow-servlet")
185+
testImplementation("jakarta.xml.bind:jakarta.xml.bind-api")
186+
testImplementation("org.apache.activemq:artemis-jakarta-client")
187+
testImplementation("org.apache.activemq:artemis-jakarta-server")
188+
testImplementation("org.apache.logging.log4j:log4j-to-slf4j")
189+
testImplementation("org.aspectj:aspectjrt")
190+
testImplementation("org.cache2k:cache2k-api")
191+
testImplementation("org.eclipse.jetty.ee10:jetty-ee10-webapp")
192+
testImplementation("org.eclipse.jetty.http2:jetty-http2-server")
193+
testImplementation("org.glassfish.jersey.ext:jersey-spring6")
194+
testImplementation("org.glassfish.jersey.media:jersey-media-json-jackson")
195+
testImplementation("org.hsqldb:hsqldb")
196+
testImplementation("org.springframework:spring-orm")
197+
testImplementation("org.springframework.data:spring-data-rest-webmvc")
198+
testImplementation("org.springframework.integration:spring-integration-jmx")
199+
testImplementation("org.springframework.security:spring-security-test")
200+
testImplementation("org.yaml:snakeyaml")
201+
202+
testRuntimeOnly("jakarta.management.j2ee:jakarta.management.j2ee-api")
203+
testRuntimeOnly("jakarta.transaction:jakarta.transaction-api")
204+
testRuntimeOnly("org.cache2k:cache2k-core")
205+
testRuntimeOnly("org.opensaml:opensaml-core:4.0.1")
206+
testRuntimeOnly("org.opensaml:opensaml-saml-api:4.0.1")
207+
testRuntimeOnly("org.opensaml:opensaml-saml-impl:4.0.1")
208+
testRuntimeOnly("org.springframework:spring-aspects")
209+
testRuntimeOnly("org.springframework.security:spring-security-oauth2-jose")
210+
testRuntimeOnly("org.springframework.security:spring-security-oauth2-resource-server")
211+
testRuntimeOnly("org.springframework.security:spring-security-saml2-service-provider") {
212+
exclude group: "org.opensaml", module: "opensaml-core"
213+
exclude group: "org.opensaml", module: "opensaml-saml-api"
214+
exclude group: "org.opensaml", module: "opensaml-saml-impl"
215+
}
216+
}
217+
218+
tasks.named("test") {
219+
jvmArgs += "--add-opens=java.base/java.net=ALL-UNNAMED"
220+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)