116 Commits

Author SHA1 Message Date
Spring Buildmaster 830135690f DATACMNS-463 - Prepare next development iteration. 2014-03-10 05:46:25 -07:00
Spring Buildmaster 9bd280e8da DATACMNS-463 - Release version 1.6.5.RELEASE. 2014-03-10 05:46:21 -07:00
Christoph Strobl 6ec6eb7269 DATACMNS-463 - Prepare release 1.6.5.RELEASE.
Updated readme, template, changelog and notice to reflect recent version and changes. Update reference to reflect spring.io urls.
2014-03-10 13:40:11 +01:00
Spring Buildmaster 9c40f883cf DATACMNS-438 - Prepare next development iteration. 2014-02-17 13:19:23 +01:00
Spring Buildmaster 18ebd43eb5 DATACMNS-438 - Release version 1.6.4.RELEASE. 2014-02-17 01:26:31 -08:00
Oliver Gierke 1e238d7c94 DATACMNS-438 - Prepare 1.6.4.RELEASE.
Updated pom.xml, change log etc.
2014-02-17 10:19:06 +01:00
Spring Buildmaster 47cf61bf28 DATACMNS-409 - Preparing next development iteration. 2013-12-11 08:16:53 -08:00
Spring Buildmaster f5f60d7318 DATACMNS-409 - Release version 1.6.3.RELEASE. 2013-12-11 08:16:49 -08:00
Spring Buildmaster ad622d8164 DATACMNS-378 - Prepare next development iteration 2013-10-25 17:07:49 +02:00
Spring Buildmaster df528ab306 DATACMNS-378 - Release version 1.6.2.RELEASE. 2013-10-25 05:32:49 -07:00
Spring Buildmaster cccaba35fc DATACMNS-367 - Prepare next development iteration. 2013-09-09 22:56:35 -07:00
Spring Buildmaster 735124476b DATACMNS-367 - Release version 1.6.1.RELEASE. 2013-09-09 22:56:32 -07:00
Spring Buildmaster 8f80326e4d DATACMNS-315 - Prepare next development iteration. 2013-09-09 15:36:15 -07:00
Spring Buildmaster f022ed57fb DATACMNS-315 - Release version 1.6.0.RELEASE. 2013-09-09 12:33:00 -07:00
Oliver Gierke 2136fa8cdf DATACMNS-315 - Prepare 1.6.0.RELEASE. 2013-09-09 12:27:13 -07:00
Oliver Gierke 77199cbec4 DATACMNS-358 - Test case for 1-index pages in PagedResourcesAssembler.
Added a test case to show that PagedResourcesAssembler correctly renders 1-indexed, empty pages after upgrading to Spring HATEOAS 0.8.0.BUILD-SNAPSHOT.
2013-08-26 18:30:34 +02:00
Nick Williams eb4b801dc9 DATACMNS-353 - Make Spring HATEOAS purely optional.
Extracted the implementation of UriComponentsContributor from PageableHandlerMethoArgumentResolver and SortHandlerMethodArgumentResolver into dedicated subclasses so that we can really make Spring HATEOAS an optional dependency.

The integration tests are now guarded with an assumption to run on Spring 3.2 as Spring 3.1 has issues with JavaConfig and configuration method overrides. We've upgraded to Spring Data Build 1.2 snapshots so that the tests can be run with -Pspring32. This effectively means that the Spring Data Web support can only be used with a current Spring 3.2. Added a note on that in the reference docs and JavaDoc of @EnableSpringDataWebSupport.

