Commit Graph

54 Commits

Author SHA1 Message Date
Andy Wilkinson
10ade82fc8 Remove code that writes build scan URI to a file
It was used by Concourse but is no longer needed after the move to
GitHub Actions.
2024-09-30 11:08:17 +01:00
Andy Wilkinson
e66e1078de Upgrade to Develocity Conventions 0.0.21 2024-09-30 11:07:43 +01:00
Andy Wilkinson
9743b45d28 Start using 0.0.3 snapshots of the compatibility test plugin
See gh-935
2024-07-18 07:47:47 +01:00
Andy Wilkinson
64b824173c Upgrade Develocity plugins 2024-07-17 14:47:26 +01:00
Andy Wilkinson
d4bb3b33c6 Upgrade to Gradle Enterprise Conventions 0.0.17
Closes gh-928
2024-04-25 18:06:50 +01:00
Andy Wilkinson
14afdf35ee Start using Gradle Enterprise Conventions 0.0.17-SNAPSHOT
See gh-928
2024-04-25 16:04:49 +01:00
Andy Wilkinson
078f3d468b Upgrade to Gradle Enterprise Conventions 0.0.16
Closes gh-923
2024-03-28 14:36:51 +00:00
Andy Wilkinson
014370ea05 Upgrade Gradle Enterprise Plugins
Closes gh-914
2024-01-16 12:33:21 +00:00
Andy Wilkinson
ca43a16370 Merge branch '2.0.x'
Closes gh-884
2023-03-24 12:32:57 +00:00
Andy Wilkinson
24ad0a829f Gradle Enterprise Gradle plugin 3.12.5
Closes gh-883
2023-03-24 12:32:39 +00:00
Andy Wilkinson
3c498dde26 Merge branch '2.0.x'
Closes gh-881
2023-03-03 10:16:31 +00:00
Andy Wilkinson
9180e223bd Upgrade to Gradle Enterprise Gradle plugin 3.12.4
Closes gh-880
2023-03-03 10:15:57 +00:00
Andy Wilkinson
c8cd6e1f76 Merge branch '2.0.x' 2023-01-10 18:10:19 +00:00
Andy Wilkinson
39e7730589 Update dependencies to remove dependency on release repo 2023-01-10 17:55:11 +00:00
Andy Wilkinson
c7717f17ed Merge branch '2.0.x'
Closes gh-851
2022-10-12 17:11:37 +01:00
Andy Wilkinson
3f424cd770 Upgrade Gradle Enterprise Gradle Plugin 3.11.2
Closes gh-850
2022-10-12 17:11:11 +01:00
Andy Wilkinson
c1ec227a7d Merge branch '2.0.x'
Closes gh-849
2022-10-12 11:34:21 +01:00
Jerome Prinet
335bad14aa Upgrade to Gradle Enterprise Plugin 3.11.1
See gh-843
2022-10-12 11:33:37 +01:00
Andy Wilkinson
bdba92efe7 Provide a bom that manages all modules
Closes gh-831
2022-07-15 15:25:16 +01:00
Andy Wilkinson
c6b5c9b1b3 Merge branch '2.0.x' 2022-06-20 17:08:12 +01:00
Jerome Prinet
d798d19667 Upgrade to Gradle Enterprise Plugin 3.10.2
See gh-812
2022-06-20 17:07:35 +01:00
Andy Wilkinson
4abe3b570e Merge branch '2.0.x' 2022-06-20 17:05:23 +01:00
Andy Wilkinson
1f66cc2817 Upgrade to Gradle Enterprise Conventions 0.0.10
Closes gh-818
2022-06-20 17:04:50 +01:00
Andy Wilkinson
aa9d216155 Merge branch '2.0.x' 2022-05-12 14:54:28 +01:00
Jerome Prinet
86751d7a16 Upgrade to Gradle Enterprise plugin 3.9
See gh-796
2022-05-12 14:53:39 +01:00
Andy Wilkinson
170e9c5b5c Polish repository configuration 2022-04-12 10:47:36 +01:00
Andy Wilkinson
d38d79755b Restore support for REST Assured
Closes gh-784
2022-01-24 11:21:03 +00:00
Andy Wilkinson
f5beaaacff Merge branch '2.0.x' 2022-01-18 19:09:55 +00:00
Jerome Prinet
a3e1a57848 Upgrade to Gradle Enterprise Plugin 3.8.1
See gh-782
2022-01-18 19:09:34 +00:00
Andy Wilkinson
dcedce1ead Merge branch '2.0.x' 2022-01-11 21:45:11 +00:00
Andy Wilkinson
ffb8da365f Add repository for GE Conventions 2022-01-11 21:44:07 +00:00
Andy Wilkinson
86ee82fb72 Merge branch '2.0.x' 2022-01-11 21:39:04 +00:00
Andy Wilkinson
f780908a4c Upgrade to GE Conventions plugin 0.0.9 2022-01-11 21:38:39 +00:00
Andy Wilkinson
ac32b929c9 Merge branch '2.0.x' 2022-01-11 20:26:27 +00:00
Andy Wilkinson
a4cdc49524 Upgrade to Gradle Enterprise Plugin 3.8
Closes gh-768
2022-01-11 20:04:30 +00:00
Andy Wilkinson
b685d10f83 Merge branch '2.0.x' 2021-11-19 13:48:29 +00:00
Jerome Prinet
4af25a86a6 Upgrade Gradle Enterprise plugin to 3.7.2
See gh-764
2021-11-19 13:47:52 +00:00
Andy Wilkinson
a7bd810a15 Upgrade to Spring Java Format 0.0.29
Closes gh-755
2021-11-18 16:12:14 +00:00
Andy Wilkinson
d2a5bb26ea Drop support for REST Assured until it supports Jakarta EE 9
Closes gh-761
2021-11-18 15:41:37 +00:00
Andy Wilkinson
1e96e3e71a Raise the minimum supported version of AsciidoctorJ to 2.5
Closes gh-751
2021-11-17 11:18:00 +00:00
Andy Wilkinson
774bed30b9 Raise the minimum version of REST Assured to 4.4
Closes gh-752
2021-11-17 11:18:00 +00:00
Andy Wilkinson
09b21a91ed Adopt compatibility testing plugin
Closes gh-728
2021-05-21 18:08:07 +01:00
Andy Wilkinson
2ead1fb0d8 Upgrade to Gradle 6.8 and modernize the build
Closes gh-719
2021-04-28 20:59:20 +01:00
Andy Wilkinson
66787cd3a5 Broaden compatibility testing for Asciidoctor 2.x
Closes gh-630
2019-09-13 12:58:11 +01:00
Andy Wilkinson
ff18f8034d Add AsciidoctorJ 1.6 and 2.0 compatibility
AsciidoctorJ 1.6 is not backwards compatible with AsciidoctorJ 1.5
and AsciidoctorJ 2.0 is not backwards compatible with AsciidoctorJ 1.6
or 1.5. The backwards incompatibilities are such that they cannot be
worked around using reflection so code needs to be compiled against
each of the three versions. To this end, this commit splits
spring-restdocs-asciidoctor into several separate modules:

