Commit Graph

48 Commits

Author SHA1 Message Date
Spring Buildmaster
03de68b3e5 #127 - Prepare next development iteration. 2014-03-31 02:12:58 -07:00
Spring Buildmaster
0c1a59d160 #127 - Release version 0.10.0.RELEASE. 2014-03-31 02:12:57 -07:00
Oliver Gierke
ba67233391 #127 - Prepare 0.10.0.RELEASE.
Upgraded to latest Objenesis and Slf4j. Updated changelog.
2014-03-31 10:48:48 +02:00
Oliver Gierke
8436e9ed4e #165 - Removed support for Jackson 1.x. 2014-03-21 17:45:58 +01:00
Oliver Gierke
4ad5dd7136 #154 - Introduce XMLUnit to make sure we can build on Java 6 and 7.
Using XMLUnit's Diff to guard against minor changes in the default rendering of XML between Java 6 and 7.
2014-02-27 07:47:31 +01:00
Spring Buildmaster
ecb258f113 #126 - Prepare next development iteration. 2014-01-29 03:13:53 -08:00
Spring Buildmaster
f9fd5a2cf3 #126 - Release version 0.9.0.RELEASE. 2014-01-29 03:13:51 -08:00
Oliver Gierke
e67fef6f93 #140, #126 - Prepare 0.9 release.
Finalize changelog. Upgraded to Spring 3.2.7. Switched to release repository.
2014-01-29 11:24:40 +01:00
Oliver Gierke
4d9373abcb #126 - Prepare 0.9 release.
Updated change log so far. Upgraded to latest dependency versions. Polished porject information in pom.xml. Added Spring dependencies that we directly depend on. Adapted test cases to changes in Jackson 2 output format. Updated ChangelogCreator to latest milestone and repository URI.
2014-01-21 13:12:53 +01:00
Oliver Gierke
394fa4a009 #140 - Upgraded to Spring 3.2.6. 2014-01-19 18:39:45 +01:00
Spring Buildmaster
9ec6f34a6f #105 - Prepare next development iteration. 2013-09-08 16:46:15 -07:00
Spring Buildmaster
5b8578884a #105 - Release version 0.8.0.RELEASE. 2013-09-08 16:46:13 -07:00
Oliver Gierke
8628da7bba #106 - Upgraded to Jackson 2.2.0. 2013-09-08 16:41:08 -07:00
Spring Buildmaster
9e37bdfc29 #74 - Prepare next development iteration. 2013-07-16 09:16:38 -07:00
Spring Buildmaster
14de0ac36c #74 - Release version 0.7.0.RELEASE. 2013-07-16 09:16:35 -07:00
Oliver Gierke
4142140a37 #91 - Improved proxying for method link references with Objenesis.
Upgraded to Spring 3.2.3 to be able to use inlined CGLib directly. We now use Objenesis to create the proxy instances which avoids the need for a default constructor.
2013-06-28 23:25:20 +02:00
Spring Buildmaster
23e78a7418 #61 - Prepare next development iteration. 2013-05-31 05:18:27 -07:00
Spring Buildmaster
a8adbdd791 #61 - Release version 0.6.0.RELEASE. 2013-05-31 05:18:24 -07:00
Spring Buildmaster
1fe02aaab7 #44 - Prepare next development iteration. 2013-04-30 08:59:35 -07:00
Spring Buildmaster
5f0c35fa48 #44 - Release version 0.5.0.RELEASE. 2013-04-30 08:59:32 -07:00
Oliver Gierke
64663a5648 #57 - Method reference link building now considers formatting annotations.
The String value handed into the UriTemplate created through mock method invocations now uses a DefaultFormattingConversionService to consider formatting annotations on the controller method parameters.
2013-04-30 16:12:00 +02:00
Oliver Gierke
6acf17e730 #47, #60 - Added RelProvider implementation pluralizing using the Evo Inflector algorithm.
See http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html for details of the algorithm.
2013-04-29 12:18:54 +02:00
Oliver Gierke
27e43f4a2a #47 - Fixed pom formatting. 2013-04-29 11:56:27 +02:00
Oliver Gierke
3976ae168b #50 - Added @EnableHypermediaSupport annotation.
The annotation registers supporting application components as Spring beans based on the configured hypermedia type. Currently supported are the default rendering as well as HAL. We register a matching LinkDiscoverer implementation as well as the appropriate Jackson modules (if present on the classpath) to support HAL.

