Commit Graph

610 Commits

Author SHA1 Message Date
Mark Paluch
2891ebf95f DATAREST-1379 - Prepare next development iteration. 2019-08-05 10:57:37 +02:00
Mark Paluch
02e2c98f52 DATAREST-1379 - Release version 2.6.23 (Ingalls SR23). 2019-08-05 10:37:40 +02:00
Oliver Drotbohm
20a6d36e13 DATAREST-1387 - DelegatingHandlerMapping now handles HttpMediaTypeNotSupportedException. 2019-06-06 00:06:29 +02:00
Mark Paluch
f569e157fb DATAREST-1375 - Prepare next development iteration. 2019-05-13 18:14:52 +02:00
Mark Paluch
ac79883a17 DATAREST-1375 - Release version 2.6.22 (Ingalls SR22). 2019-05-13 17:25:17 +02:00
Oliver Drotbohm
26e2695813 DATAREST-1358 - Prepare next development iteration. 2019-05-10 14:15:18 +02:00
Oliver Drotbohm
5a713d6f16 DATAREST-1358 - Release version 2.6.21 (Ingalls SR21). 2019-05-10 13:30:52 +02:00
Oliver Drotbohm
1c69e61e8e DATAREST-1357 - Prepare next development iteration. 2019-04-01 18:16:18 +02:00
Oliver Drotbohm
43e4fc27c8 DATAREST-1357 - Release version 2.6.20 (Ingalls SR20). 2019-04-01 17:40:07 +02:00
Oliver Drotbohm
a34a2518d1 DATAREST-1334 - Prepare next development iteration. 2019-04-01 13:31:14 +02:00
Oliver Drotbohm
5ec70a3e3c DATAREST-1334 - Release version 2.6.19 (Ingalls SR19). 2019-04-01 13:08:18 +02:00
Spring Operator
b410ff0824 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 392 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: #333
2019-03-22 10:25:50 +01:00
Oliver Drotbohm
42db4db742 DATAREST-1354 - Avoid exceptions for missing enum value translations.
We now use a dedicated implementation of MessageSourceResolvable to avoid missing enum value translations actually causing exceptions. That also allows us to defer the calculation of the default (potentially translated in a default way).
2019-03-20 17:33:10 +01:00
Spring Operator
83c00f24b7 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.pivotal.io with 2 occurrences migrated to:
  https://www.pivotal.io ([https](https://www.pivotal.io) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 26 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 13 occurrences

Original pull request: #310
2019-03-18 11:47:47 -05:00
Mark Paluch
8d4eb84a21 DATAREST-1307 - Prepare next development iteration. 2019-01-10 10:46:19 +01:00
Mark Paluch
4fb53514a7 DATAREST-1307 - Release version 2.6.18 (Ingalls SR18). 2019-01-10 09:52:56 +01:00
Oliver Drotbohm
1813f10f45 DATAREST-1321 - Polishing. 2019-01-08 12:13:10 +01:00
Oliver Drotbohm
3fb9ad51d6 DATAREST-1321 - Lookup types can now produce non-String reference values.
Previously we assumed lookup types to always result in String based values. We now loosen that constraint to also allow other scalar types, mostly targeting numeric types like long and integer.
2019-01-08 12:12:38 +01:00
Mark Paluch
a8aa12e97d DATAREST-1330 - Update copyright years to 2019. 2019-01-02 12:19:17 +01:00
Mark Paluch
b5ccdad709 DATAREST-1293 - Prepare next development iteration. 2018-11-27 11:10:57 +01:00
Mark Paluch
066d73b896 DATAREST-1293 - Release version 2.6.17 (Ingalls SR17). 2018-11-27 10:15:45 +01:00
Mark Paluch
599a8f61be DATAREST-1283 - Prepare next development iteration. 2018-10-15 13:55:49 +02:00
Mark Paluch
a51a9f3a62 DATAREST-1283 - Release version 2.6.16 (Ingalls SR16). 2018-10-15 12:56:31 +02:00
Mark Paluch
8c742c502b DATAREST-1270 - Prepare next development iteration. 2018-09-10 10:01:43 +02:00
Mark Paluch
1121c4f938 DATAREST-1270 - Release version 2.6.15 (Ingalls SR15). 2018-09-10 09:30:36 +02:00
Oliver Gierke
3eb0e1551a DATAREST-1274 - JsonPatch paths now properly verify multi-digit indexes. 2018-08-08 08:53:01 +02:00
Oliver Gierke
8c2aecce6c DATAREST-1248 - SortTranslator now considers read-only properties sortable.
MappedProperties now exposes a factory method that uses the Jackson introspector for serialization (instead of deserialization) which now also includes read-only properties. Previously, read-only ones were not considered as they are excluded from the metadata if it is looked up for deserialization.
2018-08-07 16:25:23 +02:00
Oliver Gierke
8e7665ce6a DATAREST-1273 - Properly support adding to collections via indexes in JsonPatch expressions.
We now support adding a to a collection via JsonPatch expressions by using the collection's size as target index. Contrary to paths pointing to existing collection elements we cannot determine the type of the object to be created. Thus, we fall back to the common element type of all existing collection elements. We also reject indexes pointing to elements with an index greater than the current collection's size.
2018-08-07 11:05:49 +02:00
Mark Paluch
f883943741 DATAREST-1252 - Prepare next development iteration. 2018-07-27 11:09:39 +02:00
Mark Paluch
dbb3d45bfb DATAREST-1252 - Release version 2.6.14 (Ingalls SR14). 2018-07-27 09:21:39 +02:00
Oliver Gierke
94275e6b84 DATAREST-1259 - Removed obsolete bean definition for HttpRequestHandlerAdapter. 2018-07-10 12:33:43 +02:00
Florian Lüdiger
be4e028667 DATAREST-810 - Fix minor typo in Javadoc.
Original pull request: #295.

