Commit Graph

29055 Commits

Author SHA1 Message Date
Stéphane Nicoll
1e83853b0f Merge branch '3.3.x'
Closes gh-41708
2024-08-07 11:42:35 +02:00
Stéphane Nicoll
24ae18c139 Merge branch '3.2.x' into 3.3.x
Closes gh-41707
2024-08-07 11:42:24 +02:00
Stéphane Nicoll
a81c8d92c1 Upgrade to Awaitility 4.2.2
Closes gh-41706
2024-08-07 11:39:04 +02:00
Nikola Kološnjaji
2a123b3e27 Fix typo in Grafana ConnectionDetailsFactory javadoc
See gh-41705
2024-08-06 16:47:48 -05:00
Moritz Halbritter
4fcd998c4d Fix IntegrationAutoConfigurationTests for Java 21 2024-08-06 11:47:44 +02:00
Moritz Halbritter
0261784443 Fix DockerComposeFileTests on Windows 2024-08-06 09:37:53 +02:00
Moritz Halbritter
abe3ee6831 Merge pull request #41695 from facewise
* pr/41695:
  Make IntegrationTaskSchedulerConfiguration virtual threads aware

Closes gh-41695
2024-08-06 09:33:32 +02:00
facewise
7872d8ab41 Make IntegrationTaskSchedulerConfiguration virtual threads aware
See gh-41695
2024-08-06 09:33:17 +02:00
Stéphane Nicoll
90f847d454 Merge branch '3.3.x'
Closes gh-41696
2024-08-05 16:29:32 +02:00
Stéphane Nicoll
7607bf1ab8 Document that repackage should not be used on the command-line
This commit clarifies how we intend the spring-boot:repackage goal to
be used. As it operates on the source jar (or war) that must be
effectively up-to-date to produce an accurate result, the package phase
must have run.

Contrary to build-image that was designed to be used on the command-line
by forking a package lifecycle first, repackage does not do that. This
commit also clarifies that by providing a more focused error message.

Closes gh-22317
2024-08-05 16:16:09 +02:00
Stéphane Nicoll
8bff866211 Polish
See gh-16199
2024-08-05 14:45:42 +02:00
Stéphane Nicoll
40300908ea Include vendor properties in auto-configured EntityManagerFactoryBuilder
This commit moves the setup of vendor properties (e.g. Hibernate) from
the auto-configured LocalContainerEntityManagerFactoryBean to the
auto-configured EntityManagerFactoryBuilder. This way, custom use of
the latter retains additional auto-configuration logic such as the
naming strategy and DDL mode to use.

Closes gh-15318
2024-08-05 14:10:07 +02:00
Moritz Halbritter
4eebb8e629 Support multiple Docker Compose files
Closes gh-41691
2024-08-05 12:26:37 +02:00
Stéphane Nicoll
c7e29b7b1b Polish 2024-08-05 08:36:41 +02:00
Stéphane Nicoll
bfeeb6dc4e Relax requirements for NoUniqueBeanDefinitionFailureAnalyzer
This commit relaxes the requirements for a non-null description to
handle a NoUniqueBeanDefinitionException. This can happen if the
exception has been thrown programmatically and no injection point
is available.

This allows the programmatic exception thrown when multiple cache
managers are found to be handled properly.

Closes gh-13348
2024-08-02 16:52:03 +02:00
Stéphane Nicoll
efaebb1351 Document unsupported Freemarker properties with WebFlux
This commit updates the configuration metadata and the reference guide
to mention that certain FreeMarker features are not available with
WebFlux.

This stems mostly from the fact that the WebFlux integration is not
based on a AbstractTemplateView.

Closes gh-11199
2024-08-02 15:06:35 +02:00
Stéphane Nicoll
a2fafa112f Add support for customizing FreeMarker variables
This commit updates the auto-configuration to allow custom FreeMarker
variables to be provided programmatically. As these variables are
usually objects, they cannot be specified via properties.

Closes gh-8965
2024-08-02 11:52:27 +02:00
Scott Frederick
9e3e067a4c Add support for CNB platform API version 0.14
Closes gh-41549
2024-08-01 17:10:41 -05:00
Moritz Halbritter
166926881f Read PID and version used in startup logging from the environment
See gh-41604
2024-08-01 16:14:18 +02:00
Stéphane Nicoll
788417df7f Remove duplicate metadata for Enum default values
See gh-7562
2024-08-01 15:43:22 +02:00
Stéphane Nicoll
477bd7d15a Detect default enum value
This commit improves the configuration metadata annotation processor to
detect a default enum value. The algorithm is best-effort, similarly to
what it already does for well known prefixes (period, duration, etc).

Based on an expression and an identifier, the default value is inferred
if the expression matches the declaration of the property type.

See gh-7562
2024-08-01 15:43:21 +02:00
Moritz Halbritter
f4b4f4f0bf Make PID and application version available in the environment
Adds the following new properties:

- spring.application.pid
- spring.application.version

Refactors the ResourceBanner and the structured logging support to use
the new properties.

