Commit Graph

  • 7820db0231 Add a copy of the base test class to this module. Jon Brisbin 2013-02-26 16:38:58 -06:00
  • 0640621c63 Update to the latest docbook plugin snapshot. Jon Brisbin 2013-02-26 16:38:28 -06:00
  • 719f850add Fix for #66. Added verification for repository metadata information. Osvaldo Ferrero 2013-02-25 18:27:30 -04:00
  • cfcb097007 Fixes to get Spring Data REST to pass the TCK test suite. Jon Brisbin 2013-02-22 15:53:01 -06:00
  • f4f7427263 Tweaked rel generation to make it hierarchical. Jon Brisbin 2013-02-19 17:37:14 -06:00
  • fc307e3dfa Bumped dependency versions to latest RELEASE versions. Jon Brisbin 2013-02-19 17:36:56 -06:00
  • ec9f94aac4 Added unit test for ResourceProcessorHandlerMethodReturnValueHandler as well as fix from pull request #61 Jon Brisbin 2013-02-19 08:41:29 -06:00
  • 3b600f9ba8 Updated ResourceProcessor framework to call configured RPs at the appropriate time. Jon Brisbin 2013-02-18 17:21:20 -06:00
  • 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. Jon Brisbin 2013-01-22 10:18:29 -06:00
  • 9f082f00fd DATAREST-60 Only set the errback parameter if one is configured in the RepositoryRestConfiguration. Jon Brisbin 2013-01-22 10:02:20 -06:00
  • f4945a61bb Tweak to build file to trigger documentation publishing Jon Brisbin 2013-01-18 13:19:48 -06:00
  • e776308b01 Tweaked build file to address issue with Artifactory integration on the CI server. Jon Brisbin 2013-01-18 11:52:58 -06:00
  • b8d3b1398b Tweaked build file to address issue with Artifactory integration on the CI server. Jon Brisbin 2013-01-18 11:17:46 -06:00
  • 8854b4fc04 Merge pull request #59 from jbrisbin/6e4e7da142fde7036bf3d9daa8caa25f8a40b330 Jon Brisbin 2013-01-18 08:20:54 -08:00
  • 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. Jon Brisbin 2013-01-04 11:13:04 -06:00
  • 269d6f5983 Fix broken test that didn't have the AnnotatedHandlerBeanPostProcessor defined in it. Jon Brisbin 2012-11-27 10:43:22 -06:00
  • ed6d8ef9ed Tweak gitignore to ignore any log files left lying around from testing. Jon Brisbin 2012-11-27 10:25:15 -06:00
  • 00b8b5db69 Fix for #50 Jon Brisbin 2012-11-27 10:24:37 -06:00
  • 0aacc6d4d3 Fix for #47 Jon Brisbin 2012-11-27 10:24:01 -06:00
  • 7f1b61c369 Tweak build file to not specify a particular JDK when creating an IDEA project file. Jon Brisbin 2012-11-27 10:22:43 -06:00
  • 754ae21c4c Merge branch 'master' of github.com:SpringSource/spring-data-rest Jon Brisbin 2012-11-05 09:26:04 -06:00
  • 3df27ecc54 Merge pull request #49 from olivergierke/DATAREST-56 Jon Brisbin 2012-11-05 07:20:47 -08:00
  • f7f40ad83e Merge pull request #48 from olivergierke/DATAREST-57 Jon Brisbin 2012-11-05 07:20:25 -08:00
  • 4f2d55308c DATAREST-57 - Bumped version number to 1.1.0.BUILD-SNAPSHOT. Oliver Gierke 2012-11-02 09:07:00 +01:00
  • 9adcd01aa3 DATAREST-56 - RepositoryRestHandlerMapping now uses lowest precedence. Oliver Gierke 2012-11-02 08:52:41 +01:00
  • 9dd9afb93f Change AnnotatedHandlerRepositoryEventListener into a BeanPostProcessor which works better all around and processes every bean, looking for event handlers. Jon Brisbin 2012-10-29 10:24:30 -05:00
  • 334e079348 Fixed a bug where the repository rel wasn't being respected in linked property link lists. Jon Brisbin 2012-10-18 08:49:31 -04:00
  • 5cfa242a8d Added package-info Jon Brisbin 2012-10-17 12:51:23 -04:00
  • dfe8e24bdd Cosmetic change. Jon Brisbin 2012-10-17 12:49:05 -04:00
  • 2fa177d9ec Fix an NPE bug when serializing an entity with no ID. Jon Brisbin 2012-10-17 12:48:47 -04:00
  • 9ca514caaa Updating main wiki page. Jon Brisbin 2012-10-15 17:33:08 -04:00
  • 02f8c47222 Updated javadoc generation to aggregate from all submodules. Jon Brisbin 2012-10-15 17:32:47 -04:00
  • 84004e0d1d [artifactory-release] Release version 1.0.0.RELEASE Spring Buildmaster 2012-10-15 12:17:36 -07:00
  • 02f680bfc5 Adding a description to the maven.gradle file. Jon Brisbin 2012-10-15 15:13:46 -04:00
  • 316ac5d942 Updated the build to use a separate maven pom file alteration script to make the resulting pom maven central-compliant. Jon Brisbin 2012-10-15 12:33:37 -04:00
  • 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. Jon Brisbin 2012-10-15 07:42:02 -04:00
  • d526e073ba Fix NPE. Jon Brisbin 2012-10-12 08:32:28 -05:00
  • babf3b0104 Added custom FieldError arguments to the message formatting arguments. Now passes type name, property name, value, then user-supplied arguments. Jon Brisbin 2012-10-12 08:29:14 -05:00
  • 96a37b490f Merge branch 'master' of github.com:SpringSource/spring-data-rest Jon Brisbin 2012-10-11 10:38:39 -05:00
  • 72691f2d16 Merge pull request #40 from jotomo/bean-default Jon Brisbin 2012-10-11 08:38:00 -07:00
  • 4b6a408b5a Forgot to add the test error message file. Jon Brisbin 2012-10-10 09:27:20 -05:00
  • 2e997b2a4b [artifactory-release] Release version 1.0.0.RC3 1.0.0.RC3 Spring Buildmaster 2012-10-10 07:16:49 -07:00
  • 23e8525dca Updating to RELEASE versions of Spring Data Commons and JPA. Jon Brisbin 2012-10-10 09:09:34 -05:00
  • aff62b7cd7 Added specific message key for testing @NotNull handling. Jon Brisbin 2012-10-10 08:56:29 -05:00
  • 470ccf1308 Declare all @Autowired uses of RepositoryRestConfiguration as optional. Johannes Mockenhaupt 2012-10-10 01:39:55 +02:00
  • d97c14ebb2 Integrated standard Spring MessageSource components for resolving error messages in validators. Jon Brisbin 2012-10-09 16:55:14 -05:00
  • e8be1c1ded Added timestamp to Person for testing Date conversion. Jon Brisbin 2012-10-09 09:15:39 -05:00
  • 68bf39749a Upgrading to Spring HATEOAS 0.3.0.RELEASE and Jackson 1.9.10 Jon Brisbin 2012-10-09 09:14:23 -05:00
  • 3fa13a60a7 Make RepositoryRestConfiguration bean optional by defaulting. Jon Brisbin 2012-10-09 09:13:49 -05:00
  • 39a53f6841 Fix bug in URI-generation for links. Jon Brisbin 2012-10-02 10:37:26 -05:00
  • 1100693c53 Fixed a bug introduced by a change in how the validators were looked up. Not sure why I made the original change to begin with but the functionality has been been reverted to its previous behavior. Jon Brisbin 2012-10-02 10:06:53 -05:00
  • ce466d00ab Changed ApplicationRestConfig to just import RepositoryRestMvcConfiguration rather than extend it. It works the same either way. It's easier to override the default behavior by extending it, but if you're just defining validators and additional components, you can just use the @Import. Jon Brisbin 2012-10-02 09:58:52 -05:00
  • dbfd43c1a0 Changes to the order in which ApplicationContexts are loaded, changed package that JavaConfig classes are in to keep them from being picked up by the repository component scanning, split single JavaConfig into separate JPA Repository config and Spring Data REST config classes. Jon Brisbin 2012-10-02 09:05:21 -05:00
  • df3b60ba41 Changed the way baseUri is calculated. Changed tests to accommodate new method signatures, fix failing tests. Jon Brisbin 2012-10-01 09:52:46 -05:00
  • 697f39d5b0 Tweak to accommodate some weird situation in the Gradle build where the HSQL session stays open a lot longer than it does when the tests are run in the IDE, which causes all kinds of stupid situations that have to be adjusted for in the tests. Jon Brisbin 2012-09-27 16:53:13 -05:00
  • a3d0c548c5 Tests were failing for some reason. Various errors from the Gradle command line that don't happen when the tests are run in the IDE. Had to comment out the delete/clear of entities because that was causing a foreign key error and had to comment out a non-optional relationship test because I had to remove a back reference in a bi-directional relationship (I think it's an HSQL problem or a Gradle test environment problem because these things don't happen when run in the IDE). Jon Brisbin 2012-09-27 16:48:38 -05:00
  • c856d50a7c Previous Jackson Module configuration was causing serializers to be set to none (probably because it was the last module to be registered). Jon Brisbin 2012-09-27 16:15:02 -05:00
  • 2b187c91ed Already picking up the necessary Jackson modules. No need to register the internal one twice. Jon Brisbin 2012-09-27 16:14:20 -05:00
  • 231015d6e1 Documentation tweaks. Jon Brisbin 2012-09-27 15:54:17 -05:00
  • 28f4936d97 Added JsonSchemaController for generating JSON schema for managed entities. Jon Brisbin 2012-09-27 15:53:32 -05:00
  • 50dc81954b Added JSON serializers to format timestamps into human-readable strings. Jon Brisbin 2012-09-27 15:52:51 -05:00
  • 3ffae1a1ec Added default servlet enabling in the test app to be able to serve static resources from the webapp. Jon Brisbin 2012-09-27 15:51:36 -05:00
  • cff8065d8d Fixed misspelling. Jon Brisbin 2012-09-27 15:50:41 -05:00
  • 967e6572ff Removed obsolete reference. Jon Brisbin 2012-09-27 15:50:24 -05:00
  • 1ac4ab6c17 Added simple assert to ensure RepositoryMetadata is non-null. Jon Brisbin 2012-09-27 15:49:50 -05:00
  • 4fc50526a3 Fixed problem with infinite recursion on entities by adding @JsonBackReference et al Jon Brisbin 2012-09-27 15:49:11 -05:00
  • 2ddf788350 DATAREST-48 Fix a bug with compact content-type not displaying links properly when executing query methods. Jon Brisbin 2012-09-13 08:22:57 -05:00
  • 5bc83602f4 Fixing double inclusion of Groovy dependency at latest version. Jon Brisbin 2012-09-12 10:49:48 -05:00
  • 749218445a Updating source to reflect latest changes in Spring HATEOAS snapshots. Jon Brisbin 2012-09-12 10:49:17 -05:00
  • efc38c642d Updating build to latest versions of dependencies. Jon Brisbin 2012-09-11 08:30:23 -05:00
  • 143ae89c6d DATAREST-47 Skip links property when value is null, not just an empty list. Jon Brisbin 2012-09-11 08:30:05 -05:00
  • 61de409f90 Merge pull request #37 from dottydingo/master Jon Brisbin 2012-09-10 06:21:09 -07:00
  • 8c24c641b4 Fixed issue with deserializing empty collections and sets. Mark Hellkamp 2012-09-07 15:03:42 -07:00
  • 16af522def Fixed issue with deserializing collections and sets. Mark Hellkamp 2012-09-07 14:37:34 -07:00
  • 217e840678 Adjusted test for new repositories. Jon Brisbin 2012-09-06 09:28:36 -05:00
  • 4ece75b625 Tests added looking into #35 Jon Brisbin 2012-09-06 09:27:20 -05:00
  • 079f07b3fe Tweak comment wording. Jon Brisbin 2012-09-05 14:51:11 -05:00
  • 2c710b5978 DATAREST-44 Fix for situation where EclipseLink throws an exception if no version is present on the entity. Jon Brisbin 2012-09-05 14:50:31 -05:00
  • e3dde1a2cd DATAREST-39 Introduced new property on AttributeMetadata to encapsulate the decision of whether or not a property is nullable. Removed references to JPA-specific classes from everything but the JpaAttributeMetadata class. Jon Brisbin 2012-09-05 08:57:43 -05:00
  • a2288b7242 DATAREST-41 Slight tweak to fix to ensure that a links property is never specified as anything other than an array on incoming JSON. Jon Brisbin 2012-09-04 10:34:14 -05:00
  • ae8d7d9326 DATAREST-41 Fix bug in JSON reading that wasn't advancing JSON parser past the value of "links" on incoming JSON, causing the entity properties to not be read correctly which prevents the update from succeeding correctly. Jon Brisbin 2012-09-04 10:17:40 -05:00
  • 18616d9c89 DATAREST-45 Using the wrong base URI to build links to the "self" and properties of entities. Needed to add two lines of code to generate a proper self link and use that as the base URI for generating property links. Jon Brisbin 2012-08-31 09:39:41 -05:00
  • e4d43278f7 Tweaking representations and return values to get the right nesting of resources. Jon Brisbin 2012-08-31 09:26:28 -05:00
  • 1fdde3531e DATAREST-43 Using the correct method now. Jon Brisbin 2012-08-30 10:24:46 -05:00
  • 0f925cc5ff Re-organized how entities are serialized. Broke out the Jackson Module into its own class and incorporated the code from EntityResource.wrap into the serializer so that entities are properly serialized wherever they are encountered. Also implemented a Converter and use the ConversionService to turn an Entity into a Resource. Right now that's done in two separate places since the propertyOfEntity method needs to turn entities into resources as well as the Jackson serializer. Also threw in a fix for DATAREST-43. Jon Brisbin 2012-08-30 09:38:28 -05:00
  • 40645673bf Integrated Spring HATEOAS. Jon Brisbin 2012-08-27 15:16:02 -05:00
  • d95eda8d9c Merge branch 'master' of github.com:SpringSource/spring-data-rest Jon Brisbin 2012-08-27 12:41:56 -05:00
  • 55fb0e86c1 DATACMNS-40 - Adapted renaming ResourceProcessor.{enrich(…)->process(…)}. Oliver Gierke 2012-08-27 19:08:50 +02:00
  • a84f8f66da DATACMNS-40 - Back to ResourceProcessors. Oliver Gierke 2012-08-24 21:57:42 +02:00
  • d8d218c658 Merge branch 'master' of github.com:SpringSource/spring-data-rest Jon Brisbin 2012-08-23 09:59:25 -05:00
  • 7fdeefec52 DATAREST-40 - Added copy constructor to ease setup of HandlerAdapter. Oliver Gierke 2012-08-23 12:12:43 +02:00
  • e3049fe9fb DATAREST-40 - Moved to ResourceEnricherInterface. Oliver Gierke 2012-08-22 23:56:18 +02:00
  • a2b2dd4e41 Merge branch 'master' of github.com:SpringSource/spring-data-rest Jon Brisbin 2012-08-22 09:43:02 -05:00
  • ca907e146c Merge pull request #34 from SpringSource/DATACMNS-40 Jon Brisbin 2012-08-22 07:42:25 -07:00
  • 156b1f0a91 Added wiki doc on embedded entities. Jon Brisbin 2012-08-22 09:39:25 -05:00
  • ed9bb157c7 DATAREST-40 - General purpose post-processing mechanism for resources. Oliver Gierke 2012-08-22 16:27:08 +02:00
  • 9069774dc5 #32: Fix for bug triggered by including Accept: */* header. Jon Brisbin 2012-08-20 16:47:00 -05:00
  • 3aa8905b15 Added configuration property for domain type to repository mappings. Also improved the post-processing support, though I think there's still some room for tweaking. Jon Brisbin 2012-08-20 15:06:15 -05:00
  • 2000d07b32 Introduced a MethodParameterConversionService to help convert query parameters that might be annotated with specific converters. Jon Brisbin 2012-08-20 08:23:58 -05:00
  • 349c3b9777 Missed checking for non-optional relationship on DELETE a singular relationship. Now works as it's supposed to. Jon Brisbin 2012-08-17 15:07:45 -05:00