58 Commits

Author SHA1 Message Date
Oliver Gierke
d9cfbbfc42 DATAREST-693 - After release cleanups. 2015-10-14 14:19:20 +02:00
Spring Buildmaster
e78c0a56af DATAREST-693 - Prepare next development iteration. 2015-10-14 04:15:56 -07:00
Spring Buildmaster
39fee70e13 DATAREST-693 - Release version 2.2.4.RELEASE (Evans SR4). 2015-10-14 04:15:54 -07:00
Oliver Gierke
32a686b8cd DATAREST-693 - Prepare 2.2.4.RELEASE (Evans SR4). 2015-10-14 11:25:07 +02:00
Oliver Gierke
5ce77dcc36 DATAREST-602 - After release cleanups. 2015-07-01 01:41:48 +02:00
Spring Buildmaster
061c56ae29 DATAREST-602 - Prepare next development iteration. 2015-06-30 16:30:52 -07:00
Spring Buildmaster
65ba37f266 DATAREST-602 - Release version 2.2.3.RELEASE (Evans SR3). 2015-06-30 16:30:50 -07:00
Oliver Gierke
2f324b11ac DATAREST-602 - Prepare 2.2.3.RELEASE (Evans SR3). 2015-07-01 00:12:30 +02:00
Oliver Gierke
67e368e3c7 DATAREST-459 - After release cleanups. 2015-01-28 17:43:01 +01:00
Spring Buildmaster
2b6f96d149 DATAREST-459 - Prepare next development iteration. 2015-01-28 07:31:27 -08:00
Spring Buildmaster
fd7d3cf7d9 DATAREST-459 - Release version 2.2.2.RELEASE (Evans SR2). 2015-01-28 07:31:18 -08:00
Oliver Gierke
54fe5f1414 DATAREST-459 - Prepare 2.2.2.RELEASE (Evans SR2). 2015-01-28 12:09:28 +01:00
Oliver Gierke
0b8a186271 DATAREST-401 - After release cleanups. 2014-10-31 21:34:47 +01:00
Spring Buildmaster
942bb63c19 DATAREST-401 - Prepare next development iteration. 2014-10-31 13:27:03 -07:00
Spring Buildmaster
050b3140ba DATAREST-401 - Release version 2.2.1.RELEASE. 2014-10-31 13:26:59 -07:00
Oliver Gierke
bd71fb930e DATAREST-401 - Prepare 2.2.1.RELEASE (Evans SR1). 2014-10-31 21:04:15 +01:00
Oliver Gierke
12abae17e9 DATAREST-380 - Remove obsolete repository declaration. 2014-10-15 12:23:48 +02:00
Oliver Gierke
73526e9158 DATAREST-380 - After release cleanups. 2014-09-05 14:25:31 +02:00
Spring Buildmaster
0190789486 DATAREST-380 - Prepare next development iteration. 2014-09-05 14:22:10 +02:00
Spring Buildmaster
31b689a566 DATAREST-380 - Release version 2.2.0.RELEASE (Evans GA). 2014-09-05 03:56:15 -07:00
Oliver Gierke
e4942c74ff DATAREST-380 - Prepare 2.2.0.RELEASE (Evans GA). 2014-09-05 12:49:12 +02:00
Oliver Gierke
c84ab6ad44 DATAREST-374 - After release cleanups. 2014-08-13 16:33:21 +02:00
Spring Buildmaster
78ec4a8771 DATAREST-374 - Prepare next development iteration. 2014-08-13 07:27:55 -07:00
Spring Buildmaster
37a5300e87 DATAREST-374 - Release version 2.2.0.RC1 (Evans RC1). 2014-08-13 07:27:52 -07:00
Oliver Gierke
6250eabcd0 DATAREST-374 - Prepare 2.2.0.RC1 (Evans RC1). 2014-08-13 16:13:19 +02:00
Oliver Gierke
c9dcba68eb DATAREST-374 - Added Gemfire repository to be able to resolve 8.0 artifacts. 2014-08-13 15:00:33 +02:00
Oliver Gierke
3a583ba511 DATAREST-350 - After release cleanups. 2014-07-10 20:45:44 +02:00
Spring Buildmaster
9e1c607abb DATAREST-350 - Prepare next development iteration. 2014-07-10 20:35:04 +02:00
Spring Buildmaster
527d2391ce DATAREST-350 - Release version 2.2.0.M1. 2014-07-10 20:35:04 +02:00
Oliver Gierke
c722743ad1 DATAREST-350 - Prepare 2.2.0.M1 (Evans M1). 2014-07-10 20:35:00 +02:00
Oliver Gierke
020de45c1b DATAREST-230 - Support for serving Alps documents.
This commit adds the support to expose additional resources that serve ALPS [0] resources to document the available state transitions and representations. The exposure is enabled by default and can be customized using the RepositoryRestConfiguration.metadataConfiguration() object.

