Commit Graph

300 Commits

Author SHA1 Message Date
Mark Paluch
090dcfe6fc Prepare next development iteration.
See #2374
2024-04-12 09:34:52 +02:00
Mark Paluch
71ff39a8a6 Release version 4.1.11 (2023.0.11).
See #2374
2024-04-12 09:32:44 +02:00
Mark Paluch
d748eb0413 Prepare next development iteration.
See #2366
2024-03-15 09:28:52 +01:00
Mark Paluch
2c07786b3e Release version 4.1.10 (2023.0.10).
See #2366
2024-03-15 09:26:26 +01:00
Oliver Drotbohm
d53cc79901 Upgrade to Spring Security 6.1.7 for integration tests.
Fixes GH-2373.
2024-03-14 10:40:06 +01:00
Mark Paluch
33ff048f3a Prepare next development iteration.
See #2353
2024-02-16 08:58:35 +01:00
Mark Paluch
ed8a437684 Release version 4.1.9 (2023.0.9).
See #2353
2024-02-16 08:55:43 +01:00
Mark Paluch
748add0335 Prepare next development iteration.
See #2344
2024-01-12 10:03:24 +01:00
Mark Paluch
0e68bdb117 Release version 4.1.8 (2023.0.8).
See #2344
2024-01-12 10:00:16 +01:00
Mark Paluch
aeab3e6b69 Extend license header copyright years to 2024.
See #2347
2024-01-02 10:58:58 +01:00
Mark Paluch
6391b03d98 Prepare next development iteration.
See #2331
2023-12-15 13:18:16 +01:00
Mark Paluch
be7b895515 Release version 4.1.7 (2023.0.7).
See #2331
2023-12-15 13:15:05 +01:00
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