Commit Graph

199 Commits

Author SHA1 Message Date
Greg Turnquist
11485d4cae #1070 - Continue development on 1.0.0.BUILD-SNAPSHOT. 2019-09-05 10:31:25 -05:00
Greg Turnquist
f4143c93fe #1070 - Releasing Spring HATEOAS 1.0.0.RC2. 2019-09-05 10:31:23 -05:00
Greg Turnquist
2ae4744a02 #1069 - Upgrade to Reactor Dyprosium-RC1. 2019-09-05 06:46:36 -05:00
Greg Turnquist
b0ea8ef29f #1066 - Upgrade to Spring Framework 5.2.0.RC2. 2019-09-05 06:44:46 -05:00
Greg Turnquist
c53b72f1cc #1030 - Continue development on 1.0.0.BUILD-SNAPSHOT. 2019-08-05 06:32:58 -05:00
Greg Turnquist
1395a21c55 #1030 - Releasing Spring HATEOAS 1.0.0.RC1. 2019-08-05 06:32:53 -05:00
Greg Turnquist
bc4c5da8f3 #1042 - Upgrade to AssertJ 3.13.2. 2019-08-05 06:27:11 -05:00
Greg Turnquist
356a1c8b34 #1041 - Upgrade to JUnit 5.5.1. 2019-08-05 06:23:21 -05:00
Greg Turnquist
c0adee3e27 #1034 - Upgrade to Spring Framework 5.2.0.RC1. 2019-08-05 06:21:19 -05:00
Greg Turnquist
c6e777d486 #1035 - Upgrade to Reactor Dysprosium M3. 2019-08-02 10:05:00 -05:00
Greg Turnquist
394519d48e #1026 - Polishing. 2019-07-30 16:39:45 -05:00
Greg Turnquist
ae3ad0c700 #1026 - Upgrade to Jackson 2.9.9.20190727 using the BOM. 2019-07-29 09:06:24 -05:00
Oliver Drotbohm
fc1b4a8b51 #1018 - HAL Forms properties customizable via annotations on representation model classes.
We now consider additional Jackson and JSR-303 annotations on representation models to enrich the HAL Forms template properties with additional information:

- @NotNull on a property flips its `required` flag to `true`.
- The "regexp" attribute of @Pattern on a property is forwarded into the "regex" field.
- @JsonProperty(Access.READ_ONLY) on a property is translated into the "readOnly" flag.

The default for the "required" flag have been changed to false even for PUT and POST as whether they're required or not is completely determined by the model, not the HTTP method.

