Commit Graph

1641 Commits

Author SHA1 Message Date
Ben Warfield
327eda1506 DATAREST-1407 - Updated example for customizing resource URLs.
Removed the reference to the deprecated RepositoryRestConfigurerAdapter, and updated the entity-lookup/ID translation example to use the currently supported API.

Original pull request: #359.
2019-07-09 11:47:12 +02:00
Greg Turnquist
02b8c53ad4 DATAREST-1380 - Use parent 'artifactory' profile for snapshot releases. 2019-07-05 11:58:34 -05:00
Greg Turnquist
977e381e63 DATAREST-1380 - Only build main branch for upstream triggers. 2019-06-28 19:45:51 -05: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
Greg Turnquist
49ee111504 DATAREST-1380 - Add user.name and user.home to CI jobs. 2019-06-25 14:18:48 -05:00
Oliver Drotbohm
d7b66777da DATAREST-1393 - Introduce workaround for Jackson property customization bug.
Deserializer customizations for related resources (deserializing an instance from a URI) are not applied to the creator properties Jackson uses to create an entity instance in the first place (see [0] for details). We work around this now by tweaking the property instances used for that in their origin ValueInstantiator via reflection until the bug gets fixed.

[0] https://github.com/FasterXML/jackson-databind/issues/2367
2019-06-25 16:00:39 +02:00
Oliver Drotbohm
6ed2ae4566 DATAREST-1399 - Upgrade to HAL Explorer 0.10.0. 2019-06-21 16:30:19 +02:00
Oliver Drotbohm
788422f3eb DATAREST-1397 - Polishing.
Removed the redeclaration of hasCorsConfigurationSource(…) in RepositoryRestHandlerMapping as it already inherits the one from BasePathAwareRestHandlerMapping.
2019-06-21 15:40:07 +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
Mark Paluch
9f7c82e2c8 DATAREST-1398 - Integrate nohttp tooling into CI build profile. 2019-06-18 10:10:00 +02:00
Christoph Strobl
374e590e27 DATAREST-1364 - After release cleanups. 2019-06-14 15:12:52 +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
Christoph Strobl
5af01cb079 DATAREST-1364 - Prepare 3.2 RC1 (Moore). 2019-06-14 14:43:17 +02:00
Christoph Strobl
44096772a9 DATAREST-1364 - Updated changelog. 2019-06-14 14:43:14 +02:00
Christoph Strobl
10f940871f DATAREST-1378 - Updated changelog. 2019-06-14 13:27:16 +02:00
Oliver Drotbohm
7ea19bdc5b DATAREST-1394 - Upgrade to Spring Plugin 2.0 M2. 2019-06-14 01:48:21 +02:00
Oliver Drotbohm
b84aa1779c DATAREST-1390 - Remove temporary workaround after upgrade to Spring 5.2 M3.
This reverts commit 8ce25f7918.
2019-06-14 01:40:48 +02:00
Greg Turnquist
9080950695 DATAREST-1380 - Add Redis to upstream project list. 2019-06-07 13:56:07 -05:00
Oliver Drotbohm
8ce25f7918 DATAREST-1390 - Temporary workaround for regression in Spring 5.2 snapshots. 2019-06-06 13:49:15 +02:00
Oliver Drotbohm
a506520c80 DATAREST-1388 - RepositoryRestMvcConfiguration now reuses RepresentationModelProcessorInvoker from Spring HATEOAS. 2019-06-05 23:47:36 +02:00
Oliver Drotbohm
ac72c8c91e DATAREST-1387 - DelegatingHandlerMapping now handles HttpMediaTypeNotSupportedException. 2019-06-05 23:38:35 +02:00
Oliver Drotbohm
0401a5924d DATAREST-1386 - Tweak redirect setup for HAL explorer.
We now prepare the redirect to the HAL explorer as it expects it.
2019-06-05 23:34:06 +02:00
Oliver Drotbohm
71728be3ba DATAREST-1386 - Polishing.
Disable Javadoc generation for HAL Browser and Explorer modules as otherwise the build fails for those modules. HTTPS URIs where possible.
2019-06-05 12:33:18 +02:00
Oliver Drotbohm
e744c1c94f DATAREST-1386 - Add HAL Explorer module
We now ship a module containing the HAL Explorer [0] as an alternative to the HAL Browser which seems to be mostly out of maintenance and the WebJar refers to a jQuery version with a CVE. The new module still contains some customization code that we had in place for the browser to customize the POST/PUT forms to use the JSON Schema exposed for the aggregates.

