diff --git a/1.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg b/1.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg index c8f06d9a47..fabe04289d 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg +++ b/1.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg @@ -1,5 +1,5 @@ - + diff --git a/1.1.x/checkstyle-checker.xml b/1.1.x/checkstyle-checker.xml index 79233ddbd0..ce80589e3c 100644 --- a/1.1.x/checkstyle-checker.xml +++ b/1.1.x/checkstyle-checker.xml @@ -1,7 +1,7 @@ + "https://www.puppycrawl.com/dtds/configuration_1_3.dtd"> diff --git a/1.1.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg b/1.1.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg index c8f06d9a47..fabe04289d 100644 --- a/1.1.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg +++ b/1.1.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg @@ -1,5 +1,5 @@ - + diff --git a/1.1.x/spring-cloud-contract.xml b/1.1.x/spring-cloud-contract.xml index bfc873ad8c..117fc7a175 100644 --- a/1.1.x/spring-cloud-contract.xml +++ b/1.1.x/spring-cloud-contract.xml @@ -339,9 +339,9 @@ all the contract are present in the producer’s repository repositories { mavenCentral() mavenLocal() - maven { url "http://repo.spring.io/snapshot" } - maven { url "http://repo.spring.io/milestone" } - maven { url "http://repo.spring.io/release" } + maven { url "https://repo.spring.io/snapshot" } + maven { url "https://repo.spring.io/milestone" } + maven { url "https://repo.spring.io/release" } } @@ -694,7 +694,7 @@ You can switch off the value of the workOffline parameter in example of achieving the same by changing the properties. stubrunner: ids: 'com.example:http-server-dsl:+:stubs:8080' - repositoryRoot: http://repo.spring.io/libs-snapshot + repositoryRoot: https://repo.spring.io/libs-snapshot And that’s it! @@ -717,7 +717,7 @@ is under constant development. Readings -Slides from Marcin Grzejszczak’s talk about Accurest +Slides from Marcin Grzejszczak’s talk about Accurest Accurest related articles from Marcin Grzejszczak’s blog @@ -745,7 +745,7 @@ is under constant development. In order to use Spring Cloud Contract Verifier with WireMock you have to use Gradle or Maven plugin. If you want to use Spock in your projects you have to add separately -the spock-core and spock-spring modules. Check Spock docs for more information +the spock-core and spock-spring modules. Check Spock docs for more information
@@ -809,9 +809,9 @@ and will modify the imports accordingly. repositories { mavenCentral() mavenLocal() - maven { url "http://repo.spring.io/snapshot" } - maven { url "http://repo.spring.io/milestone" } - maven { url "http://repo.spring.io/release" } + maven { url "https://repo.spring.io/snapshot" } + maven { url "https://repo.spring.io/milestone" } + maven { url "https://repo.spring.io/release" } } }
@@ -1929,9 +1929,9 @@ automatically for you. repositories { mavenCentral() mavenLocal() - maven { url "http://repo.spring.io/snapshot" } - maven { url "http://repo.spring.io/milestone" } - maven { url "http://repo.spring.io/release" } + maven { url "https://repo.spring.io/snapshot" } + maven { url "https://repo.spring.io/milestone" } + maven { url "https://repo.spring.io/release" } } @@ -1976,7 +1976,7 @@ automatically for you. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 https://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>stubs</id> <formats> <format>jar</format> @@ -2042,7 +2042,7 @@ publishing {
Stub Runner Core Runs stubs for service collaborators. Treating stubs as contracts of services allows to use stub-runner as an implementation of -Consumer Driven Contracts. +Consumer Driven Contracts. Stub Runner allows you to automatically download the stubs of the provided dependencies (or pick those from the classpath), start WireMock servers for them and feed them with proper stub definitions. For messaging, special stub routes are defined.
@@ -2067,7 +2067,7 @@ to true then Stub Runner will connect to the given server and It will then unpack the JAR to a temporary folder and reference those files in further contract processing. Example: -@AutoConfigureStubRunner(repositoryRoot="http://foo.bar", ids = "com.example:beer-api-producer:+:stubs:8095") +@AutoConfigureStubRunner(repositoryRoot="https://foo.bar", ids = "com.example:beer-api-producer:+:stubs:8095")
Classpath scanning @@ -2570,7 +2570,7 @@ project for more information.
Spring Cloud CLI -Starting from 1.4.0.RELEASE version of the Spring Cloud CLI +Starting from 1.4.0.RELEASE version of the Spring Cloud CLI project you can start Stub Runner Boot by executing spring cloud stubrunner. In order to pass the configuration just create a stubrunner.yml file in the current working directory or a subdirectory called config or in ~/.spring-cloud. The file could look like this @@ -2736,7 +2736,7 @@ and we want to have the stub runner feature turned on @AutoConfigureStu Now let’s assume that we want to start this application so that the stubs get automatically registered. We can do it by running the app java -jar ${SYSTEM_PROPS} stub-runner-boot-eureka-example.jar where ${SYSTEM_PROPS} would contain the following list of properties --Dstubrunner.repositoryRoot=http://repo.spring.io/snapshots (1) +-Dstubrunner.repositoryRoot=https://repo.spring.io/snapshots (1) -Dstubrunner.cloud.stubbed.discovery.enabled=false (2) -Dstubrunner.ids=org.springframework.cloud.contract.verifier.stubs:loanIssuance,org.springframework.cloud.contract.verifier.stubs:fraudDetectionServer,org.springframework.cloud.contract.verifier.stubs:bootService (3) -Dstubrunner.idsToServiceIds.fraudDetectionServer=someNameThatShouldMapFraudDetectionServer (4) @@ -2920,7 +2920,7 @@ information about the reasons behind this change. Starting from version 1.0.4 as a version you can provide a range of versions that you would like the Stub Runner to take into consideration. You can read more about the Aether versioning ranges here. -Taken from Aether Docs: +Taken from Aether Docs:
This scheme accepts versions of any form, interpreting a version as a sequence of numeric and alphabetic segments. The characters '-', '_', and '.' as well as the mere transitions from digit to letter and vice versa delimit the version segments. Delimiters are treated as equivalent. @@ -3212,9 +3212,9 @@ Remember to annotate your test class with @AutoConfigureStubRunner. "id":"01fbe706f872cb32", "name":"Washington", "place_type":"city", - "url": "http://api.twitter.com/1/geo/id/01fbe706f872cb32.json" + "url": "https://api.twitter.com/1/geo/id/01fbe706f872cb32.json" } }] ''' @@ -6153,7 +6153,7 @@ public class WiremockForDocsMockServerApplicationTests { public void contextLoads() throws Exception { // will read stubs classpath MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate) - .baseUrl("http://example.org").stubs("classpath:/stubs/resource.json") + .baseUrl("https://example.org").stubs("classpath:/stubs/resource.json") .build(); // We're asserting if WireMock responded properly assertThat(this.service.go()).isEqualTo("Hello World"); @@ -6164,7 +6164,7 @@ public class WiremockForDocsMockServerApplicationTests { method takes a stub path resource pattern as an argument. So in this example the stub defined at /stubs/resource.json is loaded into the mock server, so if the RestTemplate is asked to visit -http://example.org/ it will get the responses as declared +https://example.org/ it will get the responses as declared there. More than one stub pattern can be specified, and each one can be a directory (for a recursive list of all ".json"), or a fixed filename (like in the example above) or an ant-style pattern. The JSON diff --git a/1.2.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg b/1.2.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg index c8f06d9a47..fabe04289d 100644 --- a/1.2.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg +++ b/1.2.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg @@ -1,5 +1,5 @@ - + diff --git a/1.2.x/spring-cloud-contract.xml b/1.2.x/spring-cloud-contract.xml index e39aea6a38..49c1442add 100644 --- a/1.2.x/spring-cloud-contract.xml +++ b/1.2.x/spring-cloud-contract.xml @@ -4526,7 +4526,7 @@ classpath. Remember to annotate your test class with @AutoConfigureStub 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"> <!-- REQUIRED FOR TESTING --> diff --git a/2.0.x/checkstyle-checker.xml b/2.0.x/checkstyle-checker.xml index 5a0b022ca1..b7bcd94144 100644 --- a/2.0.x/checkstyle-checker.xml +++ b/2.0.x/checkstyle-checker.xml @@ -1,7 +1,7 @@ + "https://www.puppycrawl.com/dtds/configuration_1_3.dtd"> diff --git a/2.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg b/2.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg index c8f06d9a47..fabe04289d 100644 --- a/2.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg +++ b/2.0.x/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg @@ -1,5 +1,5 @@ - + diff --git a/2.0.x/spring-cloud-contract.xml b/2.0.x/spring-cloud-contract.xml index 57f1cc9ce8..b26fb8d15f 100644 --- a/2.0.x/spring-cloud-contract.xml +++ b/2.0.x/spring-cloud-contract.xml @@ -5509,7 +5509,7 @@ classpath. Remember to annotate your test class with @AutoConfigureStub 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"> <!-- REQUIRED FOR TESTING --> diff --git a/checkstyle-checker.xml b/checkstyle-checker.xml index 79233ddbd0..ce80589e3c 100644 --- a/checkstyle-checker.xml +++ b/checkstyle-checker.xml @@ -1,7 +1,7 @@ + "https://www.puppycrawl.com/dtds/configuration_1_3.dtd"> diff --git a/font-awesome/font/fontawesome-webfont.svg b/font-awesome/font/fontawesome-webfont.svg index 2edb4ec34c..8b349d50eb 100755 --- a/font-awesome/font/fontawesome-webfont.svg +++ b/font-awesome/font/fontawesome-webfont.svg @@ -1,5 +1,5 @@ - + diff --git a/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg b/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg index c8f06d9a47..fabe04289d 100644 --- a/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg +++ b/spring-cloud-contract-maven-plugin/fonts/glyphicons-halflings-regular.svg @@ -1,5 +1,5 @@ - + diff --git a/spring-cloud-contract.xml b/spring-cloud-contract.xml index 58d7bcd2d5..7da0d23e79 100644 --- a/spring-cloud-contract.xml +++ b/spring-cloud-contract.xml @@ -1375,7 +1375,7 @@ constant development. Readings -Slides from Marcin Grzejszczak’s talk about Accurest +Slides from Marcin Grzejszczak’s talk about Accurest Accurest related articles from Marcin Grzejszczak’s blog @@ -1613,7 +1613,7 @@ one to one to the contents of the repo. <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example</groupId> @@ -1727,7 +1727,7 @@ Those poms are necessary for the consumer side to run mvn clean install <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example.standalone</groupId> @@ -1771,7 +1771,7 @@ Those poms are necessary for the consumer side to run mvn clean install It’s using the assembly plugin in order to build the JAR with all the contracts. Example of such setup is here: <assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 https://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>project</id> <formats> <format>jar</format> @@ -1805,7 +1805,7 @@ Those poms are necessary for the consumer side to run mvn clean install consumer team clones the common repository, goes to the required producer’s folder (e.g. com/example/server) and runs mvn clean install -DskipTests to install locally the stubs converted from the contracts. -You need to have Maven installed locally +You need to have Maven installed locally
@@ -2315,7 +2315,7 @@ to find stub definitions and contracts. E.g. for com.example:foo:1.0.0<
Can I use the Pact Broker? -When using Pact you can use the Pact Broker +When using Pact you can use the Pact Broker to store and share Pact definitions. Starting from Spring Cloud Contract 2.0.0 one can fetch Pact files from the Pact Broker to generate tests and stubs. @@ -2599,7 +2599,7 @@ following sections: Gradle or a Maven plugin. If you want to use Spock in your projects, you must add separately the -spock-core and spock-spring modules. Check Spock +spock-core and spock-spring modules. Check Spock docs for more information
@@ -3708,7 +3708,7 @@ like them to be available for others to download / reference or reuse. In case of the JVM world those artifacts would be JARs, for Ruby these are gems and for Docker those would be Docker images. You can store those artifacts in a manager. Examples of such managers can be Artifactory -or Nexus. +or Nexus.
@@ -4400,7 +4400,7 @@ it if you want to. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 https://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>stubs</id> <formats> <format>jar</format> @@ -4466,7 +4466,7 @@ publishing {
Stub Runner Core Runs stubs for service collaborators. Treating stubs as contracts of services allows to use stub-runner as an implementation of -Consumer Driven Contracts. +Consumer Driven Contracts. Stub Runner allows you to automatically download the stubs of the provided dependencies (or pick those from the classpath), start WireMock servers for them and feed them with proper stub definitions. For messaging, special stub routes are defined.
@@ -4500,7 +4500,7 @@ For messaging, special stub routes are defined. Example: -@AutoConfigureStubRunner(repositoryRoot="http://foo.bar", ids = "com.example:beer-api-producer:+:stubs:8095", stubsMode = StubRunnerProperties.StubsMode.LOCAL) +@AutoConfigureStubRunner(repositoryRoot="https://foo.bar", ids = "com.example:beer-api-producer:+:stubs:8095", stubsMode = StubRunnerProperties.StubsMode.LOCAL)
Classpath scanning @@ -5234,7 +5234,7 @@ $ java -jar stub-runner.jar --stubrunner.ids=... --stubrunner.repositoryRoot=...
Spring Cloud CLI -Starting from 1.4.0.RELEASE version of the Spring Cloud CLI +Starting from 1.4.0.RELEASE version of the Spring Cloud CLI project you can start Stub Runner Boot by executing spring cloud stubrunner. In order to pass the configuration just create a stubrunner.yml file in the current working directory or a subdirectory called config or in ~/.spring-cloud. The file could look like this @@ -5972,9 +5972,9 @@ classpath. Remember to annotate your test class with @AutoConfigureStub xmlns:beans="http://www.springframework.org/schema/beans" xmlns="http://www.springframework.org/schema/integration" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans.xsd + https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration - http://www.springframework.org/schema/integration/spring-integration.xsd"> + https://www.springframework.org/schema/integration/spring-integration.xsd"> <!-- REQUIRED FOR TESTING --> @@ -7679,7 +7679,7 @@ matches the JSON Path. If you’re using the YAML contract definition you have to use the -Handlebars {{{ }}} notation with custom, Spring Cloud Contract +Handlebars {{{ }}} notation with custom, Spring Cloud Contract functions to achieve this. @@ -10527,7 +10527,7 @@ public class WiremockForDocsMockServerApplicationTests { public void contextLoads() throws Exception { // will read stubs classpath MockRestServiceServer server = WireMockRestServiceServer.with(this.restTemplate) - .baseUrl("http://example.org").stubs("classpath:/stubs/resource.json") + .baseUrl("https://example.org").stubs("classpath:/stubs/resource.json") .build(); // We're asserting if WireMock responded properly assertThat(this.service.go()).isEqualTo("Hello World"); @@ -10538,7 +10538,7 @@ public class WiremockForDocsMockServerApplicationTests { The baseUrl value is prepended to all mock calls, and the stubs() method takes a stub path resource pattern as an argument. In the preceding example, the stub defined at /stubs/resource.json is loaded into the mock server. If the RestTemplate is asked to -visit http://example.org/, it gets the responses as being declared at that URL. More +visit https://example.org/, it gets the responses as being declared at that URL. More 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 @@ -10826,7 +10826,7 @@ structure presented in the previous snippet. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 https://maven.apache.org/xsd/assembly-1.1.3.xsd"> <id>stubs</id> <formats> <format>jar</format>