Commit Graph

26528 Commits

Author SHA1 Message Date
Moritz Halbritter
bd036eb29f Add MyCustomFormat.kt example to documentation
Closes gh-42594
2024-10-11 13:45:16 +02:00
Phillip Webb
8aee3e1e92 Allow structure logging JSON to be customized
Introduce a new `StructureLoggingJsonMembersCustomizer` interface as
well as additional properties that can be used to customize the JSON
produced with structured logging.

Closes gh-42486
2024-10-10 23:52:34 -07:00
Phillip Webb
27c59b8cb5 Add filter, name processor and value processor support to JsonWriter
Update `JsonWriter` to support filtering and processing of names/values.
This update will allow us to offer better customization options with
structured logging.

See gh-42486
2024-10-10 23:50:34 -07:00
Phillip Webb
763266f20d Rationalize structured logging service classes
Rename `ElasticCommonSchemaService` & `GraylogExtendedLogFormatService`
and change a few of the property names. The `Service` suffix was
originally chosen because ECS uses the term, but `Properties` is more
common in the Spring Boot codebase and works better for Graylog.

Closes gh-42578
2024-10-10 23:46:27 -07:00
Phillip Webb
aed4546c43 Extract WritableJson from JsonWriter
Make `WritableJson` a top level class rather than a nested class inside
`WritableJson`.

Closes gh-42595
2024-10-10 23:45:14 -07:00
Phillip Webb
b169439f86 Polish 2024-10-10 17:18:04 -07:00
Andy Wilkinson
3c095b4ec2 Prefer DynamicPropertyRegistar to DynamicPropertyRegistry
Closes gh-41996
2024-10-10 15:25:44 +01:00
Moritz Halbritter
dd9a998cfe Polish "Add property to specify Docker Compose flags"
See gh-42571
2024-10-10 08:56:02 +02:00
Dmytro Nosan
2bee29c2fd Add property to specify Docker Compose flags
See gh-42571
2024-10-10 08:56:02 +02:00
Andy Wilkinson
31fada6d3e Start building against Spring Framework 6.2.0 snapshots
See gh-42562
2024-10-09 19:13:04 +01:00
Andy Wilkinson
033b4d89bb fixup! Start building against Spring Authorization Server 1.4.0 snapshots 2024-10-09 19:11:03 +01:00
Andy Wilkinson
a6b066aeb6 Start building against Spring HATEOAS 2.4.0-RC2 snapshots
See gh-42572
2024-10-09 19:08:14 +01:00
Andy Wilkinson
2e5bd9fc4a Start building against Spring Security 6.4.0 snapshots
See gh-42568
2024-10-09 19:07:56 +01:00
Andy Wilkinson
bfc133d551 Start building against Spring Retry 2.0.10 snapshots
See gh-42567
2024-10-09 18:49:16 +01:00
Andy Wilkinson
57c88aead7 Start building against Spring Pulsar 1.2.0 snapshots
See gh-42566
2024-10-09 18:49:16 +01:00
Andy Wilkinson
72cb71b256 Start building against Spring LDAP 3.2.7 snapshots
See gh-42565
2024-10-09 18:49:15 +01:00
Andy Wilkinson
29c425acc6 Start building against Spring Kafka 3.3.0 snapshots
See gh-42564
2024-10-09 18:49:15 +01:00
Andy Wilkinson
be330baec1 Start building against Spring Integration 6.4.0 snapshots
See gh-42563
2024-10-09 18:49:14 +01:00
Andy Wilkinson
76d6f1aa7e Upgrade to Neo4j Java Driver 5.25.0
Closes gh-42570
2024-10-09 18:49:14 +01:00
Andy Wilkinson
4647d30f6e Start building against Spring Data Bom 2024.1.0 snapshots
See gh-42561
2024-10-09 18:49:13 +01:00
Andy Wilkinson
9d2acf76ca Start building against Spring Batch 5.2.0 snapshots
See gh-42560
2024-10-09 18:49:13 +01:00
Andy Wilkinson
11960df595 Start building against Spring Authorization Server 1.4.0 snapshots
See gh-42559
2024-10-09 18:49:05 +01:00
Andy Wilkinson
70c1cabe66 Start building against Spring AMQP 3.2.0 snapshots
See gh-42558
2024-10-09 17:10:00 +01:00
Andy Wilkinson
6c500c9662 Start building against Reactor Bom 2024.0.0 snapshots
See gh-42557
2024-10-09 17:10:00 +01:00
Andy Wilkinson
1d8614a065 Start building against Micrometer Tracing 1.4.0 snapshots
See gh-42556
2024-10-09 17:10:00 +01:00
Andy Wilkinson
83afef4f60 Start building against Micrometer 1.14.0 snapshots
See gh-42555
2024-10-09 17:10:00 +01:00
Stéphane Nicoll
e40ec93e3b Upgrade to Maven Javadoc Plugin 3.10.1
Closes gh-42401
2024-10-08 17:03:16 +02: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
Andy Wilkinson
9ef82dc864 Merge branch '3.3.x'
Closes gh-42521
2024-10-07 14:18:38 +01:00
Andy Wilkinson
6209aef319 Order alphabetically the sections in Common Application Properties
Closes gh-42520
2024-10-07 14:17:55 +01:00
Anthony Dahanne
416413957a Use builder-jammy-java-tiny when using Buildpacks
See gh-42508
2024-10-07 13:30:41 +02:00
Phillip Webb
b12a4801ff Polish BasicJsonParser 2024-10-03 12:23:05 -07:00
Andy Wilkinson
8d0cfdfe5e Merge branch '3.3.x'
Closes gh-42506
2024-10-03 10:23:09 +01:00
Andy Wilkinson
7b4cd03066 Merge branch '3.2.x' into 3.3.x
Closes gh-42505
2024-10-03 10:18:17 +01:00
Andy Wilkinson
2328c1fe80 Improve javadoc for when bean type to match is inferred
Closes gh-42504
2024-10-03 10:16:27 +01:00
Johnny Lim
1585c5a109 Polish
See gh-42503
2024-10-03 07:33:40 +02:00
Phillip Webb
58a1b2bea5 Polish 'Add support for 'server.jetty.max-form-key' property'
See gh-42448
2024-10-02 21:25:24 -07:00
qingbozhang
6e885c423f Add support for 'server.jetty.max-form-key' property
Add a new 'server.jetty.max-form-key' property that can be used to
configure Jetty's Handler.setMaxFormKeys(...).