Closes gh-41604
2024-08-01 15:03:41 +02:00
Stéphane Nicoll
518bc69bb7 Merge branch '3.3.x'
Closes gh-41684
2024-08-01 14:56:22 +02:00
Stéphane Nicoll
218e7aa993 Merge branch '3.2.x' into 3.3.x
Closes gh-41683
2024-08-01 14:56:05 +02:00
Stéphane Nicoll
815ab7df94 Add missing default value for Pulsar properties
Closes gh-41682
2024-08-01 14:54:28 +02:00
Andy Wilkinson
d431177f7d Merge branch '3.3.x'
Closes gh-41681
2024-08-01 13:31:44 +01:00
Andy Wilkinson
7f18952d87 Merge branch '3.2.x' into 3.3.x
Closes gh-41678
2024-08-01 13:30:58 +01:00
Andy Wilkinson
f6334ca186 Make reactive Elastic repositories back off without Reactor
Fixes gh-41672
2024-08-01 13:30:14 +01:00
Brian Clozel
1738e0c743 Reply with HTTP 415 for unsupported GraphQL content-type
Prior to this commit, the configured GraphQL routes would reply with an
HTTP 404 status when a POST request is sent with an unsupported content
type, such as "text/plain". While such requests are not supported in the
first place, we should help developers and let them know that the
content type sent is the problem.

This commit configures new routes that reply with HTTP 415 "Unsupported
Media Type" for these cases.

Closes gh-41675
2024-08-01 14:29:45 +02:00
Stéphane Nicoll
e2a984c75f Merge branch '3.3.x'
Closes gh-41677
2024-08-01 14:28:40 +02:00
Stéphane Nicoll
c27209085c Merge branch '3.2.x' into 3.3.x
Closes gh-41676
2024-08-01 14:27:20 +02:00
Stéphane Nicoll
4d66084c73 Add missing default value for aggregation-temporality property
Closes gh-41674
2024-08-01 14:23:17 +02:00
Stéphane Nicoll
97c516a7aa Merge branch '3.3.x'
Closes gh-41673
2024-08-01 13:49:28 +02:00
Stéphane Nicoll
58ff683a0f Add missing default value for server.error.include-path
Closes gh-41667
2024-08-01 13:43:47 +02:00
Stéphane Nicoll
26be24acad Merge branch '3.3.x'
Closes gh-41671
2024-08-01 13:33:23 +02:00
Stéphane Nicoll
479e88ea89 Merge branch '3.2.x' into 3.3.x
Closes gh-41670
2024-08-01 13:33:13 +02:00
Stéphane Nicoll
b9d8bc4715 Add missing default value for client-provider-type property
Closes gh-41666
2024-08-01 13:26:17 +02:00
Stéphane Nicoll
e49a2daf38 Merge branch '3.3.x'
Closes gh-41662
2024-07-31 17:04:21 +02:00
Stéphane Nicoll
8ea6d3c92e Merge branch '3.2.x' into 3.3.x
Closes gh-41661
2024-07-31 17:04:01 +02:00
Stéphane Nicoll
200fc15b5d Detect backup jar when the package lifecycle is forked
Previously, if a classifier was set and build-image was executed from
the command-line, the build will fail as the plugin was unable to find
the original jar. This is because it relies on the attached artifacts
of the project, and those are not set when package has run as part of
a forked lifecycle.

This commit makes sure that the backup file is found by convention
first, the same way it is done for the target file.

Closes gh-26721
2024-07-31 17:01:00 +02:00
Phillip Webb
8287cc7610 Merge branch '3.3.x' 2024-07-31 11:37:02 +01:00
Phillip Webb
de3744fcd1 Use javadoc macro for more links in adoc files
See gh-41605
2024-07-31 11:33:29 +01:00
Scott Frederick
f2479bd4a6 Polish documentation
See gh-40944
2024-07-30 15:25:08 -05:00
Scott Frederick
dfab18c965 Add imagePlatform option for image building
An `imagePlatform` option for the Maven and Gradle image-building
goal/task can be used to specify the os/architecture of any
builder, run, and buildpack images that are pulled during image
building.

Closes gh-40944
2024-07-30 14:19:40 -05:00
Phillip Webb
67bae524b2 Merge branch '3.3.x' 2024-07-30 13:12:24 +01:00
Phillip Webb
2c268b0773 Add more javadoc links for Antora to use
See gh-41614
2024-07-30 13:11:17 +01:00
Phillip Webb
fb72345491 Polish JsonWriter API 2024-07-30 13:06:48 +01:00
Stéphane Nicoll
3e7412fe7e Merge branch '3.3.x'
Closes gh-41653
2024-07-30 11:23:48 +02:00
Stéphane Nicoll
e05a846a1c Merge branch '3.2.x' into 3.3.x
Closes gh-41652
2024-07-30 11:23:39 +02:00
Stéphane Nicoll
59b47e336b Remove invalid checksum policy setting
This might be a copy/paste error as the checksum policy is used for
deploying and our integration tests do not do that.

Closes gh-41651
2024-07-30 11:20:44 +02:00