2466 Commits

Author SHA1 Message Date
Andy Wilkinson
76caa3cb29 Fix problems found by improved auto-configuration checks 2025-06-02 17:15:50 -07:00
Phillip Webb
644aeabf7b Polish 2025-06-02 13:38:37 -07:00
Phillip Webb
5690791261 Document the java info contribution
Closes gh-45566
2025-05-20 14:37:44 -07:00
Phillip Webb
aa9cc4ae0e Fix errors accidentally added to InfoEndpointDocumentationTests 2025-05-20 14:26:11 -07:00
Phillip Webb
64aefcb658 Polish 'Document the os info contribution'
See gh-45565
2025-05-20 13:57:36 -07:00
Phillip Webb
752135d068 Document the process info contribution
Closes gh-45567
2025-05-20 13:54:42 -07:00
Phillip Webb
c99521ff0f Document the os info contribution
Closes gh-45565
2025-05-20 13:18:13 -07:00
Stéphane Nicoll
25796e031c Polish "Consistent condition for ObservedAspectConfiguration"
See gh-45601
2025-05-20 14:45:44 +02:00
Dmytro Nosan
b22d3caaad Consistent condition for ObservedAspectConfiguration
This commit adds the same conditions that control some observation
aspects to control the creation of an `ObservedAspect` bean. It now is
guarded by  `management.observations.annotations.enabled` and
`micrometer.observations.annotations.enabled`.

See gh-45601

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-05-20 14:45:44 +02:00
Johnny Lim
0a54804a0f Polish
See gh-45592

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-05-18 09:20:33 +02:00
Andy Wilkinson
13b95a5da8 Polish Cassandra health auto-configuration
The indicators that require Spring Data were removed. This commit
updates the auto-configuration ordering as there's no longer a need
for Spring Data Cassandra to have been auto-configured first. It also
simplifies the tests as Spring Data no longer needs to be considered.

Closes gh-45585
2025-05-16 12:46:32 +01:00
Andy Wilkinson
2bb4278f96 Use Framework's ResolvableType
Replace accidental use of Lettuce's class of the same name.

Closes gh-45561
2025-05-15 08:25:14 +01:00
Andy Wilkinson
9582ac7991 Update test to check for correct health indicator type
Closes gh-45395
2025-05-08 15:57:16 +01:00
Phillip Webb
2f242cad50 Use reference stubs in Antora playbook for actuator-autoconfigure
Use reference stubs so that we can include a link to the supported
metrics backends.

Closes gh-45158
2025-05-05 16:55:12 -07:00
Moritz Halbritter
55f67c9a52 Fix potential null problem in actuator 2025-04-24 08:23:49 +02:00
Phillip Webb
2143d702f2 Polish boolean members that can use the default false value 2025-04-11 09:32:35 -07:00
Phillip Webb
c071f56653 Protect against empty OS string in Docker Image
Update `Image` to protect against `os` being `null` or and empty
String.

Fixes gh-45152
2025-04-10 15:47:55 -07:00
Stéphane Nicoll
cfd5e45d57 Remove link
See gh-44767
2025-04-10 10:13:31 +02:00
Andy Wilkinson
3580f1aa36 Polish "Add details of the purpose of the metrics endpoint"
See gh-44767
2025-04-10 10:08:02 +02:00
Jonatan Ivanov
23c3c2753a Add details of the purpose of the metrics endpoint
See gh-44767
2025-04-10 10:08:02 +02:00
Johnny Lim
f3d2ab824e Polish
See gh-44949

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-02 10:15:36 +01:00
Andy Wilkinson
6ad48639c2 Back port 246c4a2 to 3.3.x
The changes do not apply cleanly when cherry-picked so they
have been redone manually.