Original pull request: #39.
2013-08-22 08:14:58 +02:00
Oliver Gierke 600a268adf DATACMNS-314 - Polished indentation in pom.xml. 2013-08-08 15:57:22 +02:00
Spring Buildmaster 409b1f6008 DATACMNS-314 - Prepare next development iteration. 2013-08-01 07:51:16 -07:00
Spring Buildmaster c27b8cdce8 DATACMNS-314 - Release version 1.6.0.RC1. 2013-08-01 07:51:11 -07:00
Oliver Gierke f502c1fece DATACMNS-314 - Prepare 1.6.0.RC1 release.
Updated changelog, notice and readme. Upgraded to Spring Data Build parent 1.1.1.RELEASE.
2013-08-01 16:47:34 +02:00
Spring Buildmaster 2195e31493 DATACMNS-313 - Prepare next development iteration. 2013-05-31 10:14:33 -07:00
Spring Buildmaster 9702a4a409 DATACMNS-313 - Release version 1.6.0.M1. 2013-05-31 10:14:28 -07:00
Oliver Gierke a7dfb9c27c DATACMNS-313 - Prepare 1.6.0.M1 release.
Upgraded to Spring Data Build 1.1.0.RELEASE, upgraded to Spring HATEOAS 0.6.0.RELEASE. Updated changelog.
2013-05-31 19:04:54 +02:00
Oliver Gierke 110b7836e1 DATACMNS-334 - Use newly introduced ${apt} placeholder for APT plugin version. 2013-05-29 17:55:25 +02:00
Oliver Gierke e0dda2a4f0 DATACMNS-333 - Added Jackson 2 support to repository populators.
Added necessary infrastructure to use Jackson 2 with repository populators. Expose a jackson2-populator XML element in the namespace to setup a Jackson2 based repository populator.
2013-05-29 17:51:39 +02:00
Oliver Gierke a93c2bff94 DATACMNS-330, DATACMNS-331 - Advanced web integration.
Added PagedResourcesAssembler to easily convert Page instances into a PagedResource instance and automatically build the required previous/next links based on the PageableHandlerMethodArgumentResolver present in the MVC configuration. The assembler can either be injected into a Spring MVC controller or a controller method. The latter will then assume the controller methods URI to be used as pagination link base.

Added @EnableSpringDataWebSupport to automatically register HandlerMethodArgumentResolvers for Pageable and Sort as well as a DomainClassConverter that will allow the usage of domain types being managed by Spring Data repositories in controller method signatures. In case Spring HATEOAS is present on the classpath, we'll also register a PagedResourcesAssembler for injection as well as the appropriate HandlerMethodArgumentResolver for injection into controller methods.

