Commit Graph

288 Commits

Author SHA1 Message Date
Mark Paluch
be176936b7 Prepare next development iteration.
See #2320
2023-11-17 13:40:59 +01:00
Mark Paluch
ce1d04581b Release version 4.1.6 (2023.0.6).
See #2320
2023-11-17 13:38:04 +01:00
John Blum
8ef6d1ea32 Prepare next development iteration.
See #2309
2023-10-13 08:09:32 -07:00
John Blum
767c548170 Release version 4.1.5 (2023.0.5).
See #2309
2023-10-13 08:01:14 -07:00
Mark Paluch
eb54207c1f Prepare next development iteration.
See #2302
2023-09-15 10:55:34 +02:00
Mark Paluch
c0441c349a Release version 4.1.4 (2023.0.4).
See #2302
2023-09-15 10:52:26 +02:00
Oliver Drotbohm
ea1d4bd670 Upgrade to Spring Security 6.1.3.
Fixes #2306.
2023-09-11 21:38:43 +02:00
Mark Paluch
ebaac9960c Prepare next development iteration.
See #2291
2023-08-18 14:07:34 +02:00
Mark Paluch
9e57d8e2de Release version 4.1.3 (2023.0.3).
See #2291
2023-08-18 14:04:04 +02:00
Mark Paluch
75cc52dbc3 Prepare next development iteration.
See #2274
2023-07-14 13:57:57 +02:00
Mark Paluch
98cd673317 Release version 4.1.2 (2023.0.2).
See #2274
2023-07-14 13:54:07 +02:00
John Blum
d30e1f4aca Prepare next development iteration.
See #2259
2023-06-16 08:13:28 -07:00
John Blum
91a38726f5 Release version 4.1.1 (2023.0.1).
See #2259
2023-06-16 08:05:36 -07:00
Oliver Drotbohm
a33f2de445 Move off deprecation in Spring Security configuration for tests.
Related ticket #2271.
2023-06-13 13:35:39 +02:00
Oliver Drotbohm
a30b7c87d6 Upgrade to Spring Security 6.1 for testing.
Also, to ensure Spring Framework 6.1 compatibility.

Fixes #2271.
2023-06-13 11:49:42 +02:00
Christoph Strobl
bfca1dfa0b Prepare next development iteration.
See #2255
2023-05-12 14:19:10 +02:00
Christoph Strobl
e1877c3f9f Release version 4.1 GA (2023.0.0).
See #2255
2023-05-12 14:14:39 +02:00
Oliver Drotbohm
9020e1d10d Upgrade optional Jackson/JPA integration to Hibernate 6.
Fixes #2234.
2023-05-03 23:01:57 +02:00
Greg L. Turnquist
3a7c81df17 Prepare next development iteration.
See #2243
2023-04-14 11:59:58 -05:00
Greg L. Turnquist
2039a15e59 Release version 4.1 RC1 (2023.0.0).
See #2243
2023-04-14 11:54:00 -05:00
Christoph Strobl
e5bc3be69a Prepare next development iteration.
See #2229
2023-03-20 15:05:34 +01:00
Christoph Strobl
00884c09c7 Release version 4.1 M3 (2023.0.0).
See #2229
2023-03-20 15:01:48 +01:00
Oliver Drotbohm
e4bca534bf Support to receive aggregate references as request parameters.
We now support using AggregateReference as type to bind request parameters taking URIs pointing to related aggregates. The default resolution will try to resolve the entire URI via UriToEntityConverter but one can also provide a function that can extract any part of the URI to be then resolved into either an identifier, aggregate instance or jMolecules Association against the ConversionService.

Fixes #2239.
2023-03-19 23:56:39 +01:00
Oliver Drotbohm
6d0034f15f Support for query methods returning a Slice.
Built on the the just introduced RepresentationModelAssembler implementations based on Slice in Spring HATEOAS and Spring Data Commons we now support returning a SlicedModel from the controller backing search resources ultimately triggering repository query methods.

The introduction triggered the refactoring to introduce RepresentationModelAssemblers (RMA) to remove the need for controllers inheriting from AbstractRepositoryController to access RepresentationModel assembly functionality. RMA acts as a facade for both Paged-/SlicedResourceAssembler as well as PersistentEntityResourceAssembler.

Fixes #2235.
2023-03-02 17:20:09 +01:00
Oliver Drotbohm
fb1924286a Use FormattingConversionService in JSON Patch binding.
We no pipe the Spring MVC ConversionService into the JSON Patch path binding. That usually is a FormattingConversionService at runtime and also supports the conversion of dates.

The ConversionServices is configured into the BindContext(Factory) we use for binding. The context then exposes the EvaluationContext set up with it.