Upgraded to Spring 3.1.4 to benefit from fix to prevent multiple invocations of ImportBeanDefinitionRegistrars (see SPR-9939 / SPR-9925).
2013-02-18 19:30:51 +01:00
Oliver Gierke
35ad18839e #53 - Set up Slf4j logging and excluded Commons Logging. 2013-02-18 19:30:01 +01:00
Ansgar Konermann
1bd90991bd #48 - Set source encoding to UTF-8 explicitly. 2013-02-14 17:53:04 +01:00
Spring Buildmaster
8c78b30a92 #19 - Prepare next development iteration. 2013-01-28 06:48:13 -08:00
Spring Buildmaster
7c34e9bc98 #19 - Release version 0.4.0.RELEASE. 2013-01-28 06:48:11 -08:00
Oliver Gierke
6371c1d7e7 Upgrade to Spring Plugin 0.8.0.RELEASE. 2013-01-28 13:38:48 +01:00
Oliver Gierke
0e0bf16957 #31 - Introduced LinkDiscoverer to extract Link instances from representations.
LinkDiscoverer exposes an API to find Links by their relation types in representations. Added JSONPath based base class and a DefaultLinkDiscoverer that finds Links based on the default rendering of our Jackson mappings.
2012-12-15 19:07:03 +01:00
Oliver Gierke
f3ab76cfd2 #25 - Fixed typo in project description in pom.xml. 2012-12-15 19:06:35 +01:00
Alexander Bätz
7af38348a9 #29 - Added support for HAL-style representation of Links.
Added Jackson 1 and 2 modules to render Link objects in a HAL-compliant way. Introduced custom Jackson mixins to avoid introducing new value objects for the representation model. 

The rendering can be activated by simply registering Jackson1HalModule or Jackson2HalModule with the Jackson ObjectMapper.
2012-11-20 12:39:48 +01:00
Oliver Gierke
40b486cb43 #27 - Added support for Jackson 2.
Added Jackson 2 dependencies. Doubly annotated representation model classes with both Jackson 1 and Jackson 2 annotations. Added Integration tests for Jackson 2 marshaling provided by Jon. Polished template.mf.
2012-11-16 21:32:47 +01:00
Oliver Gierke
04be1871c3 Introduced EntityLinks abstraction.
EntityLinks allow accessing LinkBuilders or even Link instance based on components exposing REST resources for a particular domain type. The core implementation is ControllerEntityLinks that assumes a particular URI structure so that it can derive the URIs to be asked for per domain type. The domain type managed will be inspected from the @ExposesResourceFor annotation on a controller class. We provide a factory bean to allow configuring instances of ControllerEntityLinks based on a mapping annotation and LinkBuilderFactory.

Added infrastructure to activate automatic discovery of EntityLinks implementations through @EnableEntityLinks. This will automatically register ControllerEntityLinks instances for Spring MVC controllers annotated with @ExposesResourceFor as well as JAX-RS resources if JAX-RS is on the classpath. The mechanism essentially registers a DelegatingEntityLinks instance leveraging the Spring Plugin PluginRegistry mechanism to delegate to the actual EntityLinks instance actually registered for the entity type. It will become the primary EntityLinks bean in the ApplicationContext so that they can be autowired into client components safely.
2012-10-29 15:21:28 +01:00
Spring Buildmaster
c4bfc8ea72 #8 - Prepare next development iteration 2012-10-09 03:41:43 -07:00
Spring Buildmaster
5a916cefc2 #8 - Release version 0.3.0.RELEASE 2012-10-09 03:41:41 -07:00
Oliver Gierke
3ace0cfc76 #10 - Upgraded to Jackson 1.9.10. 2012-10-09 12:36:14 +02:00
Ricardo Gladwell
9e728b4660 #13 - Introduced LinkBuilder implementation inspecting JAX-RS @Path annotation.
Refactored LinkBuilder(Factory) classes to extract reusable code into common superclass for ControllerLinkBuilder and JaxRsLinkBuilder.
2012-09-13 17:42:54 +02:00
Oliver Gierke
7646e11a26 #7 - Added @JsonIgnore to ResourceSupport.getId().
Added integration tests for the JSON marshaling.
2012-08-23 23:56:25 +02:00
Spring Buildmaster
f5f86dcbbc #6 - Prepare next development iteration. 2012-08-23 09:44:00 -07:00
Spring Buildmaster
bf8188c0dd #6 - Release 0.2.0.RELEASE. 2012-08-23 09:43:57 -07:00
Oliver Gierke
ca57ed440d Enhancements of Resource abstraction.
Introduced Resource and Resources value objects. The former captures single entity instances but adds links to it. The latter does the same for a collection of entities. Added SPI interfaces ResourcePostProcessor and ResourcesPostProcessor to allow manipulating Resource and Resources instances.
2012-08-07 19:17:51 +02:00
Spring Buildmaster
4e25848d5f #2 - Prepare next development iteration. 2012-07-19 04:57:38 -07:00
Spring Buildmaster
34ff429a7f #2 - Release 0.1.0.RELEASE. 2012-07-19 04:57:36 -07:00
Oliver Gierke
187e1ff358 Polished pom.xml.
Added plugins to attach sources and JavaDoc. Added changelog and license files as well as JavaDoc CSS.
2012-07-19 13:55:52 +02:00
Oliver Gierke
8b9c638869 Update to Spring 3.1.2.RELEASE. 2012-07-19 13:17:25 +02:00
Oliver Gierke
7286b829f8 Polished build.
Set version number to 0.1.0.BUILD-SNAPSHOT to quickly allow releases while not doing an 1.0.0 release in the first place. Added Bundlor to generate an appropriate OSGi manifest.
2012-06-12 20:00:25 +02:00
Oliver Gierke
21b1a4ec8c Initial commit. 2012-05-10 20:25:31 +02:00