Commit Graph

269 Commits

Author SHA1 Message Date
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
Jon Brisbin
1a7adc6461 Tweaks to ValidationExceptionHandler injection. 2013-03-06 10:34:24 -06:00
Jon Brisbin
0b34c81394 Changes to validation code to make javax.validation an optional dependency. 2013-03-06 10:20:44 -06:00
Jon Brisbin
db5f7de747 Update README to point to latest snapshot docs. 2013-03-06 10:20:07 -06:00
Jon Brisbin
4d8f009679 Fix for DATAREST-72. ResourceMapping.isExported() is now considered for displaying the link to the repository or when building the metadata for the request. Now sends back a 404 when a repository is not exported and an attempt to access it is made. 2013-03-06 08:42:20 -06:00
Jon Brisbin
5f21071a5e Fix for #74. Replace self link building with calls to EntityLinks instance. 2013-03-06 08:25:55 -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
05f11a6cf9 Fix for #71. Made validation messages more robust and synced them between the Spring Validator based validation and the JSR-303 validation annotations. The output differed before but is now consistent. 2013-03-05 14:05:53 -06:00
Jon Brisbin
810b2144c8 Added BeforeCreateEvent and AfterCreateEvent and needed changes to accommodate a Validator that might want to validate a new entity differently than it does one that's already been saved. 2013-03-05 12:29:08 -06:00