Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refreshing forked repo #4

Merged
merged 281 commits into from
Oct 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
a0469e0
#445 - Make RepresentationModelAssemblerSupport extensible.
gregturn Jun 27, 2019
0c048d3
#445 - Polishing.
gregturn Jun 28, 2019
1396f03
#1011 - Add timeouts to CI pipeline.
gregturn Jun 28, 2019
ac06515
#859 - Polishing.
odrotbohm Jul 1, 2019
8af96d9
#1013 - Upgrade to JUnit 5.5.
odrotbohm Jul 1, 2019
d1a06bb
#1014 - Added API to conditionally add links to RepresentationModel.
odrotbohm Jul 2, 2019
81b685d
#1014 - Polishing.
odrotbohm Jul 2, 2019
36d2e8c
#1016 - Fix documentation on RelProvider, now LinkRelationProvider.
odrotbohm Jul 9, 2019
4c434aa
#1016 - Polishing.
odrotbohm Jul 9, 2019
ff63800
#1019 - Avoid exceptions on HAL link title rendering.
odrotbohm Jul 15, 2019
b21c362
#1021 - Tweak setup of @EnableEntityLinks to make sure it only runs o…
odrotbohm Jul 17, 2019
9e9221c
#1022 - Deprecate @EnableEntityLinks.
odrotbohm Jul 17, 2019
ec8fba1
#1020 - Re-introduce BasicLinkBuilder.
odrotbohm Jul 17, 2019
7cabc6a
#1023 - Update CI jobs.
gregturn Jul 17, 2019
ca68c7d
#1024 - Publish documentation using CI server.
gregturn Jul 17, 2019
fc1b4a8
#1018 - HAL Forms properties customizable via annotations on represen…
odrotbohm Jul 15, 2019
a71aeeb
#1019 - Further optimizations in case not I18N is enabled.
odrotbohm Jul 18, 2019
ae3ad0c
#1026 - Upgrade to Jackson 2.9.9.20190727 using the BOM.
gregturn Jul 29, 2019
394519d
#1026 - Polishing.
gregturn Jul 30, 2019
b1af903
#1021 - Removed explicit depends on to avoid Spring MVC reference in …
odrotbohm Jul 30, 2019
400a6bb
#1019 - Improvements to I18N optimizations.
odrotbohm Jul 31, 2019
feaa56a
#987 - Drop UTF8 HAL media type.
gregturn May 30, 2019
9ba7f01
#836 - Clarify that `createResource` is just user code in the referen…
gregturn Jul 31, 2019
6d17d7e
#857 - Use List instead of Collection in configuration classes.
gregturn Jul 31, 2019
6fafbb3
#1029 - Update changelog report for 1.0 RC1.
gregturn Aug 1, 2019
c6e777d
#1035 - Upgrade to Reactor Dysprosium M3.
gregturn Aug 2, 2019
2598142
#1035 - Polishing.
gregturn Aug 2, 2019
b6accb1
#1039 - Don't render null ALPS attributes.
gregturn Aug 4, 2019
c0adee3
#1034 - Upgrade to Spring Framework 5.2.0.RC1.
gregturn Aug 5, 2019
356a1c8
#1041 - Upgrade to JUnit 5.5.1.
gregturn Aug 5, 2019
bc4c5da
#1042 - Upgrade to AssertJ 3.13.2.
gregturn Aug 5, 2019
b7f3e11
#1029 - Update changelog.
gregturn Aug 5, 2019
1395a21
#1030 - Releasing Spring HATEOAS 1.0.0.RC1.
gregturn Aug 5, 2019
c53b72f
#1030 - Continue development on 1.0.0.BUILD-SNAPSHOT.
gregturn Aug 5, 2019
ecbcdef
#1044 - Restore visibility of UriTemplate constructors.
gregturn Aug 6, 2019
9d83787
#1054 - Fix unresolved directive in reference docs.
gregturn Aug 14, 2019
fff5396
#1059 - Cleanup the core codebase.
gregturn Aug 30, 2019
e5669ee
#1059 - Polishing.
gregturn Aug 31, 2019
28ecf0c
#1063 - Remove @EnableEntityLinks from documentation.
gregturn Sep 3, 2019
b0ea8ef
#1066 - Upgrade to Spring Framework 5.2.0.RC2.
gregturn Sep 5, 2019
2ae4744
#1069 - Upgrade to Reactor Dyprosium-RC1.
gregturn Sep 5, 2019
ef9a45d
#1058 - Migrate off deprecated Spring APIs.
gregturn Sep 5, 2019
85fe81e
#1067 - Remove @EnableEntityLinks.
gregturn Sep 5, 2019
fd70fd9
#1061 - Reenable default codecs for WebFlux configuration.
gregturn Sep 4, 2019
36baafe
#1062 - Update reference docs to show EntityLinks are a Spring Web MV…
gregturn Sep 5, 2019
91a34f2
#1072 - Moved null value inclusion configuration to the getter of Hal…
odrotbohm Sep 5, 2019
4ede524
#1070 - Update changelogs.
gregturn Sep 5, 2019
21c888c
#1070 - Tweak release script.
gregturn Sep 5, 2019
f4143c9
#1070 - Releasing Spring HATEOAS 1.0.0.RC2.
gregturn Sep 5, 2019
11485d4
#1070 - Continue development on 1.0.0.BUILD-SNAPSHOT.
gregturn Sep 5, 2019
9ddfdc8
#1061 - Polishing.
gregturn Sep 16, 2019
1a2ddfa
#1075 - Improvements in I18N configuration setup.
odrotbohm Sep 20, 2019
3d6dc9a
#1079 - Upgrade to Spring Framework snapshots.
odrotbohm Sep 23, 2019
04d295a
#1028 - Fix example in docs to reflect requirement for _prompt for pr…
colin-young Aug 1, 2019
3e805b0
#1085 - Upgrade to Spring Plugin 2.0 snapshots.
odrotbohm Sep 23, 2019
dbf1ee8
#1086 - Upgrade to Jackson BOM 2.9.9.20190807.
odrotbohm Sep 23, 2019
c7065ca
#1088 - Upgrade to Jackson 2.10 preview 3.
odrotbohm Sep 24, 2019
d88a995
#1089 - Upgrade to Reactor Dysprosium GA.
odrotbohm Sep 25, 2019
26a0dd8
#1088 - Upgrade to Jackson 2.10 GA.
odrotbohm Sep 26, 2019
30ddf18
#1080 - Improved configuration setup and documentation on EntityLinks.
odrotbohm Sep 26, 2019
f15740f
#1038 - Update documentation and testing for ALPS.
gregturn Aug 13, 2019
507f7de
#1075 - Explicitly use classpath protocol for base names of MessageRe…
odrotbohm Sep 26, 2019
0e7bafc
#1085 - Upgrade to Spring Plugin 2.0.0.RELEASE.
gregturn Sep 30, 2019
e332b1b
#1079 - Upgrade to Spring Framework 5.2.0.RELEASE.
gregturn Sep 30, 2019
6883159
#1090 - Update CHANGELOG.
gregturn Sep 30, 2019
5408014
#1090 - Releasing Spring HATEOAS 1.0.0.RELEASE.
gregturn Sep 30, 2019
9199bb9
#1090 - Continue development on 1.0.1.BUILD-SNAPSHOT.
gregturn Sep 30, 2019
2357d8e
#1090 - Test against Spring Framework 5.2.1 snapshots.
gregturn Sep 30, 2019
f0c2019
#1090 - Polishing.
gregturn Sep 30, 2019
d0c69f4
#1090 - Polishing.
gregturn Sep 30, 2019
0d751ea
#1090 - Move master branch to 1.1.0.BUILD-SNAPSHOT.
gregturn Sep 30, 2019
4b234b6
#1091 - Polishing.
luvarqpp Sep 30, 2019
b048c27
#1045 - Reduce visiblity of UriTemplate constructors.
gregturn Oct 10, 2019
8c6dfc9
#1097 - Polishing some grammatical and spelling errors.
martinotten Oct 21, 2019
cbae7db
#1100 - Update CI to use JDK 13 for edge testing.
gregturn Oct 23, 2019
f45aabe
#1101 - Migrate HAL_JSON_UTF8 to HAL_JSON.
luvarqpp Oct 23, 2019
cf0c606
#1098 - Institute checks for client-only setups.
gregturn Oct 21, 2019
4b814e8
#1103 - Add migration for ResourceAssemblerSupport -> RepresentationM…
odrotbohm Oct 25, 2019
1506dfd
#1107 - Upgrade to Spring Framework 5.2.1.RELEASE.
gregturn Nov 3, 2019
667a4f4
#1109 - Upgrade to Reactor Dysprosium-SR1.
gregturn Nov 3, 2019
37e1f50
#1111 - Add 1.0.1.RELEASE to changelog.txt.
gregturn Nov 3, 2019
d0198d5
#1118 - Switch to ConcurrentReferenceHashMap to cache UriTemplate ins…
odrotbohm Nov 18, 2019
fc42597
#1118 - Polishing.
odrotbohm Nov 18, 2019
aa9e449
#1121 - Shortcut ignored property lookups to prevent NullPointerExcep…
odrotbohm Nov 18, 2019
3d9fe38
#1122 - Fixed generics declaration in RepresentationModelAssemblerSup…
odrotbohm Nov 22, 2019
5444e14
#1122 - Polishing.
odrotbohm Nov 22, 2019
5f016d6
#1119 - Avoid reference to spring-webmvc in configuration for RestTem…
odrotbohm Nov 9, 2019
d3ece76
#1127 - Avoid double encoding in UriTemplate.
odrotbohm Nov 28, 2019
d98e678
#593 - Make UriTemplate smarter to avoid reencoding of given URI stri…
odrotbohm Nov 28, 2019
5ae89bc
#593 - Polishing.
odrotbohm Nov 28, 2019
17543fc
#1119 - Include WebMvcConverters in WebFluxHateoasConfiguration.
gregturn Dec 1, 2019
a630a43
#1119 - Moved WebConverters bean declaration into common HateoasConfi…
odrotbohm Dec 1, 2019
3d6e845
#1133 - Fix package name vnderror to vnderrors in migration script.
YanWenKun Nov 30, 2019
f6a4e65
#1138 - Upgrade to Spring Framework 5.2.2 snapshots.
odrotbohm Dec 2, 2019
3127c97
#1134 - Make sure we don't accidentally drop customizations made to W…
odrotbohm Dec 2, 2019
86ad689
#1138 - Upgrade to Spring Framework 5.2.2 release.
odrotbohm Dec 3, 2019
8befce3
#1134 - Forward global codec settings to decoders in WebClientConfigu…
odrotbohm Dec 3, 2019
9f05bea
#1138 - Polishing.
gregturn Dec 3, 2019
452189e
#1148 - Further performance improvements in link creation.
odrotbohm Dec 6, 2019
7744bda
#1147 - Make sure we explicitly expose all media type model properties.
odrotbohm Dec 9, 2019
f6e2b3b
#1147 - Polishing.
odrotbohm Dec 9, 2019
8e96eaf
#1150 - WebFluxLinkBuilder now considers the requests context path.
odrotbohm Dec 9, 2019
26c44dc
#1152 - Allow adding path segments to links created via WebFluxLinkBu…
odrotbohm Dec 9, 2019
8f1f355
#1154 - WebFlux Link creation starts with clean query parameters.
odrotbohm Dec 9, 2019
a2290c6
#1132 - HAL link relation rendering now applies Jackson's PropertyNam…
odrotbohm Dec 6, 2019
6bb2310
#1155 - Fixed thread-safety issues in AnnotationLinkRelationProvider.
odrotbohm Dec 10, 2019
4f3be11
#775 - Clean up VndError implementation to match spec.
gregturn Dec 10, 2019
20bff3e
#786 - Implement vendor neutral error handling with RFC-7807.
gregturn Aug 30, 2019
a084686
#786 - Deprecate VndErrors and VndError.
gregturn Aug 30, 2019
8cf23aa
#1157 - Register custom serializers to handle Map based EntityModel i…
odrotbohm Dec 1, 2019
aef81d1
#1157 - Tweaks to EntityModel to allow deserialization with Map<Strin…
odrotbohm Dec 11, 2019
5502bfd
#1159 - HalConfiguration now exposes whether to enforce arrays in emb…
odrotbohm Dec 11, 2019
ebe7038
#1157 - Fixed custom EntityModel serialization for Map payloads.
odrotbohm Dec 12, 2019
ffbed21
#1166 - Fix premature initialization of downstream dependencies of We…
odrotbohm Jan 6, 2020
0d25b2e
#1169 - Update copyright years to 2020.
odrotbohm Jan 10, 2020
1764446
#786 - Redesign of the support for the HTTP Problem spec (RFC-7807).
odrotbohm Dec 11, 2019
37896bc
#786 - Added documentation for HTTP Problem Details media type support.
odrotbohm Jan 10, 2020
60cf2a8
#1116 - Revisit factory methods of RepresentationModel.
odrotbohm Nov 18, 2019
ad3e35b
#1165 - Fix for potential NullPointerException in UriTemplate.
odrotbohm Jan 14, 2020
ebb78bd
#1174 - Upgrade to Spring Framework 5.2.3.
odrotbohm Jan 15, 2020
9a28e63
#1176 - Upgrade to AssertJ 3.14.
odrotbohm Jan 15, 2020
d522031
#1177 - Upgrade to JaCoCo 0.8.5.
odrotbohm Jan 15, 2020
75c8a3f
#1178 - Upgrade to Jackson 2.10.2.
odrotbohm Jan 15, 2020
9824834
#1179 - Upgrade to Kotlin 1.3.61.
odrotbohm Jan 15, 2020
4b98f8c
#1180 - Upgrade to Slf4J 1.7.30.
odrotbohm Jan 15, 2020
41f3d45
#1181 - Upgrade to Reactor Dysprosium SR3.
odrotbohm Jan 15, 2020
38ace45
#1182 - Upgrade to JUnit 5.5.2.
odrotbohm Jan 15, 2020
0e8f79c
#1142 - Update CHANGELOG for 1.0.2.RELEASE.
gregturn Dec 3, 2019
749bfda
#1113 - Update changelog.
odrotbohm Jan 15, 2020
107e238
#1113 - Releasing Spring HATEOAS 1.1.0.M1.
odrotbohm Jan 15, 2020
3d5ec16
#1113 - Continue development on 1.1.0.BUILD-SNAPSHOT.
odrotbohm Jan 15, 2020
1f335c6
#1113 - Polishing release instructions.
odrotbohm Jan 15, 2020
d1889d2
#1190 - Fix typos, document links, and grammatical errors.
rolandkrueger Jan 24, 2020
c33d8d4
#1183 - Add @ExposesResourceFor to migration script.
gregturn Feb 5, 2020
f297bb2
#1195 - Upgrade to Jackson 2.10.2.20200130.
gregturn Feb 10, 2020
f1bc790
#1172 - Provide static helpers to build TemplateVariable instance.
gregturn Feb 6, 2020
d1c1fbb
#1172 - Polishing.
odrotbohm Feb 11, 2020
d499b63
#1189 - Look for web annotations in interfaces.
gregturn Feb 7, 2020
79ed8ba
#1189 - Polishing.
odrotbohm Feb 11, 2020
d060e4b
#1198 - Upgrade to Lombok 1.18.12.
odrotbohm Feb 11, 2020
29479b8
#1198 - Moved of deprecated @Wither in favor of @With.
odrotbohm Feb 11, 2020
290b588
#1200 - Removed deprecation of Link.of(String, String).
odrotbohm Feb 11, 2020
9a73194
#1201 - Switched to EntityModel factory methods where possible.
odrotbohm Feb 11, 2020
1d18a9a
#1202 - Polish imports and formatting.
odrotbohm Feb 11, 2020
6ff57de
#1204 - Fix nullability declarations of VndError.path.
odrotbohm Feb 11, 2020
c687e0a
#1205 - Fix nullability warnings in EntityModelProcessorWrapper.isVal…
odrotbohm Feb 11, 2020
7ce980b
#1193 - Revised usage of Spring Web Encoder APIs.
gregturn Feb 11, 2020
258f716
#1193 - Polishing.
odrotbohm Feb 11, 2020
4b09010
#1199 - Update changelog.
odrotbohm Feb 11, 2020
868aa49
#1199 - Releasing Spring HATEOAS 1.1.0.M2.
odrotbohm Feb 11, 2020
31a8f77
#1199 - Continue development on 1.1.0.BUILD-SNAPSHOT.
odrotbohm Feb 11, 2020
1f49360
#1215 - Update RFC-5988 references to RFC-8288.
vpavic Mar 9, 2020
3a25510
#1216 - Provide String constants in IanaLinkRelations.
vpavic Mar 11, 2020
48718bb
#1216 - Polishing.
gregturn Mar 12, 2020
934ae03
#1208 - Migrate from Lombok's experimental @Wither to @With.
gregturn Feb 12, 2020
b5ee56a
#1208 - Polishing.
gregturn Mar 19, 2020
0ebf610
#1226 - Upgrade to Spring Framework 5.2.5.RELEASE.
gregturn Mar 24, 2020
3ec045e
#1227 - Upgrade to JUnit 5.6.1.
gregturn Mar 24, 2020
c519ffe
#1228 - Fix CI scripts so they use maven caching.
gregturn Mar 24, 2020
b72f62b
#1229 - Upgrade to Reactor Dysprosium-SR6.
gregturn Mar 24, 2020
8f98519
#1230 - Upgrade to Jackson 2.10.3.
gregturn Mar 24, 2020
6c09839
#1241 - Additional factory methods for CollectionModel and PagedModel.
odrotbohm Mar 27, 2020
898752f
#1225 - Provide implementation of WebTestClientConfigurer to support …
gregturn Mar 27, 2020
4e697b8
#1225 - Polishing.
gregturn Mar 30, 2020
dea0001
#1223 - Provide API to configure RestTemplate with hypermedia.
gregturn Mar 23, 2020
904a03a
#1224 - Provide API for users to easily configure WebClient instances.
gregturn Mar 25, 2020
14f6375
#1244 - Polishing.
odrotbohm Mar 31, 2020
df26afe
#1245 - Upgrade to Kotlin 1.3.71.
odrotbohm Mar 31, 2020
f4f0efc
#1246 - Upgrade to AssertJ 3.15.0.
odrotbohm Mar 31, 2020
131ec70
#1244 - Update changelog.
odrotbohm Mar 31, 2020
c060bd7
#1244 - Releasing Spring HATEOAS 1.1.0.M3.
odrotbohm Mar 31, 2020
509152a
#1244 - Continue development on 1.1.0.BUILD-SNAPSHOT.
odrotbohm Mar 31, 2020
8dfa4d7
#1224 - Polishing.
gregturn Mar 31, 2020
600a975
#1224 - Polishing.
gregturn Apr 2, 2020
fae4cf0
#1224 - Polishing.
gregturn Apr 2, 2020
6a6cd31
#1223 - Polishing.
gregturn Apr 2, 2020
599a366
#1225 - Polishing.
gregturn Apr 2, 2020
de38b9e
#1252 - Make sure HypermediaWebTestClientConfigurer is only included …
gregturn Apr 2, 2020
1f8c0a4
#1252 - Polishing.
odrotbohm Apr 3, 2020
b46082b
#1213 - Add support for Kotlin co-routines.
gregturn Apr 3, 2020
b3697bf
#1250 - Start testing against Jackson 2.11.
gregturn Apr 2, 2020
e4fc105
#1247 - Update spring-doc-resources and syntax highlighting for ref d…
Mar 31, 2020
1ef3f53
#1247 - Upgrade to Spring Docs resources 0.2.1.
odrotbohm Apr 9, 2020
2973628
#1264 - Remove .factorypath.
odrotbohm Apr 9, 2020
c388a85
#1266 - Use JDK 14 for Java.NEXT CI testing.
gregturn Apr 9, 2020
8995ba8
#1270 - Add Kotlin source to released artifacts.
Patouche Apr 13, 2020
90377a6
#227 - Verify UriTemplate reports variable parameter as "templated".
gregturn Apr 15, 2020
24a005a
#1275 - Align with Spring Framework naming convention for Kotlin co-r…
gregturn Apr 22, 2020
0fcdea7
#1277 - Upgrade to Jackson 2.11.0.
gregturn Apr 27, 2020
3124548
#1278 - Dependency upgrades.
odrotbohm Apr 28, 2020
f8b4e07
#1278 - Update changelog.
odrotbohm Apr 28, 2020
b36fb54
#1278 - Releasing Spring HATEOAS 1.1.0.RC1.
odrotbohm Apr 28, 2020
6b8e30e
#1278 - Continue development on 1.1.0.BUILD-SNAPSHOT.
odrotbohm Apr 28, 2020
36ddb28
#1280 - Fix in invocation of generic RepresentationModelProcessor.
odrotbohm Apr 29, 2020
2cab91a
#864 - Introduced HalModelBuilder.
odrotbohm May 7, 2020
b865ad4
#864 - Polishing.
odrotbohm May 7, 2020
08c5f56
#968 - Consider @JsonUnwrapped properties with (embedded) CollectionM…
reda-alaoui Apr 12, 2020
5d1136e
#968 - Polishing.
odrotbohm May 7, 2020
f92f965
#1292 - Update changelog.txt.
gregturn May 11, 2020
701f7a1
#1292 - Releasing Spring HATEOAS 1.1.0.RELEASE.
gregturn May 11, 2020
f3198b7
#1292 - Continue development on 1.2.0-SNAPSHOT.
gregturn May 11, 2020
27fe7de
#1313 - Override Problem.withStatus in ExtendedProblem to preserve pa…
gregturn Jun 26, 2020
153caea
#1313 - Polishing.
gregturn Jun 26, 2020
5972fd3
#1294 - Delombok production code.
gregturn May 22, 2020
887b93a
#1294 - Polishing.
gregturn Jul 1, 2020
d64d3d3
#1321 - Introduced MvcLink to ease Link creation from MvcUriComponent…
odrotbohm Jul 19, 2020
8af6b4c
#1322 - Added Links.and(boolean, Supplier<Link>) to conditionally add…
odrotbohm Jul 19, 2020
b560e52
#1287 - Fixed potential memory leak when creating many links.
odrotbohm Jul 22, 2020
e05d904
#1323 - HalModelBuilder.build() now picks up call side generics.
odrotbohm Jul 23, 2020
200ef44
#1323 - Polishing.
odrotbohm Jul 23, 2020
f1407b2
#1320 - Update Javadoc and toString() methods in renamed representati…
vachillo Jul 14, 2020
65a692e
#1319 - Language improvements in reference documentation.
Jul 13, 2020
348d6e4
#1287 - Remove cache from UriTemplate in favor of better handling in …
odrotbohm Jul 23, 2020
f23f239
#1287 - Polishing.
odrotbohm Jul 23, 2020
2504ae3
#1314 - HalLinkRelations now properly parses link relations with more…
odrotbohm Jul 24, 2020
4352852
#1314 - Polishing.
odrotbohm Jul 24, 2020
5f625ed
#1291 - Support alphanumeric logref for VndError.
gregturn May 18, 2020
3a7798a
#1291 - Polishing.
odrotbohm Jul 27, 2020
c5f4bfa
#361 - Implemented property resolving in link creation.
lyca Jul 27, 2020
ffa1dc3
#361 - Polishing.
odrotbohm Jul 27, 2020
5ea48dd
#361 - Rearrange PropertyResolvingMappingDiscoverer.
odrotbohm Jul 27, 2020
646e73c
#1329 - Removed APIs deprecated in 1.0.
odrotbohm Jul 27, 2020
68e7501
#1333 - Upgrade to Spring 5.2.8.
odrotbohm Jul 27, 2020
a5ccafc
#1334 - Upgrade to Reactor Dysprosium SR10.
odrotbohm Jul 27, 2020
035b742
#1335 - Added HalModelBuilder.embed(Stream<?> …).
odrotbohm Jul 28, 2020
4720e56
#1304 - Update ref docs to properly show how to register custom media…
gregturn Jul 28, 2020
6453d25
#1335 - Support for Supplier<Stream<?> expansion in EmbeddedWrappers.
odrotbohm Jul 28, 2020
a14e592
#1322 - Rename Links.and(boolean, …) to ….andIf(boolean, …).
odrotbohm Jul 29, 2020
e626282
#1340 - Added Links.and(Stream<Link>).
odrotbohm Jul 29, 2020
b4ce728
#1337 - List community-led media types in ref docs.
gregturn Jul 29, 2020
9b8971a
#1341 - Added Links.addIf(boolean, Link...).
odrotbohm Jul 29, 2020
59aed85
#1337 - Polishing.
gregturn Jul 30, 2020
f07bbb4
#1348 - Upgrade to Spring Framework 5.3 M2.
odrotbohm Aug 11, 2020
e80f087
#1349 - Use Spring Data build resources in version 2.4.
odrotbohm Aug 11, 2020
5eeedf0
#1350 - Upgrade to Kotlin 1.4 RC.
odrotbohm Aug 11, 2020
5b4f175
#1351 - Upgrade to Jackson 2.11.2.
odrotbohm Aug 11, 2020
9b64597
#1348 - Fix spring-next build profile.
odrotbohm Aug 11, 2020
b69a209
#1349 - Fix reference to Spring Data documentation resources.
odrotbohm Aug 11, 2020
8db9cf4
#1349 - Update changelog for 1.2 M1.
gregturn Aug 11, 2020
62a7ec8
#1349 - Releasing Spring HATEOAS 1.2.0-M1.
gregturn Aug 11, 2020
b0dbbd5
#1349 - Continue development on 1.2.0-SNAPSHOT.
gregturn Aug 11, 2020
69c81f2
#1352 - Render Map entries once.
gregturn Aug 11, 2020
1607994
#1352 - Change in implementation strategy for Maps in EntityModel.
odrotbohm Aug 11, 2020
6982fc3
#1358 - Update documentation links for JSON:API.
gregturn Sep 2, 2020
b8d9a15
#1364 - Document recommended visibility of media type configuration c…
odrotbohm Sep 14, 2020
367fbb9
#1364 - Polishing.
odrotbohm Sep 14, 2020
38b4dcf
#1366 - Upgrade to Spring Framework 5.3.0-RC1.
gregturn Sep 15, 2020
e85b608
#1367 - Release Spring HATEOAS 1.2.0.RC1.
gregturn Sep 15, 2020
4c040dd
#1367 - Releasing Spring HATEOAS 1.2.0-RC1.
gregturn Sep 15, 2020
146edbc
#1367 - Continue development on 1.2.0-SNAPSHOT.
gregturn Sep 15, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ target/
.settings/
.project
.classpath
.factorypath
*.iml
.idea
*.orig
Expand Down
291 changes: 291 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@
pipeline {
agent none

triggers {
pollSCM 'H/10 * * * *'
}

options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '14'))
}