1. spring-restdocs-asciidoctor-support
2. spring-restdocs-asciidoctor-1.5
3. spring-restdocs-asciidoctor-1.6
4. spring-restdocs-asciidoctor-2.0

spring-restdocs-asciidoctor-support contains support code that is not
tied to a specific version of AsciidoctorJ and can be used with
1.5, 1.6 and 2.0. The other three modules contain code that is
specific to a particular version of AsciidoctorJ. Each
version-specific module uses class names that are unique across all
three modules and is written in such a way that they will back off
when used in an environment with a different version of AsciidoctorJ.
The existing spring-restdocs-asciidoctor module has been modified to
merge the version specific jars and the support jar together into a
single jar that supports AsciidoctorJ 1.5, 1.6, and 2.0.

The above-described changes should allow users to depend upon
spring-restdocs-asciidoctor as before and to now be able to use
AsciidoctorJ 1.5, 1.6, or 2.0.

Closes gh-581
2019-06-18 12:28:36 +01:00
Andy Wilkinson
cfb1fbc85d Add support for using WebFlux's WebTestClient to document an API
Closes gh-384
2017-10-30 09:58:07 +00:00
Andy Wilkinson
319bd139fc Polish contribution and rework to use default attribute rather than macro
Rather than introducing a custom macro, this commit opts to implicitly
configure the snippets attribute instead. The attribute is configured
will the path into which snippets are generated, relative to the
directory that contains the Asciidoctor document that is being
rendered.

The samples and documentation have been updated to use the new
spring-restdocs-asciidoctor module and the implicitly configured
snippets attribute.

Closes gh-297
2016-10-21 22:42:11 +01:00
Gerrit Meier
3ac4a1acad Provide a default output directory for snippets based on build tool
Rather than requiring an output directory to be explcitly configured,
a default is now automatically configured based on the build tool
that's being used. When using Gradle, snippets will be generated in
build/generated-snippets. When using Maven, snippets will be
generated in target/generated-snippets.

See gh-297
2016-10-21 22:26:58 +01:00
Andy Wilkinson
130b411e2a Add support for using REST Assured to generate documentation snippets
This commit adds a new module, spring-restdocs-restassured, that
can be used to generate documentation snippets when testing a service
with REST Assured.

Please refer to the updated reference documentation for details.

Thanks to Johan Haleby for making a change to REST Assured so that
path parameters could be documented.

Closes gh-102
2016-01-29 12:31:37 +00:00
Andy Wilkinson
2b2b6fcd25 Isolate and reduce Spring Test dependencies
This commit splits Spring REST Docs into two projects –
spring-restdocs-core and spring-restdocs-mockmvc.

spring-restdocs-core contains the vast majority of the code but does not
depend on a specific test framework other than JUnit. The use of a
Spring Test TestExecutionListener has been replaced with a JUnit test
rule. The rule is declared once per test class and configured with
the output directory to which the generated snippets should be written.
This simplifies the implementation as thread local storage is no longer
required to transfer information about the test that’s running into
Spring REST Docs. Instead, this transfer is now handled by the new test
rule. It has also simplified the configuration as it’s no longer
necessary for users to provide a system property that configures the
output directory.

spring-restdocs-mockmvc contains code that’s specific to using Spring
REST Docs with Spring MVC Test’s MockMvc. This is currently the only
testing framework that’s supported, but it paves the way for adding
support for additional frameworks. REST Assured is one that users seem
particularly interested in (see gh-80 and gh-102).

Closes gh-107
2015-09-03 14:19:32 +01:00