Commit Graph

1224 Commits

Author SHA1 Message Date
Mark Paluch
abedcd130a DATAREST-1491 - Adapt to Mockito 3.3 changes. 2020-03-11 09:34:57 +01:00
Mark Paluch
0f79ac7bb0 DATAREST-1474 - Updated changelog. 2020-02-26 11:55:04 +01:00
Mark Paluch
da3c1512be DATAREST-1473 - Updated changelog. 2020-02-26 11:31:47 +01:00
Thomas Mrozinski
07039a2838 DATAREST-1068 - Resize array during merge.
When merging new data into a PersistentEntity, JsonNodes of array types were deserialized into immutable Lists, but the list is later mutated if the source and target arrays are of different sizes. This commit ensures that an array is deserialized into a mutable list.

Original pull request: #371.
2020-02-26 09:59:21 +01:00
Greg Turnquist
55a70093db DATAREST-1483 - Upgrade to Hibernate 5.4.8.
Migrate to the version of Hibernate used by Spring Data JPA.
2020-02-20 14:21:46 -06:00
Greg Turnquist
1b93eb75ef DATAREST-1483 - Enable MongoDB for CI testing. 2020-02-20 14:21:31 -06:00
Oliver Drotbohm
ac95b17acd DATAREST-582 - Add unit test to makes sure method is invoked on proxy.
See this Twitter thread for details: https://twitter.com/PreAuthorize/status/1227865219264741376
2020-02-13 17:13:35 +01:00
Mark Paluch
f5bc8a9304 DATAREST-1478 - After release cleanups. 2020-02-12 15:04:22 +01:00
Mark Paluch
7fb881fa23 DATAREST-1478 - Prepare next development iteration. 2020-02-12 15:04:21 +01:00
Mark Paluch
b09744fe31 DATAREST-1478 - Release version 3.3 M3 (Neumann). 2020-02-12 14:47:16 +01:00
Mark Paluch
35bd775346 DATAREST-1478 - Prepare 3.3 M3 (Neumann). 2020-02-12 14:46:56 +01:00
Mark Paluch
d9327da00c DATAREST-1478 - Updated changelog. 2020-02-12 14:46:54 +01:00
Oliver Drotbohm
3775989ba6 DATAREST-1481 - Explicitly declare MongoDB driver dependency in integration tests. 2020-02-11 23:58:26 +01:00
Oliver Drotbohm
2c438e595d DATAREST-1480 - Let CI builds use the it profile to run integration tests. 2020-02-11 23:51:13 +01:00
Mark Paluch
ff978457f2 DATAREST-1476 - After release cleanups. 2020-01-17 09:47:50 +01:00
Mark Paluch
7e2b0d4b9f DATAREST-1476 - Prepare next development iteration. 2020-01-17 09:47:49 +01:00
Mark Paluch
2e31e3c33d DATAREST-1476 - Release version 3.3 M2 (Neumann). 2020-01-17 09:39:03 +01:00
Mark Paluch
21d4a744db DATAREST-1476 - Prepare 3.3 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
13b754bf78 DATAREST-1476 - Updated changelog. 2020-01-17 09:38:41 +01:00
Mark Paluch
34a791b81c DATAREST-1432 - After release cleanups. 2020-01-16 16:11:55 +01:00
Mark Paluch
589b37eb8a DATAREST-1432 - Prepare next development iteration. 2020-01-16 16:11:54 +01:00
Mark Paluch
5c1d92ab95 DATAREST-1432 - Release version 3.3 M1 (Neumann). 2020-01-16 16:05:23 +01:00
Mark Paluch
15ef3571aa DATAREST-1432 - Prepare 3.3 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
13efc90f6e DATAREST-1432 - Updated changelog. 2020-01-16 16:05:01 +01:00
Mark Paluch
52104eb662 DATAREST-1475 - Migrate GemFire tests to Geode.
The GemFire module is now a submodule of Spring Data for Apache Geode so we're now testing against the Geode toplevel module.
2020-01-16 10:47:22 +01:00
Mark Paluch
086f6c2f1e DATAREST-1462 - Updated changelog. 2020-01-15 12:51:13 +01:00
Mark Paluch
99f8d5e841 DATAREST-1461 - Updated changelog. 2020-01-15 10:36:35 +01:00
Christoph Strobl
bccd89b512 DATAREST-1471 - Upgrade to Apache Solr 8.4. 2020-01-15 07:53:39 +01:00
Christoph Strobl
62b89c4c9a DATAREST-1472 - Switch to com.mongodb.client.MongoClient. 2020-01-15 07:38:44 +01:00
Oliver Drotbohm
d8c3394cd7 DATAREST-1470 - Switched to use factory methods of RepresentationModel types. 2020-01-14 14:51:18 +01:00
Oliver Drotbohm
b3d6bbdf9b DATAREST-1453 - Polishing.
Use proper parent POM.
2020-01-13 19:10:49 +01:00
Mark Paluch
e23e3be55d DATAREST-1468 - Bump Cassandra and MongoDB modules to next major version. 2020-01-13 14:35:41 +01:00
Greg Turnquist
5982633098 DATAREST-1453 - Enable JDK 11+ builds. 2020-01-09 10:34:20 -06:00
Mark Paluch
88f49da22f DATAREST-1467 - Update copyright years to 2020. 2020-01-07 09:02:59 +01:00
Oliver Drotbohm
205e487317 DATAREST-1460 - PersistentEntityResourceMappings now uses thread-safe caches. 2019-12-09 18:04:50 +01:00
Oliver Drotbohm
2b8e7afbf3 DATAREST-1463 - Adapt to API changes in LinkBuilderSupport. 2019-12-09 10:21:13 +01:00
Jens Schauder
406a3a1ff1 DATAREST-1456 - Updated changelog. 2019-12-04 14:32:46 +01:00
Jens Schauder
3f4c4836eb DATAREST-1455 - Updated changelog. 2019-12-04 12:09:49 +01:00
Oliver Drotbohm
9010a9d132 DATAREST-1458 - Fixed rendering of compact view to association resources.
The usage of text/uri-list as media type was entirely broken and not even advertised in the reference docs anymore. It's now again supported for both to-one and to-many associations via Collections. Maps are rejected as they cannot be rendered as list of URIs correctly. Updated reference documentation accordingly.