Closes gh-44941
2025-03-28 16:48:50 +00:00
Stéphane Nicoll
08b2c560dd Order dependencies
Closes gh-44757
2025-03-18 15:22:26 +01:00
Stéphane Nicoll
6ec6132cc2 Update copyright year of changed files
See gh-44725
2025-03-17 09:01:35 +01:00
Yanming Zhou
fa9c1f0c41 Polish usage of @ConfigurationProperties
See gh-44725

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-17 09:01:08 +01:00
Moritz Halbritter
09b3461394 Remove use of self-signed.badssl.com
Closes gh-43708
2025-03-14 14:45:14 +01:00
Andy Wilkinson
9b15b4bce9 Consolidate mock web server factories
Closes gh-44674
2025-03-12 15:26:47 +00:00
Andy Wilkinson
3a6e4e9e58 Add checks for factories files
META-INF/spring.factories and META-INF/spring/aot.factories in the
main source set are now checked. The checks verify that:

- Each class listed in the values exists in the source set's output
- The classes are listed alphabetically
- Nested classes are identified using their binary name

Closes gh-44676
2025-03-12 12:44:18 +00:00
Andy Wilkinson
e30ae372e3 Move resources into same packages as documentation tests
See gh-44639
2025-03-07 17:01:58 +00:00
Andy Wilkinson
edf3cb1421 Position endpoint documentation tests alongside endpoint's auto-config
Closes gh-44639
2025-03-07 10:28:04 +00:00
Andy Wilkinson
67b0a26474 Improve structure of test resources in Actuator modules
Closes gh-44632
2025-03-06 18:31:35 +00:00
Johnny Lim
15a6c9affb Fix description of management.metrics.graphql.autotime.enabled
See gh-43904

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-01-21 14:36:20 +00:00
Stéphane Nicoll
6290b7545b Make skipSslValidation() test more robust
This commit updates the assertion of a test that relies on
https://self-signed.badssl.com to only fail if a SSLException is thrown.

This is a temporary measure until we run the test against a local
instance we control.

See gh-43708
2025-01-07 10:29:46 +01:00
Andy Wilkinson
bb3651b7d1 Reduce warnings reported by Eclipse
Closes gh-43269
2024-11-22 15:39:35 +00:00
Tran Ngoc Nhan
9e92bfe906 Polish
See gh-42974
2024-11-02 20:20:06 +09:00
Andy Wilkinson
f9281a61ff Rework Antora Gradle Infrastructure
Closes gh-40572

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-11-01 14:28:18 +00:00
Andy Wilkinson
1ad5fb8638 Merge branch '3.2.x' into 3.3.x
Closes gh-42942
2024-10-30 10:26:04 +00:00
Andy Wilkinson
00ceb378c4 Polish "Remove unnecessary values from @ConditionalOnMissingBean"
See gh-42933
2024-10-30 10:02:27 +00:00
Yanming Zhou
88d7a1e74a Remove unnecessary values from @ConditionalOnMissingBean
See gh-42933
2024-10-30 10:00:11 +00:00
Phillip Webb
fc1ed0b340 Increase timeout in ZipkinWebClientSenderTests 2024-10-23 10:14:32 -07:00
Phillip Webb
223886ff37 Merge branch '3.2.x' into 3.3.x 2024-10-18 10:48:51 -07:00
Phillip Webb
3481107ff7 Update copyright year of changed files 2024-10-18 10:48:29 -07:00
Moritz Halbritter
73150b799a Merge branch '3.2.x' into 3.3.x
Closes gh-42772
2024-10-17 17:58:11 +02:00
Moritz Halbritter
ce106eb43c Remove calls to deprecated Project.getBuildDir() in Gradle files
Closes gh-42739
2024-10-17 17:46:17 +02:00
Moritz Halbritter
8efe6e02d9 Merge branch '3.2.x' into 3.3.x
Closes gh-42735
2024-10-17 13:38:03 +02:00
Moritz Halbritter
a3060652f8 Call String.toLowerCase and .toUppercase with explicit locale
Closes gh-42719
2024-10-17 13:20:39 +02:00
Andy Wilkinson
93e5b3a0ff Deprecate ControllerEndpointHandlerMapping for MVC and WebFlux
Closes gh-42498
2024-10-02 13:46:57 +01:00
Phillip Webb
100bedc07d Merge branch '3.2.x' into 3.3.x
Closes gh-42440
2024-09-24 14:29:09 -07:00
Phillip Webb
ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Phillip Webb
72f379a5b2 Merge branch '3.2.x' into 3.3.x
Closes gh-42434
2024-09-24 13:01:05 -07:00