Commit Graph

15 Commits

Author SHA1 Message Date
Moritz Halbritter 1d4b9d372f Add nullability annotations to tests in module/spring-boot-elasticsearch
See gh-47263
2025-10-06 12:03:54 +02:00
Phillip Webb dc341edfdd Add config prop to enabled/disable Elasticsearch sniffer
Closes gh-47301

Co-Authored-By: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-09-23 08:28:51 +01:00
Phillip Webb c1d51f8687 Remove Bitnami support
Closes gh-47267
2025-09-18 14:41:16 -07:00
Phillip Webb 239f384ac0 Update PropertyMapper to better support nullability
Refactor `PropertyMapper` so that it no longer calls adapter or
predicate methods by default when the source value is `null`. This
effectively makes all default calls the same as using
`alwaysWhenNotNull` in the previous generation of the code.

For the limited times when you do need to deal with `null` values, the
new `always()` method can be used.

For example,

	map.from(source::method).to(destination::method);

Will not call `destination.method(...)` if `source.method()` returns
`null`.

Where as:

	map.from(source::method).always().to(destination::method);

Will call  `destination.method(null)` if `source.method()` returns
`null`.

This update provides clearer semantics for the API and allows for better
JSpecify nullability annotations. It has also simplified much of our
existing property mapper code.

Closes gh-47024

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
2025-09-05 14:43:33 -07:00
Andy Wilkinson 86deef6abf Polish "Add support for Elasticsearch API-key-based authentication"
See gh-46167
2025-09-04 12:08:25 +01:00
Laura Trotta 9a70591f31 Add support for Elasticsearch API-key-based authentication
See gh-46167

Signed-off-by: Laura Trotta <laura.trotta@elastic.co>
2025-09-04 12:01:28 +01:00
Andy Wilkinson d353038c58 Update Jackson support to require Jackson 3
Closes gh-45535
2025-09-02 11:37:09 +01:00
Moritz Halbritter db5680a79c Merge branch '3.5.x' 2025-08-28 14:04:26 +02:00
Moritz Halbritter 7ad90fb963 Improve null-safety of core/spring-boot-docker-compose
See gh-46926
2025-08-26 14:22:53 +02:00
Andy Wilkinson b42a060d0a Merge branch '3.5.x'
Closes gh-46943
2025-08-22 11:59:17 +01:00
Andy Wilkinson 5f929efdf6 Fix Elasticsearch REST client's SSL configuration
See gh-46061
2025-08-04 14:47:31 +01:00
Andy Wilkinson f9ebd0d4fc Migrate from RestClient to new Rest5Client
Closes gh-46061
2025-08-04 10:08:49 +01:00
Moritz Halbritter 5ac6dfcffb Add nullability annotations to module/spring-boot-elasticsearch
See gh-46587
2025-07-30 14:20:39 +02:00
Moritz Halbritter c0f1f641ce Make auto-configurations final and remove public members
Closes gh-32883
2025-07-29 09:48:49 +02:00
Phillip Webb decc32dde3 Restructure project directories to better fit Gradle
Closes gh-46358
2025-07-10 17:54:08 -07:00