Fixes #2233.
2023-02-21 18:43:19 +01:00
Oliver Drotbohm
d02d1bb0c1 Support for returning response bodies on deletion of item resources.
RepositoryRestConfiguration now allows to configure to return a response body for the deletion of item resources. The controller implementation follows the same patter we have already established for creation and updates: unless explicitly enabled or disabled we now consider the presence of an accept header as indicator of whether a response body should be rendered.

This could be a "breaking" change for clients having explicitly expected 204 until now even for requests with an Accept header. If that's an issue, those should either explicitly disable the setting, do not submit an Accept header or loosen their expectations to expect either 200 or 2xx as indicator of success in general.

Fixes #2225.
2023-02-21 17:25:28 +01:00
Christoph Strobl
8443df3e7d Prepare next development iteration.
See #2228
2023-02-17 14:25:46 +01:00
Christoph Strobl
45d57fe97d Release version 4.1 M2 (2023.0.0).
See #2228
2023-02-17 14:22:31 +01:00
Christoph Strobl
61f9db5935 Prepare next development iteration.
See #2204
2023-02-17 13:31:53 +01:00
Christoph Strobl
3c32219d6b Release version 4.1 M1 (2023.0.0).
See #2204
2023-02-17 13:27:50 +01:00
Mark Paluch
20354cdf7b Upgrade to MongoDB Driver 4.9.0.
Closes #2224
2023-02-14 10:52:50 +01:00
Oliver Drotbohm
77c0322d1b Upgrade test source compile level to Java 17.
Also, remove custom Jackson library version for Hibernate integration.
2023-01-09 16:47:53 +01:00
Oliver Drotbohm
b77f6cead7 Additional test cases for default CORS setup on repositories.
We now also assert on the Access-Control-Allow-Origin to default to * in case no more detailed configuration was set up.

Issue #2208.
2023-01-09 16:41:48 +01:00
Oliver Drotbohm
1bfa83cb73 Register per-repository pattern for observability purposes.
The standard Spring MVC observability integration registers the plain request pattern for observations. For our repository controllers that would result in one pattern registered for all individual repository resources (e.g. /{repository}/{id} etc.). However, the insights users would like to gain rather follows the individual repositories exposed. That's why we have so far exposed repository specific path pattern (/myrepo/{id}) via a custom request attribute. To adhere to the new observability integration of Spring Framework 6, we need to expose that particular pattern on the ServerRequestObservationContext, too.

Fixes #2212.
2023-01-09 15:31:57 +01:00
Mark Paluch
f0e86b9a17 Extend license header copyright years to 2023.
See #2211
2023-01-02 09:53:37 +01:00
Mark Paluch
98aefe0c85 Prepare next development iteration.
See #2190
2022-11-18 14:30:19 +01:00
Mark Paluch
eb10fb1e41 Release version 4.0 GA (2022.0.0).
See #2190
2022-11-18 14:26:23 +01:00
Mark Paluch
f74daa349a Upgrade to MongoDB Driver 4.8.0.
Closes #2201
2022-11-17 09:12:30 +01:00
Mark Paluch
f69ff86d59 Bump test dependency versions.
See #2195
2022-11-07 15:54:47 +01:00
Mark Paluch
c3c9da67f2 Upgrade to JPA API 3.1 and Servlet API 6.1.
Closes #2195
2022-11-07 15:54:22 +01:00
Mark Paluch
da86021c12 Prepare next development iteration.
See #2192
2022-11-04 15:26:38 +01:00
Mark Paluch
fd5715c829 Release version 4.0 RC2 (2022.0.0).
See #2192
2022-11-04 15:23:17 +01:00
Mark Paluch
9c05312d36 Prepare next development iteration.
See #2180
2022-10-13 17:31:15 +02:00
Mark Paluch
47f2ac1a8a Release version 4.0 RC1 (2022.0.0).
See #2180
2022-10-13 17:24:25 +02:00
Mark Paluch
ce64c552a3 Remove Geode tests.
Closes #2189
2022-10-13 16:37:43 +02:00
Mark Paluch
a72a767bcf Switch to Jackson Hibernate module 2.13.4.
This is because the micropatch hasn't released the Hibernate module.

See #2180
2022-10-13 09:05:30 +02:00
Spring Builds
0450c88dfe Prepare next development iteration.
See #2162
2022-09-19 14:38:58 +00:00
Spring Builds
04c620ce40 Release version 4.0 M6 (2022.0.0).
See #2162
2022-09-19 14:15:25 +00:00
Oliver Drotbohm
5d0687d1a1 Improve JSON Patch implementation.
Refactor JSON Patch application implementation to improve the property detection for which values are supposed to be set.

Fixes #2177.
2022-09-19 10:21:19 +02:00
Christoph Strobl
5a4f98213c Prepare next development iteration.
See #2144
2022-07-15 15:30:46 +02:00