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
c1d2f624c9
DATAREST-93 - Enable web integration tests for Gemfire.
2013-07-17 23:20:28 +02:00
Oliver Gierke
975b333746
DATAREST-103 - Added support for non-CrudRepositor implementations.
...
The exporter can now work with repositories that do not implement CrudRepository. Introduced a new RepositoryInvoker abstraction that transparently exposes which CRUD methods the repository offers.
We still offer special invokers that can be used for CrudRepository and PagingaAndSortingRepository implementations to avoid the reflection overhead the general mechanism introduces.
2013-07-17 15:14:45 +02:00
Oliver Gierke
a4d8a22428
DATAREST-93 - Further refactorings and refinements regarding the search resource mapping.
2013-07-12 14:20:32 +02:00
Oliver Gierke
f8e53058f8
DATAREST-93 - More cleanups in code structure.
...
Removed the need for RepositoryInformationSupport. Refactored Converter implementations to get dependencies injected directly and use constructor injection.
Added new RepositoryInvoker abstraction to avoid reflection for known CrudRepository or PagingAndSortingRepository. Refactored existing RepositoryMethodInvoker to implement the new abstraction.
Refactored AbstractRepositoryRestController and RepositoryEntityContoller to use new mapping API.
2013-07-08 13:27:13 +02:00
Oliver Gierke
86a298efba
DATAREST-93 - Made mapping classes package protected where possible.
2013-07-08 13:08:55 +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
175f9eab10
DATAREST-99 - Updated RepositoryController to use new mapping API.
...
RepositoryController now uses the new mapping API to not expose non-public repositories anymore. Added integration test for that in the JPA module.
2013-06-29 17:56:09 +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
310c2f1106
DATAREST-99 - Non-public repositories are not exported by default anymore.
2013-06-29 13:35:52 +02:00
Oliver Gierke
0127ca8d46
DATAREST-93 - Cleanups in RepositoryEntityController.
...
Extracted RepositorySchemaController to handle schema exposure. Turned DomainObjectMerger property into constructor argument.
2013-06-25 09:53:34 +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
5c61632ec2
DATAREST-93 - Fixed formatting in Spring Data REST.
...
Added formatter to be used within Eclipse going forward.
2013-06-18 16:21:34 +02:00
Oliver Gierke
eec52471d7
DATAREST-93 - More cleanups, more fixes.
2013-06-18 14:03:30 +02:00
Florent Biville
7a1151432d
DATAREST-78 - Fixed customization of query methods through @RestResource(path="…").
2013-06-18 12:52: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
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