322 Commits

Author SHA1 Message Date
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
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
205e487317 DATAREST-1460 - PersistentEntityResourceMappings now uses thread-safe caches. 2019-12-09 18:04:50 +01: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
Oliver Drotbohm
051479481b DATAREST-1426 - Use Spring Plugin version property from Spring Data Build.
Related ticket: spring-projects/spring-data-build#886
Original pull request: #363.
2019-09-24 10:54:34 +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
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
19c261d7d0 DATAREST-1410 - Migrate remaining tests to AssertJ. 2019-07-31 10:06:03 +02:00
Oliver Drotbohm
4a48be3ff7 DATAREST-1404 - TypeBasedCollectionResourceMapping now avoids repeated annotation lookups.
We're now making use of Lazy to avoid recomputation of annotation based functionality.
2019-06-26 17:46:43 +02:00
Oliver Drotbohm
556e918ef7 DATAREST-1403 - CollectionResourceMapping.getExcerptProjection() now returns Optional. 2019-06-26 17:46:43 +02:00
Oliver Drotbohm
2d994c7076 DATAREST-1401 - RepositoryCollectionResourceMapping now rejects multi-segment path configurations.
Tweaked implementation of lookups to use Lazy to avoid repeated annotation inspections.
2019-06-26 17:46:43 +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
Oliver Drotbohm
7ea19bdc5b DATAREST-1394 - Upgrade to Spring Plugin 2.0 M2. 2019-06-14 01:48:21 +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
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
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
e6c816faad DATAREST-1348 - Upgrade to Spring Plugin 2.0 M1. 2019-03-04 17:02:27 +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
47a759e3c3 DATAREST-1341 - Upgrade to latest API changes in Spring HATEOAS. 2019-03-01 00:26:06 +01:00
Oliver Drotbohm
1bf08180db DATAREST-1341 - Adapt to package refactorings in Spring HATEOAS. 2019-02-27 20:31:59 +01:00
Oliver Drotbohm
900baeb926 DATAREST-1341 - Add Spring MVC as core dependency temporarily.
Previiously, Spring HATEOAS pulled in the Spring WebMVC and apparently CorsRegistry, referenced from RepositoryRestConfiguration (unexpectedly) lives in that module. We now explicitly declare Spring WebMVC as dependency of Spring Data REST Core for the time being until [0] is resolved.

Related tickets: [0] spring-projects/spring-framework#22458
2019-02-22 18:33:12 +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
Mark Paluch
68bfd55982 DATAREST-1330 - Update copyright years to 2019. 2019-01-08 11:47:37 +01:00
Oliver Drotbohm
3ea48a6223 DATAREST-1320 - Polishing. 2018-12-21 15:04:52 +01:00
Oliver Drotbohm
39b897e6d1 DATAREST-1320 - Fixed lookup of cached values in PersistentEntitiesResourceMappings.
We now properly only answer PersistentEntitiesResourceMappings.hasMappingsFor(…) with true if we find a non-null value in the cache. Previously, even a failed attempt to create some ResourceMapping would've caused ….hasMappingsFor(…) to indicate it PersistentEntitiesResourceMappings contains a mapping.

This lead to downstream NullPointerExceptions as ….getMetadataFor(…) was accessed without a null guard after ….hasMappingFor(…) returned true.
2018-12-21 15:04:44 +01:00
Oliver Drotbohm
8c0348f41b DATAREST-1324 - Polishing.
Removed trailing whitespace from Javadoc comments.
2018-12-21 14:32:26 +01:00
Oliver Drotbohm
7900ca8657 DATAREST-1324 - Fixed return type of ConfigurableHttpMethods.enable(…).
We now also return ConfigurableHttpMethods from its ….enable(…) method to make sure it can be chained properly.
2018-12-21 14:32:02 +01:00
Oliver Drotbohm
13370f8e2f DATAREST-1322 - Fix proxy detection for Hibernate 5+ compatibility.
Switched to Spring Data Commons' ProxyUtils for a proxy detection mechanism that supports Hibernate 5 proxies.
2018-12-20 17:16:49 +01:00
Christoph Strobl
5e9cb5014b DATAREST-1316 - Prepare next development iteration. 2018-12-11 11:07:51 +01:00
Christoph Strobl
0c026dc3d3 DATAREST-1316 - Release version 3.2 M1 (Moore). 2018-12-11 10:53:53 +01:00
Mark Paluch
b0c0a70ff0 DATAREST-1277 - Prepare next development iteration. 2018-09-21 07:45:27 -04:00
Mark Paluch
e96904414b DATAREST-1277 - Release version 3.1 GA (Lovelace). 2018-09-21 07:08:39 -04:00
Oliver Gierke
d243be79da DATAREST-1267 - Prepare next development iteration. 2018-08-20 10:56:52 +02:00
Oliver Gierke
b2da264bea DATAREST-1267 - Release version 3.1 RC2 (Lovelace). 2018-08-20 10:40:11 +02:00