186 Commits

Author SHA1 Message Date
Jens Schauder
cd11f47fc0 DATAREST-1482 - Prepare next development iteration. 2020-03-11 09:57:41 +01:00
Jens Schauder
d31ecc7503 DATAREST-1482 - Release version 3.3 M4 (Neumann). 2020-03-11 09:47:07 +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
Oliver Drotbohm
3775989ba6 DATAREST-1481 - Explicitly declare MongoDB driver dependency in integration tests. 2020-02-11 23:58:26 +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
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
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
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
Mark Paluch
88f49da22f DATAREST-1467 - Update copyright years to 2020. 2020-01-07 09:02:59 +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
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
7e7767464c DATAREST-1419 - Prepare next development iteration. 2019-09-30 16:17:28 +02:00
Mark Paluch
ee6c55bcc1 DATAREST-1419 - Release version 3.2 GA (Moore). 2019-09-30 15:51:07 +02:00
Mark Paluch
e510640619 DATAREST-1420 - Prepare next development iteration. 2019-09-06 10:21:54 +02:00
Mark Paluch
ffa93761c9 DATAREST-1420 - Release version 3.2 RC3 (Moore). 2019-09-06 10:10:42 +02:00
Greg Turnquist
0b0ffab46b DATAREST-1421 - Polishing. 2019-08-08 10:54:53 -05:00
Greg Turnquist
9c56c3f217 DATAREST-1421 - Deprecate ALPS_JSON and ALPS_JSON_VALUE.
Instead, use Spring HATEAOS's MediaTypes.ALPS_JSON and ALPS_JSON_VALUE.
2019-08-08 10:54:45 -05:00
Mark Paluch
d936712cce DATAREST-1396 - Prepare next development iteration. 2019-08-05 15:53:01 +02:00
Mark Paluch
9704937ed8 DATAREST-1396 - Release version 3.2 RC2 (Moore). 2019-08-05 15:35:35 +02:00
Mark Paluch
c376051c24 DATAREST-1416 - Upgrade to Solr 8.2.0. 2019-08-02 10:18:07 +02:00
Oliver Drotbohm
244c57f712 DATAREST-1414 - Use I18N facilities of Spring HATEOAS more intensively.
We now rely on the MessageResolver capabilities of Spring HATEOAS to benefit of the optimizations in resource bundle resolution. Tweaked a couple of tests to make sure they properly use the resolver resorting to the default message the MessageResourceResolvable exposes.
2019-07-31 18:19:00 +02:00
Mark Paluch
19c261d7d0 DATAREST-1410 - Migrate remaining tests to AssertJ. 2019-07-31 10:06:03 +02:00
Mark Paluch
5eba301d62 DATAREST-1397 - Adapt to CORS changes in AbstractHandlerMapping.
We now enable CORS handling for all requests by overriding the newly introduced hasCorsConfigurationSource method. We cannot detect CORS configuration handling solely on the handler but require path headers to resolve repository interface mappings.
2019-06-21 15:40:07 +02:00
Christoph Strobl
532cfd53f4 DATAREST-1364 - Prepare next development iteration. 2019-06-14 15:12:51 +02:00
Christoph Strobl
0c0df55e89 DATAREST-1364 - Release version 3.2 RC1 (Moore). 2019-06-14 14:44:26 +02:00
Mark Paluch
49605b2b1a DATAREST-1351 - URL Cleanup. 2019-06-05 11:30:39 +02:00
Oliver Drotbohm
b0c0dfa517 DATAREST-1385 - Upgrade to latest Spring Security for tests. 2019-06-05 08:22:46 +02:00
Mark Paluch
03c2ae02aa DATAREST-1366 - Prepare next development iteration. 2019-05-13 12:17:53 +02:00
Mark Paluch
d2abf3ccde DATAREST-1366 - Release version 3.2 M4 (Moore). 2019-05-13 11:59:50 +02:00
Oliver Drotbohm
82b928848b DATAREST-1373 - Upgrade to API changes in Spring HATEOAS 1.0 M2. 2019-05-08 19:49:58 +02:00
Christoph Strobl
b470f5239a DATAREST-1349 - Prepare next development iteration. 2019-04-11 12:00:20 +02:00
Christoph Strobl
d4659f1015 DATAREST-1349 - Release version 3.2 M3 (Moore). 2019-04-11 11:24:31 +02:00
Mark Paluch
1b15634759 DATAREST-1362 - Exclude outdated transient ByteBuddy dependency.
With the upgrade to a newer Mockito version we also require an upgrade to a newer ByteBuddy version. Out Hibernate version pulls an older version of ByteBuddy and so we need to exclude the transient dependency to use the newer ByteBuddy version.
2019-04-10 08:57:37 +02:00
Spring Operator
3a0cba94a2 DATAREST-1351 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 395 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0.html with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200).

Original Pull Request: #352
2019-03-22 10:51:57 +01:00
Spring Operator
c40dab98a1 DATAREST-1351 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 13 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/gemfire/spring-gemfire.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/gemfire/spring-gemfire.xsd ([https](https://www.springframework.org/schema/gemfire/spring-gemfire.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 26 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/gemfire with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 14 occurrences

Original Pull Request: #329
2019-03-21 09:49:23 +01:00
Christoph Strobl
3122c8be59 DATAREST-1353 - Update test dependency for Apache Solr.
Related issue: DATASOLR-515
2019-03-20 15:25:51 +01:00
Christoph Strobl
40bfd50b5d DATAREST-1318 - Prepare next development iteration. 2019-03-07 10:07:29 +01:00
Christoph Strobl
185566a54c DATAREST-1318 - Release version 3.2 M2 (Moore). 2019-03-07 09:42:22 +01:00
Oliver Drotbohm
dc10166679 DATAREST-1304 - EntityLookupConfiguration is now used in PUT for creation.
Previously the backend identifier derived from the URI was set as identifier on the object to be created in a PUT request. However, in case a custom entity lookup is used, this is not the identifier but an arbitrary property pointed to through user defined code, mostly a method reference.

We now use the newly introduced MethodInvocationRecorder API in Spring Data Commons to be able to obtain the property that is supposed to be used and set that to the value calculated. This requires the entity type for which the custom lookup is configured to be non-final as the invocation recording is build on top of proxies.

Related tickets: DATACMNS-1449.
2019-03-06 14:34:58 +01:00
Oliver Drotbohm
d714d10675 DATAREST-1341 - Upgrade to latest API changes in Spring HATEOAS. 2019-03-04 11:42:58 +01:00
Oliver Drotbohm
1bf08180db DATAREST-1341 - Adapt to package refactorings in Spring HATEOAS. 2019-02-27 20:31:59 +01:00
Oliver Drotbohm
554d6cb27b DATAREST-1341 - Further API adaption for Spring HATEOAS 1.0. 2019-02-15 11:10:59 +01:00
Oliver Drotbohm
93b8e68bbf DATAREST-1341 - Move off of Java8PluginRegistry in favor of Spring Plugin's update one. 2019-02-07 20:55:42 +01:00
Greg Turnquist
af6f55a92c DATAREST-1341 - Upgrade to Spring HATEOAS 1.0. 2019-02-07 20:55:42 +01:00