From 19085e39ae2b0176afb3973deef1f4939cb8a56c Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Thu, 28 Mar 2019 11:49:15 +0100 Subject: [PATCH] Fix more URLs. # Conflicts: # docs/src/main/asciidoc/verifier_setup.adoc --- README.adoc | 18 ++++++++++-------- .../stubrunner/GitStubDownloaderTests.java | 4 ++-- .../src/main/resources/integration-context.xml | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/README.adoc b/README.adoc index 6eeeb5daa1..3a0dc74c7e 100644 --- a/README.adoc +++ b/README.adoc @@ -49,7 +49,7 @@ Spring Cloud Contract Verifier. Before becoming Spring Cloud Contract, this project was called https://github.com/Codearte/accurest[Accurest]. It was created by https://twitter.com/mgrzejszczak[Marcin Grzejszczak] and https://twitter.com/jkubrynski[Jakub Kubrynski] -from (http://codearte.io[codearte.io]. +from (https://github.com/Codearte[Codearte]. The `0.1.0` release took place on 26 Jan 2015 and it became stable with `1.0.0` release on 29 Feb 2016. @@ -1123,7 +1123,7 @@ a map notation or String with interpolations. Consult the <> section for more information. We highly recommend using the map notation! TIP: You must understand the map notation in order to set up contracts. Please read the -http://groovy-lang.org/json.html[Groovy docs regarding JSON]. +https://groovy-lang.org/json.html[Groovy docs regarding JSON]. The previously shown contract is an agreement between two sides that: @@ -1354,7 +1354,7 @@ the `contracts` folder, pick only one, which should be `fraud`. Add the `Base` s capitalize `fraud`. That gives you the `FraudBase` test class name. All the generated tests extend that class. Over there, you can set up your Spring Context -or whatever is necessary. In this case, use http://rest-assured.io/[Rest Assured MVC] to +or whatever is necessary. In this case, use https://github.com/rest-assured/rest-assured[Rest Assured MVC] to start the server side `FraudDetectionController`. [source,java,indent=0] @@ -1539,9 +1539,9 @@ video::sAAklvxmPmk[youtube,start=538,width=640,height=480] ==== Readings - https://www.slideshare.net/MarcinGrzejszczak/stick-to-the-rules-consumer-driven-contracts-201507-confitura[Slides from Marcin Grzejszczak's talk about Accurest] -- http://toomuchcoding.com/blog/categories/accurest/[Accurest related articles from Marcin Grzejszczak's blog] -- http://toomuchcoding.com/blog/categories/spring-cloud-contract/[Spring Cloud Contract related articles from Marcin Grzejszczak's blog] -- http://groovy-lang.org/json.html[Groovy docs regarding JSON] +- https://toomuchcoding.com/blog/categories/accurest/[Accurest related articles from Marcin Grzejszczak's blog] +- https://toomuchcoding.com/blog/categories/spring-cloud-contract/[Spring Cloud Contract related articles from Marcin Grzejszczak's blog] +- https://groovy-lang.org/json.html[Groovy docs regarding JSON] === Samples @@ -1568,7 +1568,7 @@ Marcin Grzejszczak] == Spring Cloud Contract WireMock -The Spring Cloud Contract WireMock modules let you use http://wiremock.org[WireMock] in a +The Spring Cloud Contract WireMock modules let you use https://github.com/tomakehurst/wiremock[WireMock] in a Spring Boot application. Check out the https://github.com/spring-cloud/spring-cloud-contract/tree/{branch}/samples[samples] for more details. @@ -1801,7 +1801,7 @@ visit `https://example.org/`, it gets the responses as being declared at that UR than one stub pattern can be specified, and each one can be a directory (for a recursive list of all ".json"), a fixed filename (as in the example above), or an Ant-style pattern. The JSON format is the normal WireMock format, which you can read about in the -http://wiremock.org/docs/stubbing/[WireMock website]. +https://wiremock.org/docs/stubbing/[WireMock website]. Currently, the Spring Cloud Contract Verifier supports Tomcat, Jetty, and Undertow as Spring Boot embedded servers, and Wiremock itself has "native" support for a particular @@ -2249,6 +2249,8 @@ IMPORTANT: You need to have all the necessary Groovy plugins IMPORTANT: Spring Cloud Contract builds Docker images. Remember to have Docker installed. +IMPORTANT: If you want to run the build in offline mode, you have to have Maven 3.5.2+ installed. + === Project structure Here you can find the Spring Cloud Contract folder structure diff --git a/spring-cloud-contract-stub-runner/src/test/java/org/springframework/cloud/contract/stubrunner/GitStubDownloaderTests.java b/spring-cloud-contract-stub-runner/src/test/java/org/springframework/cloud/contract/stubrunner/GitStubDownloaderTests.java index c74b1ab588..7fe4ffcd7c 100644 --- a/spring-cloud-contract-stub-runner/src/test/java/org/springframework/cloud/contract/stubrunner/GitStubDownloaderTests.java +++ b/spring-cloud-contract-stub-runner/src/test/java/org/springframework/cloud/contract/stubrunner/GitStubDownloaderTests.java @@ -76,8 +76,8 @@ public class GitStubDownloaderTests { StubDownloader stubDownloader = stubDownloaderBuilder .build(new StubRunnerOptionsBuilder() .withStubsMode(StubRunnerProperties.StubsMode.REMOTE) - .withStubRepositoryRoot("http://www.foo.com/").withProperties(props()) - .build()); + .withStubRepositoryRoot("http://www.foo.com/") + .withProperties(props()).build()); then(stubDownloader).isNull(); } diff --git a/tests/samples-messaging-integration/src/main/resources/integration-context.xml b/tests/samples-messaging-integration/src/main/resources/integration-context.xml index 31c1693d41..11f19e73f3 100644 --- a/tests/samples-messaging-integration/src/main/resources/integration-context.xml +++ b/tests/samples-messaging-integration/src/main/resources/integration-context.xml @@ -21,7 +21,7 @@ xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration - https://www.springframework.org/schema/integration/spring-integration.xsd"> + http://www.springframework.org/schema/integration/spring-integration.xsd">