Commit Graph

277 Commits

Author SHA1 Message Date
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
5d07864714 DATAREST-93 - Pulled in current Gradle wrapper in 1.6. 2013-06-11 15:01:13 +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
8d0fc660ce DATAREST-83 - Removed type level @RequestMapping annotations.
Removed type level @RequestMapping annotations to prevent Spring MVC from picking up the controllers in its default configuration.
2013-06-05 20:49:54 +02:00
Oliver Gierke
f1cf2d5069 DATAREST-83 - Controller classes aren't annotated with @Controller anymore.
This is to prevent a parallel Spring MVC setup from picking up the controller classes in addition to the custom RequestHandlerMapping we deploy.

Polished some compiler warnings on the way.
2013-06-05 17:38:34 +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
1fed49879a Update example for fix for #92 and #85 2013-04-25 15:08:33 -05:00
Jon Brisbin
ad2496374c #92 Add special Resource subclass that is returned by listRepositories method so that ResourceProcessors can easily add links to it. 2013-04-25 15:08:33 -05:00
Jon Brisbin
d74dde316d Tweaks to the way resources are returned. 2013-04-25 15:08:33 -05:00
Jon Brisbin
5e52dd0aa1 Fix for NPE when returning a subclass for Resource 2013-04-25 15:08:32 -05:00
Jon Brisbin
94bd20f39f Tweaks to the way resources are returned. 2013-04-25 15:08:32 -05:00
Jon Brisbin
467966ef63 Primarily formatting changes. 2013-04-25 15:08:32 -05:00
Jon Brisbin
f60219480f Merge pull request #94 from Intelliware/master
Fixed issue DATAREST-82
2013-04-23 08:57:12 -07:00
Alexei Guevara
462adb5a79 Fixed issue DATAREST-82 2013-04-23 11:51:50 -04:00
Jon Brisbin
d9b45a81d9 Updating example. 2013-04-03 00:10:26 +02:00
Jon Brisbin
2d3ebe50ec Fixing a bug with property reference deletion. 2013-04-03 00:09:54 +02:00
Jon Brisbin
8fcf5681ab Remove obsolete config options, change from addResourceMapping to setResourceMapping. 2013-04-03 00:08:41 +02:00
Jon Brisbin
9c81264d52 Added extra checks to make sure that query methods marked with @RestResource(exported=false) aren't accidentally exported anyway. 2013-03-26 14:00:25 -05:00
Jon Brisbin
024173f724 Bumped versions. 2013-03-26 13:59:23 -05:00
Jon Brisbin
9b7163c550 Change example entities. Added some Neo4J entities, added a data loader for JPA. 2013-03-20 10:31:07 -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
34c94d1e92 Update tests. 2013-03-13 15:06:32 -05:00
Jon Brisbin
20d18bd8f2 Fix PagingAndSorting resolver to recognize property aliases from the configuration. 2013-03-13 15:06:14 -05:00
Jon Brisbin
c25d05e12e Change the signature of a constructor. 2013-03-13 15:05:29 -05:00
Jon Brisbin
94328592f4 Add explicit transactional semantics to the deleteEntity method because of problems with Neo4J support. 2013-03-13 11:14:48 -05:00
Jon Brisbin
8d89cc2ffe Use Spring 3.2 in the example 2013-03-13 11:14:10 -05:00
Jon Brisbin
2daec49f6a Added neo4j to the example 2013-03-13 11:13:55 -05:00
Jon Brisbin
e0c34e1be6 Fix paging. 2013-03-12 13:37:07 -05:00
Jon Brisbin
34adf44c1f Fix a bug where property mappings weren't being considered in sort parameter names. 2013-03-12 13:36:46 -05:00
Jon Brisbin
2d2a85e870 Took of @Transactional because it was causing problems in other parts of the codebase. 2013-03-12 10:27:04 -05:00
Jon Brisbin
aeaa1782f7 Pushed back version after inadvertently bumping it. 2013-03-12 09:50:12 -05:00
Jon Brisbin
cf275cb304 Fix a bug where paging information wasn't being displayed in the JSON. 2013-03-12 09:49:39 -05:00
Jon Brisbin
df239e49ce Catch an error condition. 2013-03-12 09:49:07 -05:00
Jon Brisbin
fb1cf26fcc Bump project version. 2013-03-11 09:55:34 -05:00
Jon Brisbin
af0e7e0886 Update dependencies. 2013-03-11 09:55:12 -05:00
Jon Brisbin
8b7340c6cc #71 Added a default no-arg constructor to the helper servlet. 2013-03-07 10:32:21 -06:00
Jon Brisbin
8012d1135d EOL / tab normalization. 2013-03-06 16:06:56 -06:00
Jon Brisbin
f1148ef1d3 Updating the documentation. 2013-03-06 16:06:12 -06:00
Jon Brisbin
cb4e742aa4 Tweaks to the example app. 2013-03-06 16:05:58 -06:00
Jon Brisbin
8ddb13bfa3 Turn on Spring Security in the example app. 2013-03-06 16:05:41 -06:00
Jon Brisbin
cc1573cb39 Make the EntityManagerFactory handling in the JpaHelper a little more robust. 2013-03-06 16:05:22 -06:00
Jon Brisbin
93d3214115 DATAREST-67 Can now using Spring Data REST without having to have any JPA dependencies in the classpath. The JPA-specific interceptor that is being used has been moved into a support class that is only created if JPA is in the classpath. 2013-03-06 14:06:44 -06:00
Jon Brisbin
b83223d0e8 Remove obsolete class 2013-03-06 12:14:54 -06:00
Jon Brisbin
b814319994 Capture the case where a ResourceNotFoundException was in the cause of an IllegalArgumentException. This situation should result in a 404 not a 500 with an error message. 2013-03-06 11:27:05 -06:00