See gh-42448
2024-10-02 21:22:56 -07:00
Phillip Webb
90f375ea3e Dont deduce type for OnBean conditions when annotations are specified
Update `OnBeanCondition` to consider the annotations attribute as well
as the types and names when determining if the bean type can be deduced.

Fixes gh-42484
2024-10-02 15:21:30 -07:00
Phillip Webb
fc2878a924 Fix checkstyle violation
See gh-42487
2024-10-02 13:51:47 -07:00
Phillip Webb
9ea624666f Merge pull request #42487 from woosung1223
* pr/42487:
  Refactor BasicJsonParser to use enhanced switch

Closes gh-42487
2024-10-02 13:40:38 -07:00
teo
19d7164696 Refactor BasicJsonParser to use enhanced switch
See gh-42487
2024-10-02 13:39:13 -07: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
Stéphane Nicoll
6b216f1748 Apply active profiles consistently with AOT
Profiles that are active during AOT processing are automatically enabled
when the AOT initializer runs. While this works for an arrangement that
only relies on the ApplicationContext, it does not for Spring Boot that
has specific handling of profiles when it prepares the environment, way
before the ApplicationContext is event created.

This commit adds a specific contribution that generates a dedicated
EnvironmentPostProcessor. It also updates the handling of post
processors so that when AOT runs, the AOT generated one if it exists is
invoked first.

This has the effect of consistently activating such profiles in a
Spring Boot application.

Closes gh-41562
2024-10-02 10:41:13 +02:00
Phillip Webb
54dcd9894c Remove remaining use of loader classic
Closes gh-42495
2024-10-01 18:23:35 -07:00