Commit Graph

1917 Commits

Author SHA1 Message Date
Andy Wilkinson
492a4abd70 Merge branch '3.3.x' into 3.4.x
Closes gh-45645
2025-05-23 09:29:23 +01:00
Andy Wilkinson
7628ae8503 Check Kotlin code using Detekt
Closes gh-45583
2025-05-23 09:22:08 +01:00
Stéphane Nicoll
b3f3b06fdb Merge branch '3.3.x' into 3.4.x
Closes gh-45556
2025-05-15 08:27:24 +02:00
Yanming Zhou
0d153dd91a Remove unused imports in sample
See gh-45554

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-05-15 08:27:01 +02:00
Phillip Webb
bd40779bc6 Merge branch '3.3.x' into 3.4.x
Closes gh-45552
2025-05-14 18:14:00 -07:00
Phillip Webb
27c4d1ff24 Document the way that primary Kotlin constructors are used when binding
Improve constructor binding documentation for Kotlin and add a test
to prove a no-param primary constructor disables constructor binding.

Closes gh-44849
2025-05-14 18:13:54 -07:00
Phillip Webb
19ae4fbba7 Merge branch '3.3.x' into 3.4.x
Closes gh-45366
2025-05-05 22:10:17 -07:00
Phillip Webb
8814d8a7dc Polish 'Document methods of starting Testcontainer containers'
See gh-44187
2025-05-05 22:09:24 -07:00
Vanio Begic
4a98b1787f Document methods of starting Testcontainer containers
Update the reference documentation to provide more details about the
three supported methods of starting Testcontainer containers.

See gh-44187

Signed-off-by: Vanio Begic <vanio.begic123@gmail.com>
2025-05-05 22:08:06 -07:00
Phillip Webb
f172c2ca8f Merge branch '3.3.x' into 3.4.x 2025-04-28 12:20:08 -07:00
Phillip Webb
b2e691be02 Update copyright year of changed files 2025-04-28 12:20:02 -07:00
Phillip Webb
708062ec1d Merge branch '3.3.x' into 3.4.x 2025-04-28 12:15:47 -07:00
Phillip Webb
428fa6d941 Fix copyright headers to consistently start with project inception year 2025-04-28 12:15:32 -07:00
Stéphane Nicoll
e06244d007 Adapt EntityManagerFactoryBuilder to work with multiple data sources
This commit allows EntityManagerFactoryBuilder to provide the JPA
properties to use according to the DataSource used to build the
EntityManagerFactory. Previously the JPA properties were computed only
once based on the primary data source, which was a problem since its
default DDL setting may be different.

EntityManagerFactoryBuilder takes a function that provides the JPA
properties based on a data source, rather than the properties
themselves. Constructors with the previous variant have been deprecated
as a result.

Closes gh-44516
2025-03-06 15:33:53 +01:00
Stéphane Nicoll
a5ed3e6aed Merge branch '3.3.x' into 3.4.x
Closes gh-44420
2025-02-24 08:23:45 +01:00
Stéphane Nicoll
41656bf4ee Update copyright of changed files
See gh-44413
2025-02-24 08:21:07 +01:00
Tran Ngoc Nhan
ae2cfebd93 Fix typo in fold attribute
See gh-44413

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-24 08:19:57 +01:00
Johnny Lim
4d15ee5bf0 Polish
See gh-43498
2024-12-13 13:29:20 -08:00
Stéphane Nicoll
d8c41c2583 Defensively unwrap CacheConnectionFactory
This commit refines the optimization introduced in gh-39816 to only
unwrap our own caching connection factory. The more advanced unwrap
algorithm is still available, but opt-in only.

Unwrapping more aggressively may break use cases where the wrapped
ConnectionFactory is required, i.e. for transactional purposes.

