2533 Commits

Author SHA1 Message Date
Moritz Halbritter
d5344e3f1b Polish "Fix property name in OnEnabledLoggingExportConditionTests"
See gh-43331
2024-12-02 13:52:01 +01:00
Johnny Lim
1f17e0125d Fix property name in OnEnabledLoggingExportConditionTests
See gh-43331
2024-12-02 13:49:39 +01:00
Johnny Lim
859c235a95 Polish
See gh-43316
2024-11-29 10:35:11 +01:00
Andy Wilkinson
f3a161afdd Enable relaxed matching of enabled and access properties
The lowercase form of the endpoint ID needs to be used so that
relaxed matching of properties, as provided by
ConfigurationPropertySources, works as intended. Without this
change the id of the endpoint in a property had to be an exact
match of the endpoint's ID.

Closes gh-43302
2024-11-28 14:17:37 +00:00
Andy Wilkinson
32433e84f3 Merge branch '3.3.x'
Closes gh-43270
2024-11-22 15:46:38 +00:00
Andy Wilkinson
bb3651b7d1 Reduce warnings reported by Eclipse
Closes gh-43269
2024-11-22 15:39:35 +00:00
Johnny Lim
fa0a4849fa Update Javadoc since for OtlpMetricsProperties and OtlpTracingProperties
See gh-43249
2024-11-22 08:24:59 +01:00
Phillip Webb
c9a84549c8 Polish 'Replace TestObservationRegistryAssert.assertThat()''
See gh-43235
2024-11-20 20:56:39 -08:00
Johnny Lim
4b5b76d7b1 Replace TestObservationRegistryAssert.assertThat()
See gh-43235
2024-11-20 20:56:03 -08:00
Yanming Zhou
7fdc9742af Prohibit unnecessary value on @EnumSource
See gh-43214
2024-11-18 21:50:35 -08:00
Phillip Webb
4ab80d263a Fix management.endpoints.access.default type in JSON metadata
Fixes gh-43154
2024-11-13 16:23:39 -08:00
Stéphane Nicoll
fdf24c6caa Merge branch '3.3.x'
Closes gh-42976
2024-11-02 20:25:35 +09:00
Tran Ngoc Nhan
9e92bfe906 Polish
See gh-42974
2024-11-02 20:20:06 +09:00
Andy Wilkinson
4a9da78eb8 Merge branch '3.3.x'
Closes gh-42969
2024-11-01 14:32:51 +00: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
e8b8584175 Merge branch '3.3.x'
Closes gh-42943
2024-10-30 10:26:19 +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
Andy Wilkinson
3b330ae09a Shut down management server once main server's shut down
Closes gh-41002
2024-10-23 12:08:03 -07:00
Phillip Webb
47fa83cafc Merge branch '3.3.x' 2024-10-23 10:14:59 -07:00
Phillip Webb
fc1ed0b340 Increase timeout in ZipkinWebClientSenderTests 2024-10-23 10:14:32 -07:00
Moritz Halbritter
0ce4dbd49f Polish "Add property to control log exporting"
See gh-42813
2024-10-22 11:35:29 +02:00
Dmytro Nosan
e9b3b97d81 Add property to control log exporting
This property provides more fine-grained control over log export:

- management.otlp.logging.export.enabled

By default, it is set to null, but if defined,
it takes precedence over the global management.logging.export.enabled
property

See gh-42813
2024-10-22 11:35:29 +02: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
Phillip Webb
71380e0233 Polish 2024-10-17 18:29:38 -07:00
Moritz Halbritter
ba1a780147 Merge branch '3.3.x'
Closes gh-42774
2024-10-17 18:06:43 +02: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
Andy Wilkinson
25082d33e7 Provide more control over access to endpoint operations
This commit reworks the support for enabling and disabling endpoints,
replacing the on/off support that it provided with a finer-grained
access model that supports only allowing read-only access to endpoint
operations in addition to disabling an endpoint (access of none) and
fully enabling it (access of unrestricted).

The following properties are deprecated:

- management.endpoints.enabled-by-default
- management.endpoint.<id>.enabled

Their replacements are:

- management.endpoints.access.default
- management.endpoint.<id>.access

Similarly, the enableByDefault attribute on @Endpoint has been
deprecated with a new defaultAccess attribute replacing it.

Additionally, a new property has been introduced that allows an
operator to control the level of access to Actuator endpoints
that is permitted:

- management.endpoints.access.max-permitted

This property caps any access that may has been configured for
an endpoint. For example, if
management.endpoints.access.max-permitted is set to read-only and
management.endpoint.loggers.access is set to unrestricted, only
read-only access to the loggers endpoint will be allowed.

Closes gh-39046
2024-10-17 13:56:44 +01:00
Moritz Halbritter
c018c43886 Merge branch '3.3.x'
Closes gh-42736
2024-10-17 13:44:25 +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
Yanming Zhou
87cc2efb64 Strengthen package-like assertions
See gh-42682
2024-10-16 16:52:13 -07:00
Phillip Webb
465e909974 Merge branch '3.3.x' 2024-10-16 13:09:09 -07:00
Andy Wilkinson
83afef4f60 Start building against Micrometer 1.14.0 snapshots
See gh-42555
2024-10-09 17:10:00 +01:00
Moritz Halbritter
e6165b0311 Add transport and connect timeout properties for OTLP logging
Closes gh-42528
Closes gh-42527
2024-10-08 16:01:09 +02:00
Moritz Halbritter
b997c0c53a Add connect timeout properties for OTLP tracing
- Rename OtlpProperties to OtlpTracingProperties

See gh-41460
See gh-42528
2024-10-08 16:01:08 +02:00
Moritz Halbritter
40bb81419d Rename OtlpAutoConfiguration to OtlpTracingAutoConfiguration
Closes gh-42529
2024-10-08 15:56:18 +02:00
Moritz Halbritter
fdcc8d9d1f Rename OtlpProperties to OtlpMetricsProperties
See gh-41460
2024-10-08 15:51:25 +02:00
Johnny Lim
1585c5a109 Polish
See gh-42503
2024-10-03 07:33:40 +02:00
Andy Wilkinson
6aa5ed705a Merge branch '3.3.x'
Closes gh-42499
2024-10-02 13:47:39 +01:00
Andy Wilkinson
93e5b3a0ff Deprecate ControllerEndpointHandlerMapping for MVC and WebFlux
Closes gh-42498
2024-10-02 13:46:57 +01:00
Andy Wilkinson
fae3cd1ca5 Harmonize configuration properties that accept a list of values
Closes gh-42478
2024-10-02 10:56:15 +01:00
Johnny Lim
3882dcc2fa Polish
See gh-42457
2024-09-27 12:13:36 +02:00
Moritz Halbritter
593d2cccc4 Polish "Add support for virtual threads in OtlpMetricRegistry configuration"
See gh-42407
2024-09-26 13:42:39 +02:00
Mike Turbe
e615eb313a Add support for virtual threads in OtlpMetricRegistry configuration
See gh-42407
2024-09-26 13:26:30 +02:00
Phillip Webb
7b3077280c Merge branch '3.3.x'
Closes gh-42441
2024-09-24 14:32:48 -07:00
Phillip Webb
100bedc07d Merge branch '3.2.x' into 3.3.x
Closes gh-42440
2024-09-24 14:29:09 -07:00