The HAL Browser extension is now deprecated in the form that its inclusion causes a warn log to recommend switching to the explorer. A couple of general coding improvements: package scope for controllers and handler methods. Better use of constants and newer request mapping annotations.

Tweaked the configuration of static resource handlers to resolve the implicit cyclic dependency between the browser/explorer and the WebMVC module by introducing a Spring Factories backed extension SPI.

[0] https://github.com/toedter/hal-explorer
2019-06-05 11:54:19 +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
Oliver Drotbohm
3c635c3c81 DATAREST-1382 - Avoid to call BackendIdConverter if no id used for the request mapping.
Contrary to what's stated in the Javadoc of BackendIdConverter, BackendIdConverterHandlerMethodArgumentResolver now skips the invocation of ….fromRequestId(…) if no identifier path variable is found for the mapping of the method invoked.
2019-06-04 23:51:31 +02:00
Oliver Drotbohm
8b9ed0ca07 DATAREST-1381 - Polishing. 2019-06-04 23:51:31 +02:00
Oliver Drotbohm
d80070acb9 DATAREST-1381 - Improve documentation around @RepositoryRestController. 2019-06-04 23:51:31 +02:00
Mark Paluch
0d9a253e2d DATAREST-1384 - Create security policy readme. 2019-05-31 15:51:48 +02:00
Greg Turnquist
4ced1e9e43 DATAREST-1380 - Add Solr to upstream list. 2019-05-30 10:42:25 -05:00
Greg Turnquist
a2c9d5b9fe DATAREST-1380 - Introduce Jenkins. 2019-05-29 10:05:53 -05:00
Oliver Drotbohm
928faa7f9a DATAREST-1383 - Polishing.
Avoid repeated lookups of PersistentPropertyAccessor in DomainObjectReader for PATCH requests. Formatting.
2019-05-28 17:37:33 +02:00
Oliver Drotbohm
28787116a6 DATAREST-1383 - PATCH requests now skip application of values for backend read-only properties.
MappedProperties now immediately drops non-writable properties when created for deserialization. Previously those properties would have to be annotated with @JsonProperty(access = Access.READ_ONLY) explicitly to avoid them being considered.
2019-05-28 17:37:33 +02:00
Mark Paluch
339c3d26d0 DATAREST-1375 - Updated changelog. 2019-05-13 18:19:10 +02:00
Mark Paluch
c27f46c7b5 DATAREST-1374 - Updated changelog. 2019-05-13 14:59:28 +02:00
Mark Paluch
7014b22464 DATAREST-1366 - After release cleanups. 2019-05-13 12:17:54 +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
Mark Paluch
3782c3edcd DATAREST-1366 - Prepare 3.2 M4 (Moore). 2019-05-13 11:59:04 +02:00
Mark Paluch
293f93f7a0 DATAREST-1366 - Updated changelog. 2019-05-13 11:59:01 +02:00
Oliver Drotbohm
c31d5a5ee1 DATAREST-1358 - Updated changelog. 2019-05-10 14:18:14 +02:00
Oliver Drotbohm
5aa41e6023 DATAREST-1360 - Updated changelog. 2019-05-10 12:57:27 +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
a00e21698e DATAREST-1349 - After release cleanups. 2019-04-11 12:00:21 +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