Commit Graph

532 Commits

Author SHA1 Message Date
Greg Turnquist
520fdc8d91 #831 - Polishing. 2019-03-11 17:35:20 -05:00
Jens Schauder
bdd602aa74 #831 - Polishing.
Applied some recommendations provided by IntelliJ that I stumbled over while reviewing the changes.
2019-03-11 18:06:15 +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
cae49e7c1a #459 - Add gitter channel. 2019-03-06 09:39:40 -06:00
Vedran Pavic
e8836c3d6a #856 - Improve migration script to also migrate @Relation. 2019-03-06 09:21:23 +01: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
Greg Turnquist
e613a230c8 #853 - Polishing. 2019-03-05 10:12:33 -06:00
Greg Turnquist
dfd53f4c03 #853 - Polishing. 2019-03-05 10:10:33 -06:00
Greg Turnquist
3145f67fb4 #853 - Fine tune release script to allow ticket number. 2019-03-05 09:26:52 -06:00
Oliver Drotbohm
4b08aa783e #850 - Polishing.
Moved to factory methods on PluginRegistry.
2019-03-05 14:20:07 +01:00
Oliver Drotbohm
ae08cd0eee #853 - Updated changelog. 2019-03-05 13:19:54 +01:00
Oliver Drotbohm
2a2e0fb56b #854 - Migrate off Objenesis in favor of Spring's ProxyFactory. 2019-03-05 13:16:38 +01:00
Oliver Drotbohm
4f1e0c5f37 #853 - Updated changelog. 2019-03-04 23:59:49 +01:00
Greg Turnquist
fbeeb1df5c #851 - Polishing. 2019-03-04 13:19:32 -06:00
Greg Turnquist
6200da5dd0 #851 - Handle paging when rendering list of issues. 2019-03-04 12:25:39 -06:00
Oliver Drotbohm
b608bb0175 #728 - Make sure invocation mappings are resolved eagerly.
Tweaked WebFluxLinkBuilder to make sure the controller invocations are resolved eagerly as otherwise, the controller proxy created would override the invocations due to the lazy evaluation of the links and for multiple method references, only the last one would have been used.
2019-03-04 19:08:00 +01:00
Oliver Drotbohm
248a0e0f9f #850 - Upgrade to Spring Plugin 2.0 M1. 2019-03-04 16:46:43 +01:00
Oliver Drotbohm
7fe04d4000 #833 - Cleanups in sample controllers for Spring WebMVC and WebFlux. 2019-03-04 16:39:06 +01:00
Oliver Drotbohm
5c046e6858 #848 - Renamed RelProvider to LinkRelationProvider. 2019-03-04 16:39:06 +01:00
Greg Turnquist
92120fd755 #837 - Polish section on affordances and spec links. 2019-03-03 14:24:56 -06:00
Greg Turnquist
7b27f527b4 #846 - Make spring-hateoas-examples-test-jdk8 a gate. 2019-03-03 14:23:16 -06:00
Greg Turnquist
1d87504a5f #846 - Switch spring-hateoas-examples-build to OpenJDK 8. 2019-03-03 13:52:01 -06:00
Greg Turnquist
f38c2f4e23 #847 - Move 'ci' profile into pipeline.
To let the pipeline inject custom profiles, the 'ci' profile needs to move out of `test.sh` script and instead be injected.
2019-03-03 12:54:18 -06:00
Greg Turnquist
94a66ae4d3 #847 - Make JDK 8 a smoke test.
Don't run any other tests in the pipeline until JDK 8 test passes.
2019-03-03 12:54:02 -06: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
37ef8e9960 #837 - Javadoc improvements.
Fixed @see tags pointing to URIs by wrapping the URIs in {@link …}.
2019-03-03 16:55:04 +01: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
46bcf5465b #846 - Add Spring HATEAOS Examples to pipeline. 2019-03-03 09:47:30 -06: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
Greg Turnquist
2ec1bb73aa #837 - Add section on affordances. 2019-03-01 18:10:47 -06:00
Oliver Drotbohm
fc49f3ead4 #837 - Added section on registering a custom media type. 2019-03-02 00:04:15 +01:00
Oliver Drotbohm
fe1cbcad67 #837 - Polishing.
Fixed example JSON in fundamentals section.
2019-03-02 00:00:56 +01:00
Greg Turnquist
f4b0c87131 #837 - Enable PlantUML. 2019-03-01 14:40:49 -06:00
Oliver Drotbohm
21026e528b #837 - Temporarily disable PlantUML diagrams. 2019-03-01 19:17:58 +01:00
Greg Turnquist
2f063e63c7 #845 - Polishing. 2019-03-01 09:10:59 -06:00
Oliver Drotbohm
20606fef46 #837 - First chunk of improvements to reference documentation.
Introduced new structure to reference docs that reflects the new library structure. Completely rewrote the Fundamentals section. Adapted to all type renames in the codebase. Fixed anchors in migration chapter.

Integrated PlantUML plugin for Asciidoctor generation to generate diagrams.
2019-03-01 15:56:44 +01:00
Oliver Drotbohm
5f772e30c5 #845 - Polished Link, UriTemplate, TemplateVariables and IanaLinkRelations.
Added Link.toURI() to conveniently create URIs from Link instances.
2019-03-01 15:53:45 +01:00
Oliver Drotbohm
23c0a34c66 #842 - Remove Identifiable. 2019-02-28 23:58:42 +01:00
Oliver Drotbohm
3077211db2 #844 - Moved TypeReferences to server.core package. 2019-02-28 20:29:55 +01:00
Oliver Drotbohm
ff8bc33daf #843 - Introduced EntityLinks.link(To|For)ItemResource(Object, Function).
The introduced methods allow clients to pass an identifier extractor function. Also introduced a new (Extended)TypedEntityLinks that exposes the same functionality as EntityLinks but with a shared identifier extractor function so that clients don't have to provide it for each method invocation.

Prepares the fix for #842.
2019-02-28 20:29:06 +01:00
Oliver Drotbohm
33f22e8bc9 #841 - Added builder API to HalLinkRelation.
This allows more convenient setup of multiple HalLinkRelation instances for the same curie.

Additional unit tests.
2019-02-28 17:23:59 +01:00
Oliver Drotbohm
81af032810 #840 - LinkDiscoverer now exposes methods to lookup required links.
Introduced findRequiredLinkWithRel(…) methods on LinkDiscoverer to delegate to existing lookups but resolving the Optional into an IllegalArgumentException.

Fixed JsonPathLinkDiscoverer to return no links at all if a required path segment in the payload cannot be found which would have triggered a PathNotFoundException before.

Polished parameter names and JavaDoc. Moved base test cases into the right packages.
2019-02-28 17:00:35 +01:00
Oliver Drotbohm
df4e099458 #838 - Improved registration of BeanPostProcessor implementations.
The BeanPostProcessor implementations in (WebMVC|WebFlux)HateoasConfiguration are now declared as static methods and their dependencies use ObjectProvider wrapper types to prevent the need to prematurely initialize the entire configuration class which triggered the creation of a lot of downstream dependencies which were then reported as ineligible for post processing themselves.
2019-02-28 15:56:08 +01:00
Oliver Drotbohm
a89e57eed7 #833 - Changed ResourceSupport class name hierarchy. 2019-02-27 20:04:15 +01:00