Commit Graph

767 Commits

Author SHA1 Message Date
Greg Turnquist
600a975732 #1224 - Polishing. 2020-04-02 12:12:37 -05:00
Greg Turnquist
8dfa4d707f #1224 - Polishing. 2020-03-31 14:18:59 +02:00
Oliver Drotbohm
509152a0e1 #1244 - Continue development on 1.1.0.BUILD-SNAPSHOT. 2020-03-31 14:18:59 +02:00
Oliver Drotbohm
c060bd76e9 #1244 - Releasing Spring HATEOAS 1.1.0.M3. 2020-03-31 14:18:59 +02:00
Oliver Drotbohm
131ec70a6b #1244 - Update changelog. 2020-03-31 14:18:59 +02:00
Oliver Drotbohm
f4f0efc046 #1246 - Upgrade to AssertJ 3.15.0. 2020-03-31 14:00:09 +02:00
Oliver Drotbohm
df26afef58 #1245 - Upgrade to Kotlin 1.3.71. 2020-03-31 13:59:04 +02:00
Oliver Drotbohm
14f6375234 #1244 - Polishing.
Added missing license headers and a bit of formatting. Nullability annotations in HypermediaWebTestClientConfigurer.
2020-03-31 13:52:05 +02:00
Greg Turnquist
904a03a241 #1224 - Provide API for users to easily configure WebClient instances.
Introduce `HypermediaWebClientConfigurer` with a simple API that registers hypermedia types via `WebClient.Builder`.

Deprecate `WebClientConfigurer`, leveraging the new solution.

Update reference documentation showing how to use it, with and without Spring Boot.
2020-03-30 23:00:20 -05:00
Greg Turnquist
dea0001da2 #1223 - Provide API to configure RestTemplate with hypermedia.
Create a HypermediaRestTemplateConfigurer bean registered as a Spring HATEOAS bean.

Update reference documentation to show how to use it directly and with Spring Boot via RestTemplateCustomizer.
2020-03-30 22:20:27 -05:00
Greg Turnquist
4e697b899b #1225 - Polishing.
Appears one test case exerted a false positive. Fixing it exposed a gap and how to properly configure an existing WebTestClient (which is now in the reference docs).
2020-03-30 16:13:42 -05:00
Greg Turnquist
898752f0d5 #1225 - Provide implementation of WebTestClientConfigurer to support hypermedia registration.
Expand reference documentation to show ways to use it directly or via Spring Boot.
2020-03-30 12:23:07 -05:00
Oliver Drotbohm
6c09839cca #1241 - Additional factory methods for CollectionModel and PagedModel.
Added overloads of ….empty() to allow adding links right on construction.
2020-03-27 14:52:19 +01:00
Greg Turnquist
8f98519e07 #1230 - Upgrade to Jackson 2.10.3. 2020-03-24 09:47:57 -05:00
Greg Turnquist
b72f62be38 #1229 - Upgrade to Reactor Dysprosium-SR6. 2020-03-24 09:44:22 -05:00
Greg Turnquist
c519ffe69b #1228 - Fix CI scripts so they use maven caching.
By having the JAVA_HOME path match the Jenkins volume mount point, maven caching should now work properly and speed up CI building and testing.
2020-03-24 09:40:29 -05:00
Greg Turnquist
3ec045e89b #1227 - Upgrade to JUnit 5.6.1. 2020-03-24 09:39:18 -05:00
Greg Turnquist
0ebf610aaf #1226 - Upgrade to Spring Framework 5.2.5.RELEASE. 2020-03-24 09:35:31 -05:00
Greg Turnquist
b5ee56a129 #1208 - Polishing. 2020-03-19 12:50:14 -05:00
Greg Turnquist
934ae0320f #1208 - Migrate from Lombok's experimental @Wither to @With.
Lombok has moved their "wither" annotation annotation out of experimental phase and replaced it with @With.
2020-03-18 12:13:04 -05:00
Greg Turnquist
48718bb180 #1216 - Polishing. 2020-03-12 12:05:24 -05:00
Vedran Pavic
3a2551072e #1216 - Provide String constants in IanaLinkRelations.
This commit adds String constants to IanaLinkRelations, so that IanaLinkRelations can be leveraged in places where compile time constants are required, such as Relation#itemRelation and Relation#collectionRelation.
2020-03-11 23:06:20 +01:00
Vedran Pavic
1f49360637 #1215 - Update RFC-5988 references to RFC-8288.
Update code, javadoc, and documentation changes.
2020-03-09 14:35:18 -05:00
Oliver Drotbohm
31a8f77acd #1199 - Continue development on 1.1.0.BUILD-SNAPSHOT. 2020-02-12 00:10:18 +01:00
Oliver Drotbohm
868aa49cd7 #1199 - Releasing Spring HATEOAS 1.1.0.M2. 2020-02-12 00:10:16 +01:00
Oliver Drotbohm
4b090108a9 #1199 - Update changelog. 2020-02-12 00:09:12 +01:00
Oliver Drotbohm
258f71611b #1193 - Polishing.
Prefer Spring WebFlux' CustomCodecs.registerWithDefaultConfig(…).

