Commit Graph

80 Commits

Author SHA1 Message Date
Oliver Gierke
5584040e92 DATAREST-93 - Removed Gradle wrapper script customizations. 2013-12-19 17:04:36 +01:00
Oliver Gierke
204d2870e7 DATAREST-209 - Removed hard dependency on Jackson Hibernate 4 module.
The build script now declares the Jackson Hibernate 4 as optional dependency to avoid being registered in a non-Hibernate environment. Tightened auto-registration checks to also check for Hibernate 4 presence at all.

We automatically activate verbose date rendering when registering the Joda Time module.
2013-12-19 16:31:46 +01:00
Oliver Gierke
af520871dc DATAREST-203, DATAREST-75 - Initial support for HAL.
This commit introduces support for HAL rendering and making it the default rendering option. The configuration now registers an additional MappingJackson2HttpMessageConverter with the according HAL modules registered and makes this the default JSON renderer if the default media type is configured to HAL (which it is by default). To change this, set RepositoryRestConfiguration.setDefaultMediaType(…) back to application/json.

Refactored the PersistentEntityJackson2Module to turn the PersistentEntityResource into it's correct shape (turning associations into links) and the delegate to the default rendering, so that the HAL customizations provided by Spring HATEOAS can kick in. Adapted test cases to the change in default representation format.


Upgraded to Jackson 2.3.0, Spring 3.2.6 and Spring HATEOAS 0.9.0.BUILD-SNAPSHOT. Upgraded to Gradle 1.10.
2013-12-19 16:31:29 +01:00
Oliver Gierke
ac799cff43 DATAREST-193 - Prepare 2.0 M1 release.
Updated changelog. Upgraded to milestone dependencies of Codd.
2013-11-21 14:59:07 +01:00
Oliver Gierke
a9862eb7c5 DATAREST-185 - Upgraded Spring Data dependencies.
Upgraded to Spring Data Neo4j 3.0 and Spring Data Gemfire 1.4 snapshots.
2013-11-18 18:42:09 +01:00
Oliver Gierke
f965363650 DATAREST-93 - Upgraded to Gradle wrapper 1.8. 2013-11-14 10:04:28 +00:00
Oliver Gierke
8e29f9bcff DATAREST-184 - Upgraded to Spring Data Neo4j 2.3.3.
The upgrade is necessary to benefit from a fix for DATAGRAPH-409 which transitively fixes this ticket.

Added integration tests for Neo4j repositories.
2013-11-14 10:04:28 +00:00
Oliver Gierke
f75ad4d266 DATAREST-185 - Upgraded to Spring 3.2.5. 2013-11-14 10:03:48 +00:00
Danny Archer
92a3036d3c Changed Neo4J version
- Changed Neo4J 2.4.0 to 2.3.2 to allow download and build due to 401 when
      trying to fetch Neo4J