Adapted Sonargraph configuration accordingly. Upgraded to Spring HATEOAS 0.6.0.BUILD-SNAPSHOT.
2013-05-15 16:03:46 +02:00
Oliver Gierke c69330b0ee DATACMNS-301 - Upgraded to Querydsl 3.0.0.
Removed explicit version declaration and inherit it from the current snapshots of the parent build (see https://github.com/SpringSource/spring-data-build/issues/5). Upgraded to version 1.0.8 of the APT plugin as well.
2013-03-25 17:41:05 +01:00
Oliver Gierke 9e82377c15 DATACMNS-289 - Upgraded to Spring Data Build 1.0.2.RELEASE. 2013-02-19 13:28:54 +01:00
Oliver Gierke e11efede4d DATACMNS-236, DATACMNS-117 - Added (Pageable|Sort)HanderMethodArgumentResolvers.
Added HandlerMethodArgumentResolver implementations for Pageable and Sort exposing a new default set of properties (page, size, sort) to resolve pagination and sorting information from the request. To mimic the legacy behavior we expose a (deprecated) LEGACY constant in PageableHandlerMethodArgumentResolver. Clients should move to the new properties structure ASAP. Added unit tests to verify old and new defaulting behavior.

Introduced new annotations @SortDefault (with @SortDefaults wrapper annotation) and @PageableDefault (superseding the legacy @PageableDefaults). The new annotations have more speaking attribute names and the HMAR implementations transparently alias the generic value attribute into a more semantic one (size).

The HMAR implementations implement Spring HATEOAS' UriComponentsContributor to be able to turn Pageable / Sort instances back into URIs created through the MethodLinkBuilderFactory API in Spring HATEOAS.

Extracted common API between legacy PageableArgumentResolver and PageableHandlerMethodArgumentResolver into common helper class.
Upgraded to Spring Hateoas 0.5.0.BUILD-SNAPSHOT.
2013-02-19 13:09:40 +01:00
Spring Buildmaster 0bbe56740b DATACMNS-279 - Prepare next development iteration. 2013-02-07 05:10:53 -08:00
Spring Buildmaster a8c582d99a DATACMNS-279 - Release version 1.5.0.RELEASE. 2013-02-07 05:10:49 -08:00
Oliver Gierke 9de9217069 DATACMNS-279 - Upgraded to Spring Data parent pom in 1.0.0.RELEASE. 2013-02-07 14:05:02 +01:00
Oliver Gierke 80b6dd2217 DATACMNS-278 - Added Converter implementations for JodaTime types.
Upgraded to JodaTime 2.1 based on super pom property definition.
2013-02-06 17:49:24 +01:00
Oliver Gierke 626c0ba38f DATACMNS-266 - Removed the obsolete ${schema.key}. 2013-01-29 19:43:14 +01:00
Oliver Gierke 45694c6ea9 DATACMNS-266 - Added necessary properties to enable distribution upload. 2013-01-29 19:15:07 +01:00
Oliver Gierke 06497a6814 DATACMNS-273 - Upgraded to Spring HATEOAS 0.4.0.RELEASE. 2013-01-28 16:27:01 +01:00
Oliver Gierke d972e984fe DATACMNS-266 - Refer to deployment repository to get unfiltered pom. 2013-01-18 14:43:47 +01:00
Oliver Gierke 2eba53619e DATACMNS-266 - Re-added repository declarations to pom.xml.
For some reasons the <repository /> and <pluginRepository /> elements get stripped from the Spring Data parent pom during the deployment onto Artifactory so they do not end up in the pom.xml published although defined in the source pom.xml.
2013-01-16 17:31:38 +01:00
Oliver Gierke ac256f9921 DATACMNS-266 - Use new common Maven build infrastructure.
Simplified project setup to be a single module build again. Using Spring Data Build parent POM to simplify project setup. See https://github.com/SpringSource/spring-data-build#spring-data-build-infrastructure
2013-01-16 15:15:24 +01:00
Spring Buildmaster 075e31d917 DATACMNS-192 - Prepare next development iteration. 2012-10-09 05:31:15 -07:00
Spring Buildmaster 18c1392e96 DATACMNS-192 - Release version 1.4.0.RELEASE. 2012-10-09 05:31:11 -07:00
Spring Buildmaster ed7beffbde DATACMNS-217 - Prepare next development iteration. 2012-08-23 10:25:19 -07:00
Spring Buildmaster 11da3c3dab DATACMNS-217 - Release version 1.4.0.RC1. 2012-08-23 10:25:15 -07:00
Spring Buildmaster d66d166e8b DATACMNS-191 - Prepare next development iteration. 2012-07-23 09:51:32 -07:00
Spring Buildmaster 94d042a573 DATACMNS-191 - Release version 1.4.0.M1. 2012-07-23 09:51:28 -07:00
Oliver Gierke 4863609416 DATACMNS-175 - Execute Javadoc plugin before assembly. 2012-05-21 14:16:37 +02:00
Spring Buildmaster b1d7e8927c DATACMNS-149 - Next development version. 2012-05-16 19:28:23 +02:00
Spring Buildmaster 9f48059bb5 DATACMNS-149 - Release version 1.3.0.RELEASE. 2012-05-16 10:15:47 -07:00
Oliver Gierke ec87165c30 DATACMNS-149 - Updated changelog and pom.xml.
Fixed pom.xml to match requirements of Maven central.
2012-05-16 19:05:05 +02:00