$ Conflicts:
$	spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java
2018-07-04 16:35:22 +02:00
Mark Paluch
347e9e5e60 DATAREST-1243 - Prepare next development iteration. 2018-06-13 14:42:33 +02:00
Mark Paluch
cd3ff4df26 DATAREST-1243 - Release version 2.6.13 (Ingalls SR13). 2018-06-13 10:48:53 +02:00
Oliver Gierke
1a5bca7152 DATAREST-1250 - Polishing.
Added unit test to verify new behavior and prevent regressions. Fixed author capitalization.
2018-06-05 10:14:41 +02:00
tigger
f6a7da871e DATAREST-296 - ResourceMetadataHandlerMethodArgumentResolver now properly implements ….supports(…).
ResourceMetadataHandlerMethodArgumentResolver.supports(…) now properly checks for ResourceMetadata. It previously checked for RepositoryInformation which is probably a left-over from a previous state of the codebase and has been unnoticed so far as the class is only used as a direct dependency of other HandlerMethodArgumentResolvers.
2018-06-05 10:13:33 +02:00
Oliver Gierke
d377237181 DATAREST-1249 - Polishing. 2018-05-30 10:48:36 +02:00
Oliver Gierke
c404e79365 DATAREST-1249 - Backport of tests.
The issue doesn't seem to need a fix in this branch as DomainObjectReader already contains the guard we apparently had lost when moving to 3.0.
2018-05-30 10:48:26 +02:00
Mark Paluch
e5052ed1c8 DATAREST-1226 - Prepare next development iteration. 2018-05-08 11:56:07 +02:00
Mark Paluch
4580619d87 DATAREST-1226 - Release version 2.6.12 (Ingalls SR12). 2018-05-08 10:50:35 +02:00
Mark Paluch
ec157294f8 DATAREST-1185 - Prepare next development iteration. 2018-04-04 14:58:03 +02:00
Mark Paluch
70d6bb241a DATAREST-1185 - Release version 2.6.11 (Ingalls SR11). 2018-04-04 14:21:29 +02:00
Oliver Gierke
83eba22a36 DATAREST-1222 - Switched to SimpleEvaluationContext for SpEL-based PATCH handling. 2018-03-28 09:56:22 +02:00
Oliver Gierke
4c71f818b6 DATAREST-1219 - Removed explicit declaration of Jackson library versions. 2018-03-27 19:54:28 +02:00
Oliver Gierke
9063881f14 DATAREST-1215 - Added project.root configuration to make JavaDoc generation work again.
Related ticket: https://github.com/spring-projects/spring-data-build/issues/527.
2018-03-14 10:07:30 +01:00
Mark Paluch
a219c1a297 DATAREST-1161 - Prepare next development iteration. 2018-01-24 11:40:28 +01:00
Mark Paluch
f916233f41 DATAREST-1161 - Release version 2.6.10 (Ingalls SR10). 2018-01-24 11:19:08 +01:00
Tobias Weiß
f3a0e111e6 DATAREST-1176 - RepositoryRestConfiguration now allows to disable the default exposure.
The default exposure of repository methods is now controlled via RepositoryRestConfiguration.setExposeRepositoryMethodsByDefault(…). If set to true (the default), a repository that is detected for exposure (which in turn can be controlled via RepositoryDetectionStrategy) will have default resources exposed in case of the mere presence of CRUD methods. Setting this to false will require you to explicitly annotated those methods with @RestResource.

Added RepositoryRestConfiguration.disableDefaultExposure() to set the RepositoryDetectionStategy to ANNOTATED and disables default method exposure in one go. That can be exposed via a Spring Boot configuration property downstream.
2018-01-24 09:14:15 +01:00
Simon Allegraud
ce17416e16 DATAREST-1181 - Prevent NullPointerException during JsonLateObjectEvaluator.evaluate(…).
Original pull request: #287.
2018-01-18 13:49:46 +01:00
Oliver Gierke
9b0f0c7101 DATAREST-1174 - Enable constructor properties to make sure WrappedPropertiesUnitTests continue to work.
Removed Lombok constructor and accessor generation to avoid having to deal with the changed default in Lombok 1.16.20 not generating @ConstructorProperties by default anymore.
2018-01-10 12:53:57 +01:00