Original pull request: #1206.
2020-02-11 18:33:44 +01:00
Greg Turnquist
7ce980b6b7 #1193 - Revised usage of Spring Web Encoder APIs.
Spring Web has deprecated several Encoder/Decoder APIs and Spring HATEOAS must revise its usage.

Original pull request: #1206.
2020-02-11 18:33:27 +01:00
Oliver Drotbohm
c687e0a9c1 #1205 - Fix nullability warnings in EntityModelProcessorWrapper.isValueTypeMatch(…). 2020-02-11 18:12:32 +01:00
Oliver Drotbohm
6ff57dea4c #1204 - Fix nullability declarations of VndError.path.
The property and constructor arguments for it are now properly declared as nullable.
2020-02-11 18:10:56 +01:00
Oliver Drotbohm
1d18a9a8f7 #1202 - Polish imports and formatting. 2020-02-11 18:09:45 +01:00
Oliver Drotbohm
9a73194e1b #1201 - Switched to EntityModel factory methods where possible. 2020-02-11 18:08:34 +01:00
Oliver Drotbohm
290b58858a #1200 - Removed deprecation of Link.of(String, String). 2020-02-11 18:06:39 +01:00
Oliver Drotbohm
29479b82d9 #1198 - Moved of deprecated @Wither in favor of @With. 2020-02-11 18:05:34 +01:00
Oliver Drotbohm
d060e4b155 #1198 - Upgrade to Lombok 1.18.12. 2020-02-11 17:38:32 +01:00
Oliver Drotbohm
79ed8ba798 #1189 - Polishing.
Switched to a less complicated implementation of the interface method parameter annotation lookup by using Spring's ClassUtils.getInterfaceMethodIfPossible(…).

Simplified test cases to pure unit test on the link builder APIs. We don't need to fully execute a complete MVC/WebFlux request/response cycle to verify the link creation to pick up the parameter annotations from the interfaces.

Original pull request: #1194.
2020-02-11 16:52:21 +01:00
Greg Turnquist
d499b63c9d #1189 - Look for web annotations in interfaces.
When forming links, look at a controller class's interface definitions for possible Spring Web annotations.

Related issues: spring-projects/spring-framework#15682
Original pull request: #1194.
2020-02-11 16:39:48 +01:00
Oliver Drotbohm
d1c1fbb01f #1172 - Polishing.
A bit of Javadoc on the factory methods. Avoiding abbreviations in method names, shorter parameter names. More trailing whitespace removal.

Reformatting of method invocation in test cases.

Original pull request: #1192.
2020-02-11 15:08:41 +01:00
Greg Turnquist
f1bc790a23 #1172 - Provide static helpers to build TemplateVariable instance.
We now expose static factory methods to make code setting up a UriTemplate with TemplateVariable instances.

Original pull request: #1192.
2020-02-11 15:07:19 +01:00
Greg Turnquist
f297bb28e5 #1195 - Upgrade to Jackson 2.10.2.20200130. 2020-02-10 17:45:30 -06:00
Greg Turnquist
c33d8d42ff #1183 - Add @ExposesResourceFor to migration script. 2020-02-05 10:49:30 -06:00
Roland Krüger
d1889d29ce #1190 - Fix typos, document links, and grammatical errors.
Unfinished sentences were marked with ellipsis….
2020-02-03 13:46:21 +01:00
Oliver Drotbohm
1f335c6e27 #1113 - Polishing release instructions. 2020-01-15 08:43:20 +01:00
Oliver Drotbohm
3d5ec1675d #1113 - Continue development on 1.1.0.BUILD-SNAPSHOT. 2020-01-15 08:27:58 +01:00
Oliver Drotbohm
107e238f4d #1113 - Releasing Spring HATEOAS 1.1.0.M1. 2020-01-15 08:27:55 +01:00
Oliver Drotbohm
749bfda399 #1113 - Update changelog. 2020-01-15 08:26:27 +01:00
Greg Turnquist
0e8f79c0aa #1142 - Update CHANGELOG for 1.0.2.RELEASE. 2020-01-15 08:25:01 +01:00
Oliver Drotbohm
38ace456c1 #1182 - Upgrade to JUnit 5.5.2. 2020-01-15 08:18:48 +01:00
Oliver Drotbohm
41f3d45b5c #1181 - Upgrade to Reactor Dysprosium SR3. 2020-01-15 08:17:51 +01:00
Oliver Drotbohm
4b98f8ce67 #1180 - Upgrade to Slf4J 1.7.30. 2020-01-15 08:17:01 +01:00