stages {
stage('Publish OpenJDK 8 + Graphviz + jq docker image') {
when {
changeset "ci/Dockerfile"
}
agent any

steps {
script {
def image = docker.build("springci/spring-hateoas-openjdk8-with-graphviz-and-jq", "ci/")
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
image.push()
}
}
}
}

stage("test: baseline (jdk8)") {
agent {
docker {
image 'adoptopenjdk/openjdk8:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'rm -rf ?'
sh 'PROFILE=none ci/test.sh'
}
}

stage("Test other configurations") {
parallel {
stage("test: baseline (jdk11)") {
agent {
docker {
image 'adoptopenjdk/openjdk11:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'rm -rf ?'
sh 'PROFILE=none ci/test.sh'
}
}
stage("test: baseline (jdk14)") {
agent {
docker {
image 'adoptopenjdk/openjdk14:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'rm -rf ?'
sh 'PROFILE=none ci/test.sh'
}
}
stage("test: spring-next (jdk8)") {
agent {
docker {
image 'adoptopenjdk/openjdk8:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'rm -rf ?'
sh 'PROFILE=spring-next ci/test.sh'
}
}
stage("test: spring-next (jdk11)") {
agent {
docker {
image 'adoptopenjdk/openjdk11:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'rm -rf ?'
sh 'PROFILE=spring-next ci/test.sh'
}
}
stage("test: spring-next (jdk14)") {
agent {
docker {
image 'adoptopenjdk/openjdk14:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 30, unit: 'MINUTES') }
steps {
sh 'rm -rf ?'
sh 'PROFILE=spring-next ci/test.sh'
}
}
}
}

stage('Deploy to Artifactory') {
agent {
docker {
image 'springci/spring-hateoas-openjdk8-with-graphviz-and-jq:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 20, unit: 'MINUTES') }

environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}

steps {
script {
sh 'rm -rf ?'

// Warm up this plugin quietly before using it.
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -q org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version'

// Extract project's version number
PROJECT_VERSION = sh(
script: 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version -o | grep -v INFO',
returnStdout: true
).trim()

RELEASE_TYPE = 'milestone' // .RC? or .M?

if (PROJECT_VERSION.endsWith('SNAPSHOT')) {
RELEASE_TYPE = 'snapshot'
} else if (PROJECT_VERSION.endsWith('RELEASE')) {
RELEASE_TYPE = 'release'
}

// Capture build output...
OUTPUT = sh(
script: "PROFILE=ci,${RELEASE_TYPE} ci/build.sh",
returnStdout: true
).trim()

echo "$OUTPUT"

// ...to extract artifactory build info
build_info_path = OUTPUT.split('\n')
.find { it.contains('Artifactory Build Info Recorder') }
.split('Saving Build Info to ')[1]
.trim()[1..-2]

// Stash the JSON build info to support promotion to bintray
dir(build_info_path + '/..') {
stash name: 'build_info', includes: "*.json"
}
}
}
}
stage('Release documentation') {
when {
anyOf {
branch 'master'
branch 'release'
}
}
agent {
docker {
image 'springci/spring-hateoas-openjdk8-with-graphviz-and-jq:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 20, unit: 'MINUTES') }

environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}

steps {
script {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,distribute ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
"-Dartifactory.distribution-repository=temp-private-local " +
'-Dmaven.test.skip=true deploy -B'
}
}
}
stage('Promote to Bintray') {
when {
branch 'release'
}
agent {
docker {
image 'springci/spring-hateoas-openjdk8-with-graphviz-and-jq:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 20, unit: 'MINUTES') }

environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}

steps {
script {
sh 'rm -rf ?'

// Warm up this plugin quietly before using it.
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -q org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version'

PROJECT_VERSION = sh(
script: 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version -o | grep -v INFO',
returnStdout: true
).trim()

if (PROJECT_VERSION.endsWith('RELEASE')) {
unstash name: 'build_info'
sh "ci/promote-to-bintray.sh"
} else {
echo "${PROJECT_VERSION} is not a candidate for promotion to Bintray."
}
}
}
}
stage('Sync to Maven Central') {
when {
branch 'release'
}
agent {
docker {
image 'springci/spring-hateoas-openjdk8-with-graphviz-and-jq:latest'
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
options { timeout(time: 20, unit: 'MINUTES') }

environment {
BINTRAY = credentials('Bintray-spring-operator')
SONATYPE = credentials('oss-token')
}

steps {
script {
sh 'rm -rf ?'

// Warm up this plugin quietly before using it.
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -q org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version'

PROJECT_VERSION = sh(
script: 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version -o | grep -v INFO',
returnStdout: true
).trim()

if (PROJECT_VERSION.endsWith('RELEASE')) {
unstash name: 'build_info'
sh "ci/sync-to-maven-central.sh"
} else {
echo "${PROJECT_VERSION} is not a candidate for syncing to Maven Central."
}
}
}
}
}

post {
changed {
script {
slackSend(
color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',
channel: '#spring-hateoas',
message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}")
emailext(
subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}",
mimeType: 'text/html',
recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']],
body: "<a href=\"${env.BUILD_URL}\">${currentBuild.fullDisplayName} is reported as ${currentBuild.currentResult}</a>")
}
}
}
}
Loading