Currently the set of descriptors exposed includes:

- A descriptor for the representation of the domain type. Linkable associations are represented as safe descriptors, ones that are not linked are semantic descriptors.
- Descriptors for each supported HTTP method for both the collection and item resources to indicate the ability to update, create, delete etc.
- Safe descriptors (e.g. to access the collection or item resource) get potentially available customizations (pagination, projections) attached through nested descriptors.

Documentation

An ALPS descriptor contains a doc attribute to carry semantic information for the end user or a potential client to display. The information can be described in two ways: the first one is the @Description annotation that captures the plain text information one wants to get listed. It is supported in @RepositoryRestResource, on query methods, projection interfaces and accessors etc.

The preferred approach however is to use a resource bundle rest-messages.properties. For each descriptor we will resolve a key starting with rest.description followed by a dot path into the resource. By default, doc attributes are only rendered if the resource bundle contains an entry for the relevant key. You can enforce displaying unresolved keys by configuring MetadataConfiguration.omitUnresolvableDescriptionKeys(…).

For representation descriptors and and the parameter list of query method descriptors we will display enum values by default as comma-separated list. The list is also available as message resolution argument, so that you can refer to the list in your description message via the {0} placeholder.

TODOs:

- Improve descriptors for associations (indicate ability to update etc.)

[0] ALPS - http://alps.io
2014-07-10 17:07:55 +02:00
Oliver Gierke
b9aef87e05 DATAREST-337 - Fix trailing whitespace in poms. 2014-07-08 14:05:24 +02:00
Oliver Gierke
aa0bd6c99e DATAREST-306 - After release cleanups. 2014-05-20 20:04:40 +02:00
Spring Buildmaster
2db0203817 DATAREST-306 - Prepare next development iteration. 2014-05-20 20:04:39 +02:00
Spring Buildmaster
c67f79d5ae DATAREST-306 - Release version 2.1.0.RELEASE. 2014-05-20 20:04:39 +02:00
Oliver Gierke
e9e4da3062 DATAREST-306 - Prepare 2.1 GA. 2014-05-20 20:04:32 +02:00
Thomas Darimont
9f58e2452c DATAREST-305 - Enable Java 8 build in maven configuration.
Extended closed interval in maven enforcerer plugin configuration to include Java 8 (1.8).

Original pull request: #138.
2014-05-19 11:37:59 +02:00
Oliver Gierke
ef7cf82441 DATAREST-297 - After release cleanups. 2014-05-02 15:46:29 +02:00
Spring Buildmaster
cafa6f7931 DATAREST-297 - Prepare next development iteration. 2014-05-02 06:15:33 -07:00
Spring Buildmaster
5693af6f2a DATAREST-297 - Release version 2.1.0.RC1. 2014-05-02 06:15:31 -07:00
Oliver Gierke
683e0afacf DATAREST-297 - Prepare 2.1.0.RC1.
Upgraded to Spring Data Parent 1.4.0.RC1 and Spring Data Commons 1.8.0.RC1. Switched to milestone repository.
2014-05-02 15:01:45 +02:00
Oliver Gierke
eb3d073714 DATAREST-257 - Upgrade to snapshot dependencies. 2014-04-17 18:51:25 +02:00
Spring Buildmaster
d0ccd7251d DATAREST-257 - Prepare next development iteration. 2014-03-31 08:33:17 -07:00
Spring Buildmaster
b5b5b94f01 DATAREST-257 - Release version 2.1.0.M1. 2014-03-31 08:33:14 -07:00
Oliver Gierke
08864ba5b5 DATAREST-257 - Prepare 2.1 M1. 2014-03-31 17:26:55 +02:00
Oliver Gierke
a0395002d0 DATAREST-281 - Upgraded to Spring Data Gemfire 1.4.0.BUILD-SNAPSHOT. 2014-03-21 18:51:13 +01:00
Spring Buildmaster
b16b2e0ec6 DATAREST-249 - Prepare next development iteration. 2014-02-25 07:45:29 +01:00
Spring Buildmaster
fb73b52be7 DATAREST-249 - Release version 2.0.0.RELEASE. 2014-02-24 10:00:15 -08:00
Oliver Gierke
8fb93e7484 DATAREST-249 - Prepare 2.0.0.RELEASE.
Upgraded to release versions of Spring Data modules. Updated change log and notice.txt.
2014-02-24 14:40:59 +01:00
Greg Turnquist
4508bc094a DATAREST-228 - Added Maven Enforcer plugin to ensure project is built with Java 7.
Original pull request: #131.
2014-02-12 16:29:11 +01:00