2013-11-03 23:14:10 +11:00
Oliver Gierke
282132994b DATAREST-93 - Upgraded to latest Spring 3.2.4. 2013-10-01 17:41:49 +02:00
Oliver Gierke
13bd9cfda2 DATAREST-170 - Upgraded to snapshot dependencies of Spring Data modules. 2013-10-01 17:41:49 +02:00
Oliver Gierke
b29ac22601 DATAREST-93 - Upgraded to latest Spring Data Babbage release. 2013-10-01 17:41:49 +02:00
Oliver Gierke
d2c2ec8262 DATAREST-93 - More cleanups.
Merged core and repository modules into core. Renamed some packages for consistency in naming and in preparation to break up some package cycles. Removed @BaseUri and the according resolver. Refactored controllers a bit to have more reusable chunks of code.
2013-07-24 12:59:23 +02:00
Oliver Gierke
0f325bb0a0 DATAREST-93 - Use pluralized class name as default path if EvoInflector is present. 2013-07-17 23:20:47 +02:00
Oliver Gierke
237d142d38 DATAREST-93 - Removed Neo4j repo as it's all in libs-snapshot now. 2013-07-03 11:21:38 +02:00
Oliver Gierke
bbe4dd8db3 DATAREST-93 - More repository tweaking. 2013-07-03 11:08:09 +02:00
Oliver Gierke
794bb0c0d0 DATAREST-93 - Hope to fix build. 2013-07-02 18:13:47 +02:00
Oliver Gierke
6b902af058 DATAREST-93 - Build cleanup.
Use configuration hook to force all Spring Framework dependencies into a particular version. Disabled caching for dynamic versions to hopefully let Gradle pick up snapshot dependencies finally.
2013-06-29 15:38:58 +02:00
Oliver Gierke
2381c8af15 DATAREST-93 - Polished Jackson dependencies.
Upgraded to Jackson 2.2.2. Removed dependency to Jackson 1.9.12 remaining in webmvc module.
2013-06-29 14:26:50 +02:00
Oliver Gierke
f87ac43a67 DATARES-93 - Forcing Spring Data Commons dependency to use snapshots. 2013-06-24 13:13:53 +02:00
Oliver Gierke
c5a592bd9d DATAREST-93 - Further fixes in repository mappings.
Simplified new RepositoryMappings infrastructure. Integrated EvoInflectionRelProvider to build collection resource rels. Bumped version number to 2.0 as we're going to break backwards compatibility with the next release to straighten out the rel construction and mapping.
2013-06-18 19:17:56 +02:00
Oliver Gierke
db2bbfca0e DATAREST-93 - Quite a lot of refactoring.
Integrated pagination resolving and closer integration of Spring Data Commons configuration.
2013-06-14 20:35:42 +02:00
Oliver Gierke
a1c04a4db8 DATAREST-93 - Build tweaks.
Upgraded to Spring 3.2.3.RELEASE, Spring HATEOAS 0.6.0.RELEASE and snapshot versions of Spring Data Commons, JPA, Mongo, and Neo4j. Fixed JUnit dependency. Finally removed JMock completely.
2013-06-11 15:01:17 +02:00
Oliver Gierke
90c4b62428 DATAREST-93 - Removed compiler warnings.
Removed dependency on jMock.
2013-06-11 15:01:03 +02:00
Oliver Gierke
cb4056e351 DATAREST-94 - Removed dependency to Guava.
Introduced simple Function interface. Replaced usage of Multimap with Spring's MultiValueMap.
2013-06-05 22:13:00 +02:00
Oliver Gierke
0539c012d6 DATAREST-93 - Upgraded Gradle wrapper to 1.6. 2013-06-05 20:50:28 +02:00
Oliver Gierke
7c6bebfbe9 DATAREST-89 - Upgraded to latest Spring Data milestone builds. 2013-06-05 12:51:49 +02:00
Oliver Gierke
9abd7797a9 DATAREST-88 - Fixed build by downgrading to Docbook plugin 0.2.6. 2013-06-05 12:30:46 +02:00
Jon Brisbin
43e496a203 Bumped versions to latest in Spring Data Arora release train 2013-04-25 15:28:30 -05:00
Jon Brisbin
024173f724 Bumped versions. 2013-03-26 13:59:23 -05:00
Jon Brisbin
1ad3c93482 Tried to add an optional dependency to get the build to pass. 2013-03-13 15:58:12 -05:00
Jon Brisbin
80202207ee Updated to Gradle 1.4 2013-03-13 15:52:19 -05:00
Jon Brisbin
8d89cc2ffe Use Spring 3.2 in the example 2013-03-13 11:14:10 -05:00
Jon Brisbin
af0e7e0886 Update dependencies. 2013-03-11 09:55:12 -05:00
Jon Brisbin
8ddb13bfa3 Turn on Spring Security in the example app. 2013-03-06 16:05:41 -06:00
Jon Brisbin
35a4846590 Remove JSONP support from the controllers in preference to a forthcoming JSONP Servlet Filter to implement the functionality on a wider scale. 2013-03-06 07:56:48 -06:00
Jon Brisbin
c4e2ce1f91 Add spring-data-neo4j 2013-03-04 14:09:52 -06:00
Jon Brisbin
458ca9465b Add JsonPath. 2013-03-04 09:35:14 -06:00
Jon Brisbin
452134625f Bump versions of several dependencies. 2013-03-02 11:49:47 -06:00
Jon Brisbin
0640621c63 Update to the latest docbook plugin snapshot. 2013-02-26 16:38:28 -06:00
Jon Brisbin
fc307e3dfa Bumped dependency versions to latest RELEASE versions. 2013-02-19 17:36:56 -06:00
Jon Brisbin
3b600f9ba8 Updated ResourceProcessor framework to call configured RPs at the appropriate time. 2013-02-18 17:21:20 -06:00
Jon Brisbin
f4945a61bb Tweak to build file to trigger documentation publishing 2013-01-18 13:19:48 -06:00
Jon Brisbin
e776308b01 Tweaked build file to address issue with Artifactory integration on the CI server. 2013-01-18 11:52:58 -06:00
Jon Brisbin
b8d3b1398b Tweaked build file to address issue with Artifactory integration on the CI server. 2013-01-18 11:17:46 -06:00
Jon Brisbin
6e4e7da142 Incorporated recent changes to Spring Data Commons and dependent projects that obsoleted the need to manage domain object metadata within Spring Data REST. Required updating to the latest snapshots available for spring-data-commons and spring-data-jpa.
Additional changes include:

* Re-wrote the monolithic Controller into separate controller classes that have a more narrow focus.
* Implemented common functionality as a `HandlerMethodArgumentResolver` rather than as a helper method in a controller class.
* Re-implemented JSONP functionality as an HttpMessageConverter rather than inline within a controller class.
* Updated to Jackson 2 for all JSON handling.
* By relying on spring-data-commons, spring-data-rest now handles all supported Repository types: JPA, MongoDB, and GemFire.

Added support for MongoDB and GemFire repositories by relying on spring-data-commons to provide the metadata rather than maintaining internal metadata information that is store-specific.

Replaced Spock spec tests with JMock unit and integration tests. Started integrating Jetty 8 into the testing so MVC testing can be done against a live server.
2013-01-18 10:14:29 -06:00
Jon Brisbin
7f1b61c369 Tweak build file to not specify a particular JDK when creating an IDEA project file. 2012-11-27 10:22:43 -06:00
Jon Brisbin
02f8c47222 Updated javadoc generation to aggregate from all submodules. 2012-10-15 17:32:47 -04:00
Jon Brisbin
316ac5d942 Updated the build to use a separate maven pom file alteration script to make the resulting pom maven central-compliant. 2012-10-15 12:33:37 -04:00
Jon Brisbin
23e8525dca Updating to RELEASE versions of Spring Data Commons and JPA. 2012-10-10 09:09:34 -05:00