Commit Graph

214 Commits

Author SHA1 Message Date
Jon Brisbin
4ce30976e9 Update the documentation. 2013-03-04 14:10:33 -06:00
Jon Brisbin
5beebd9e56 Tweak example app. 2013-03-04 14:10:16 -06:00
Jon Brisbin
c4e2ce1f91 Add spring-data-neo4j 2013-03-04 14:09:52 -06:00
Jon Brisbin
be3c200a81 Turn off serialization test because it's unreliable in the current testing environment. 2013-03-04 09:35:37 -06:00
Jon Brisbin
458ca9465b Add JsonPath. 2013-03-04 09:35:14 -06:00
Jon Brisbin
3cc83ecf70 Fix deprecation warning. 2013-03-04 09:35:01 -06:00
Jon Brisbin
f87ed05d1d Update documentation. 2013-03-02 11:55:21 -06:00
Jon Brisbin
de80e462f4 Fix bugs found when using this with the RESTBucks application. 2013-03-02 11:54:57 -06:00
Jon Brisbin
6ef500804b Tweak abstract base tests. 2013-03-02 11:50:09 -06:00
Jon Brisbin
452134625f Bump versions of several dependencies. 2013-03-02 11:49:47 -06:00
Jon Brisbin
c23b16bebc Work on reference documentation. 2013-02-26 16:39:18 -06:00
Jon Brisbin
7820db0231 Add a copy of the base test class to this module. 2013-02-26 16:38:58 -06:00
Jon Brisbin
0640621c63 Update to the latest docbook plugin snapshot. 2013-02-26 16:38:28 -06:00
Jon Brisbin
cfcb097007 Fixes to get Spring Data REST to pass the TCK test suite. 2013-02-22 15:53:01 -06:00
Jon Brisbin
f4f7427263 Tweaked rel generation to make it hierarchical. 2013-02-19 17:37:14 -06:00
Jon Brisbin
fc307e3dfa Bumped dependency versions to latest RELEASE versions. 2013-02-19 17:36:56 -06:00
Jon Brisbin
ec9f94aac4 Added unit test for ResourceProcessorHandlerMethodReturnValueHandler as well as fix from pull request #61 2013-02-19 08:41:29 -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
ef2b37f3e3 Fix for #60. Added maxPageSize to the RepositoryRestConfiguration so the user can specify a maximum which can be specified as the limit parameter. If the user specifies a value that exceeds the maximum, the configured maximum will be used rather than the value specified as a query parameter. 2013-01-22 10:18:29 -06:00
Jon Brisbin
9f082f00fd DATAREST-60 Only set the errback parameter if one is configured in the RepositoryRestConfiguration. 2013-01-22 10:02: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
8854b4fc04 Merge pull request #59 from jbrisbin/6e4e7da142fde7036bf3d9daa8caa25f8a40b330
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 08:20:54 -08: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
269d6f5983 Fix broken test that didn't have the AnnotatedHandlerBeanPostProcessor defined in it. 2012-11-27 10:43:22 -06:00
Jon Brisbin
ed6d8ef9ed Tweak gitignore to ignore any log files left lying around from testing. 2012-11-27 10:25:15 -06:00
Jon Brisbin
00b8b5db69 Fix for #50 2012-11-27 10:24:37 -06:00
Jon Brisbin
0aacc6d4d3 Fix for #47 2012-11-27 10:24:01 -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
754ae21c4c Merge branch 'master' of github.com:SpringSource/spring-data-rest 2012-11-05 09:26:04 -06:00
Jon Brisbin
3df27ecc54 Merge pull request #49 from olivergierke/DATAREST-56
DATAREST-56 - RepositoryRestHandlerMapping now uses lowest precedence.
2012-11-05 07:20:47 -08:00
Jon Brisbin
f7f40ad83e Merge pull request #48 from olivergierke/DATAREST-57
DATAREST-57 - Bumped version number to 1.1.0.BUILD-SNAPSHOT.
2012-11-05 07:20:25 -08:00
Oliver Gierke
4f2d55308c DATAREST-57 - Bumped version number to 1.1.0.BUILD-SNAPSHOT. 2012-11-02 09:07:00 +01:00
Oliver Gierke
9adcd01aa3 DATAREST-56 - RepositoryRestHandlerMapping now uses lowest precedence.
Invoke super constructor with Ordered.LOWEST_PRECEDENCE to allow custom controller implementations hook into the URI space managed by the RepositoryRestController.
2012-11-02 08:53:28 +01:00
Jon Brisbin
9dd9afb93f Change AnnotatedHandlerRepositoryEventListener into a BeanPostProcessor which works better all around and processes every bean, looking for event handlers. 2012-10-29 10:24:30 -05:00
Jon Brisbin
334e079348 Fixed a bug where the repository rel wasn't being respected in linked property link lists. 2012-10-18 08:49:31 -04:00
Jon Brisbin
5cfa242a8d Added package-info 2012-10-17 12:51:23 -04:00
Jon Brisbin
dfe8e24bdd Cosmetic change. 2012-10-17 12:49:05 -04:00
Jon Brisbin
2fa177d9ec Fix an NPE bug when serializing an entity with no ID. 2012-10-17 12:48:47 -04:00
Jon Brisbin
9ca514caaa Updating main wiki page. 2012-10-15 17:33:08 -04:00
Jon Brisbin
02f8c47222 Updated javadoc generation to aggregate from all submodules. 2012-10-15 17:32:47 -04:00
Jon Brisbin
02f680bfc5 Adding a description to the maven.gradle file. 2012-10-15 15:13:46 -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
851ae50301 Tweaked how the version is exposed. It isn't by default so I added a check for @RestResource on the version attribute. If a path is set, the version is exported under that name. 2012-10-15 07:42:02 -04:00
Jon Brisbin
d526e073ba Fix NPE. 2012-10-12 08:32:28 -05:00
Jon Brisbin
babf3b0104 Added custom FieldError arguments to the message formatting arguments. Now passes type name, property name, value, then user-supplied arguments. 2012-10-12 08:29:14 -05:00
Jon Brisbin
96a37b490f Merge branch 'master' of github.com:SpringSource/spring-data-rest 2012-10-11 10:38:39 -05:00
Jon Brisbin
72691f2d16 Merge pull request #40 from jotomo/bean-default
Declare all @Autowired uses of RepositoryRestConfiguration as optional.
2012-10-11 08:38:00 -07:00
Jon Brisbin
4b6a408b5a Forgot to add the test error message file. 2012-10-10 09:27:20 -05:00