Closes gh-43277
2024-11-26 19:56:32 +01:00
Andy Wilkinson
fcd58bdb53 Merge branch '3.3.x'
Closes gh-43059
2024-11-07 12:21:47 +00:00
Andy Wilkinson
519ec86c99 Merge branch '3.2.x' into 3.3.x
Closes gh-43058
2024-11-07 11:26:37 +00:00
Andy Wilkinson
0be9fd91ab Separate type customization from additional DataSource configuration
Closes gh-43054
2024-11-07 11:03:48 +00:00
Phillip Webb
39da14ea80 Update web services documentation and samples
Closes gh-42887
2024-10-25 18:06:47 -07:00
Phillip Webb
2208c67f22 Add 'Global HTTP Client Configuration' reference docs section
Update documentation with information on how to configure the HTTP
client globally.

Closes gh-42888
2024-10-25 18:06:47 -07:00
Phillip Webb
a92001130f Deprecate ClientHttpRequestFactories
Deprecate `ClientHttpRequestFactories` and refactor its internals to
delegate to the new `ClientHttpRequestFactoryBuilder` interface.

Closes gh-36266
2024-10-25 02:45:35 -07:00
Phillip Webb
6356e904fc Update web services support to use ClientHttpRequestFactoryBuilder
Add a new `WebServiceMessageSenderFactory` factory interface to replace
`HttpWebServiceMessageSenderBuilder`. The factory provides a general
purpose way of creating `WebServiceMessageSender` instances, but most
typically will be `ClientHttpRequestMessageSender` created from a
`ClientHttpRequestFactoryBuilder`.

A new `httpMessageSenderFactory` method has been added to the
`WebServiceTemplateBuilder` class. This allows any sender to be
plugged into the template.

Closes gh-42886
2024-10-25 02:45:35 -07:00
Phillip Webb
0a4ac283d0 Rename RestTemplateBuilder 'set' methods
Rename `RestTemplateBuilder` methods for consistency:

* `setConnectTimeout` -> `connectTimeout`
* `setReadTimeout` -> `readTimeout`
* `setSslBundle` -> `sslBundle`

Closes gh-42884
2024-10-25 02:45:35 -07:00
Phillip Webb
2f5f224559 Merge branch '3.3.x' 2024-10-18 10:49:15 -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
Phillip Webb
168d82e138 Polish 2024-10-18 10:47:52 -07: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
d9668672f8 Merge branch '3.3.x'
Closes gh-42721
2024-10-16 14:14:50 -07:00
Tran Ngoc Nhan
6be4a07e05 Fix typos and formatting errors in documentation
See gh-42718
2024-10-16 14:14:16 -07:00
Moritz Halbritter
c36d5297d2 Merge branch '3.3.x'
Closes gh-42673
2024-10-14 15:54:59 +02:00
Moritz Halbritter
4d29800e32 Merge branch '3.2.x' into 3.3.x
Closes gh-42672
2024-10-14 15:54:37 +02:00
Moritz Halbritter
0a3418cd40 Document how Map properties are bound from environment variables
Closes gh-40936
2024-10-14 15:47:47 +02:00
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
Andy Wilkinson
3c095b4ec2 Prefer DynamicPropertyRegistar to DynamicPropertyRegistry
Closes gh-41996
2024-10-10 15:25:44 +01:00
Moritz Halbritter
bc3bcd68d6 Polish "Added documentation for configuring OpenTelemetry SDK logs"
See gh-41825
2024-09-05 16:59:19 +02:00
Phillip Webb
b05336d218 Merge branch '3.3.x' 2024-09-03 21:05:05 -07:00
Andy Wilkinson
2f9bc79fff Merge branch '3.3.x'
Closes gh-42096
2024-09-03 10:10:42 +01:00
Andy Wilkinson
d2f0b2b090 Correct package statements of Testing section's Kotlin snippets
Closes gh-42094
2024-09-03 10:05:19 +01:00
Andy Wilkinson
2ecb4ebd49 Ignore non-default candidates in type-based matching
Closes gh-22403
2024-08-20 14:36:12 +01:00
Stéphane Nicoll
f3693070ca Merge branch '3.3.x'
Closes gh-41950
2024-08-20 08:43:58 +02:00
Stéphane Nicoll
d62a5ac947 Merge branch '3.2.x' into 3.3.x
Closes gh-41949
2024-08-20 08:43:45 +02:00