Added a custom MapModel implementation of RepresentationModel as apparently using Maps with EntityModel does not unwrap the content properly due to [0].

[0] https://github.com/FasterXML/jackson-databind/issues/171
2019-11-29 17:17:35 +01:00
Mark Paluch
9dd7d6b4b1 DATAREST-1451 - Updated changelog. 2019-11-18 12:43:25 +01:00
Mark Paluch
55ceb65226 DATAREST-1450 - Updated changelog. 2019-11-18 12:16:26 +01:00
Christoph Strobl
f6476740b4 DATAREST-1431 - Updated changelog. 2019-11-04 15:39:57 +01:00
Christoph Strobl
598a3de66e DATAREST-1429 - Updated changelog. 2019-11-04 10:34:52 +01:00
Oliver Drotbohm
28f8e0d397 DATAREST-1440 - Revisited removal of fields in incoming payloads.
We now only remove fields from the payload in case there's no @JsonAnySetter on the target entity.
2019-11-04 09:09:59 +01:00
Oliver Drotbohm
8689c1bb5b DATAREST-1446 - Polishing.
Test cases.

Original pull request: #366.
2019-10-28 15:00:54 +01:00
Javier Grande Pérez
694079df04 DATAREST-1446 - DefaultExcerptProjector now declines presence of projection if metadata returns Optional.empty().
If no excerpt projection is exposed by the underlying ResourceMetadata, DefaultExcerptProjector now also properly declines its existence in ….hasExcerptProjection(…). Previously, it always indicated a presence as it improperly used a null check rather than calling Optional.isPresent().

Original pull request: #366.
2019-10-28 14:57:57 +01:00
Greg Turnquist
b016c0b125 DATAREST-1356 - Polishing. 2019-10-21 13:03:04 -05:00
Ľubomír Varga
202a8aa302 DATAREST-1356 - Fix updating single associations.
Correct a regression regarding association links. Introduce several test cases to prove this situation is fixed regarding PUTs for association links.

Source of the bug: 554d6cb27b (diff-1d7c16fe1992fef13a47fa8ab8599718L317) flips the criteria from "not single" to "single" without checking for related impacts.
2019-10-21 13:02:45 -05:00
Mark Paluch
7b94a9d115 DATAREST-1436 - Reintroduce hamcrest dependency.
Related ticket: spring-projects/spring-data-build#907.
2019-10-14 12:34:01 +02:00
Mark Paluch
a376634916 DATAREST-1430 - Publish Javadoc jar for HAL Browser/HAL Explorer.
We now publish an empty javadoc jar to be able to deploy to Maven Central.
2019-10-01 08:35:34 +02:00