All of this is backed by significant refactoring in the way that Affordance instances are build internally. The new API is centered around the Affordances type in the mediatype package. The methods on Link to create the Affordance` from its details have been removed and replaced by builder style APIs on Affordance. AffordanceModelFactory has been moved to the mediatype as well.

PropertyUtils has been significantly revamped to expose a PayloadMetadata/PropertyMetadata model to abstract the individual traits of a property. This allows to optionally plug in the support for JSR-303 annotations. AffordanceModelFactory has been refactored to rather work with those instead of ResolvableType.
2019-07-18 13:07:58 +02:00
Greg Turnquist
ca68c7d1b2 #1024 - Publish documentation using CI server.
By letting the CI server assemble and publish documentation to docs.spring.io, we can ensure publicly posted docs are up-to-date.
2019-07-17 16:48:43 -05:00
Oliver Drotbohm
8af96d9277 #1013 - Upgrade to JUnit 5.5. 2019-07-01 10:27:25 +02:00
Oliver Drotbohm
3b65aea8a5 #1006 - Upgrade Asciidoctor Maven plugin dependencies. 2019-06-27 13:33:17 +02:00
Oliver Drotbohm
ceb406ae38 #979 - HAL Forms prompts can now be configured via a resource bundle.
We now support defining the prompts to be used for properties via the Spring HATEOAS rest-messages resource bundle. We support global definitions via $propertyName._prompt as well as qualified ones ($packageName.)$typeName.$propertyName._prompt.
2019-06-26 23:28:13 +02:00
Spring Buildmaster
cd5232ae08 #1002 - Prepare next development iteration. 2019-06-13 23:12:11 +00:00
Spring Buildmaster
0c831f0724 #1002 - Release version 1.0.0.M3. 2019-06-13 23:12:08 +00:00
Oliver Drotbohm
ef6889a148 #888 - Upgrade to Spring Plugin 2.0 M2. 2019-06-14 00:39:13 +02:00
Oliver Drotbohm
6fcfed3d66 #1001 - Upgrade to Reactor Dysprosium M2. 2019-06-14 00:24:29 +02:00
Oliver Drotbohm
6e3bbe851f #1000 - Upgrade to Spring Framework 5.0 M3. 2019-06-14 00:24:23 +02:00
Greg Turnquist
b2e327d1d2 #999 - Introduce Jenkins CI. 2019-06-07 16:28:10 -05:00
Oliver Drotbohm
c12ed413da #997 - Upgrade to Jackson 2.9.9. 2019-06-05 19:45:09 +02:00
Oliver Drotbohm
a81c07723c #990 - Fixed deployment of Javadoc and reference docs.
Javadoc is now generated into target/site/api. We now don't attach the zipped resources anymore but rather use the Wagon plugin to upload the content of target/site directly as what's generated into the folder already matches the expected folder structure.

We now consistently use ${project.reporting.outputDirectory} to refer to what defaults to target/site.

Goal to deploy static resources is: mvn clean deploy -DskipTests -Pdistribute.
2019-05-13 23:50:09 +02:00
Spring Buildmaster
472998ef40 #988 - Prepare next development iteration. 2019-05-13 08:38:11 +00:00
Spring Buildmaster
8f03484a30 #988 - Release version 1.0.0.M2. 2019-05-13 08:38:07 +00:00
Oliver Drotbohm
bbea16fb11 #988 - Update dependencies and changelog.
Jayway JSONPath 2.2.0 -> 2.4.0
JUnit 5.4.1 -> 5.4.2
Slf4j 1.7.25 -> 1.7.26
Kotlin 1.3.21 -> 1.3.31

Removed obsolete version declarations for JSR-305 and Minidev JSON. Some nullability guards in ChangelogCreator.
2019-05-13 10:23:26 +02:00
Oliver Drotbohm
016fc21df5 #919 - Upgrade to Spring Framework 5.2 M2.
Upgraded to Reactor Dysprosium M1 as well.
2019-05-09 22:11:24 +02:00
Oliver Drotbohm
a5014c72d5 #919 - Upgrade to Spring Framework and Reactor snapshots. 2019-05-08 18:59:21 +02:00
Greg Turnquist
8859e8493d #985 - Stabilize on Spring Framework 5.2.0.M1.
Pin things on stable milestones while introducing a profile to test snapshots. Pipeline updated to build against milestones and snapshots.
2019-04-17 10:21:36 -05:00
Greg Turnquist
950a3a73db #980 - Reduce test visibility. 2019-04-15 09:44:58 -05:00
Jens Schauder
13466eb1c7 #980 - Polishing.
Moved to latest JUnit version.
Limited assertions of exceptions to one method call.
2019-04-15 10:30:36 +02:00
Greg Turnquist
3a8b37b42a #980 - Migrate to JUnit 5. 2019-04-08 11:50:51 -05:00
Oliver Drotbohm
c7edf0c655 #919 - Upgrade to Spring 5.2 snapshots.
Removed build steps for Spring 5.1 snapshots and 5.2 ones as that's the default version we build against anyway.
2019-03-22 14:10:49 +01:00
Spring Operator
3a5c2739e3 #889 - URL cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/context/spring-context.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/context with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
* http://www.w3.org/2005/Atom with 1 occurrences
2019-03-21 16:19:58 +01:00
Oliver Drotbohm
75ad0988cd #831 - Polishing.
Significant rework of the nullability annotation introduction to not produce any warnings anymore. Added nullability annotations where still missing. Removed the ones that were added erroneously.

Tightened nullability contracts in a couple of places, most prominently LinkRelationProvider, that now uses a LookupContext as plugin delimiter so that implementations can selectively be looked up for item or collection link relation lookup.

Removed obsolete declaration of Findbugs dependency.
2019-03-20 00:15:35 +01:00
Oliver Drotbohm
fdee61fde7 #888 - Upgrade to Spring Plugin 2.0 snapshots. 2019-03-19 23:41:41 +01:00
Greg Turnquist
40250d1738 #831 - Introduce null handling. 2019-03-08 13:21:21 -06:00
Spring Operator
c4e1bedec8 #855 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://static.springframework.org/spring/docs/5.1.x/javadoc-api (301) migrated to:
  https://docs.spring.io/spring/docs/5.1.x/javadoc-api ([https](https://static.springframework.org/spring/docs/5.1.x/javadoc-api) result 301).
* http://github.com/SpringSource/spring-hateoas migrated to:
  https://github.com/SpringSource/spring-hateoas ([https](https://github.com/SpringSource/spring-hateoas) result 301).
* http://www.spring.io migrated to:
  https://www.spring.io ([https](https://www.spring.io) result 301).
* http://docs.oracle.com/javase/8/docs/api migrated to:
  https://docs.oracle.com/javase/8/docs/api ([https](https://docs.oracle.com/javase/8/docs/api) result 302).
* http://repo.spring.io/libs-snapshot migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-08 09:32:07 -06:00
Greg Turnquist
3d9d857807 #853 - Continue development on 1.0.0.BUILD-SNAPSHOT. 2019-03-05 10:12:49 -06:00
Greg Turnquist
221be94134 #853 - Releasing Spring HATEOAS 1.0.0.M1. 2019-03-05 10:12:46 -06:00
Oliver Drotbohm
248a0e0f9f #850 - Upgrade to Spring Plugin 2.0 M1. 2019-03-04 16:46:43 +01:00
Greg Turnquist
6c34f2185e #837 - Fix src/docs/resources configuration 2019-03-03 12:48:48 -06:00
Greg Turnquist
3069543b8f #837 - Add more media types.
Introduce `src/docs/resources` and add `{resource-dir}` as an asciidoctor variable.

Add content for HAL-FORMS, Collection+JSON, and UBER.
2019-03-03 12:34:43 -06:00
Oliver Drotbohm
0cbe2d8544 #837 - POM cleanups.
Removed duplicate declaration of the deploy plugin.

Switched to the prepare-package phase for the documentation generation as the declaration of the Maven Build Helper Plugin caused the unpacking of the dependencies to be delayed to after the asciidoctor execution which then renders the CSS and JavaScript files missing.

Extracted the JavaDoc generation settings into the plugin management section so that both the CI build as well as the one creating the JavaDoc for the site deployment use the same setup. Removed the JavaDoc declaration from the default build and activate it in the testing build.

Removed inclusion of Spring Data static resources as they're superseded by the docs resources.
2019-03-03 16:55:04 +01:00
Oliver Drotbohm
8ddca10ed3 #837 - Moved sample code for fundamentals into test cases. 2019-03-03 16:55:04 +01:00
Oliver Drotbohm
70a072244c #837 - Improve doc generation to only render index file. 2019-03-03 16:55:04 +01:00
Greg Turnquist
fde1ef1099 #837 - Fix code references. 2019-03-01 19:20:36 -06:00
Greg Turnquist
fbfccfb93e #837 - Polishing. 2019-03-01 18:13:47 -06:00