From 4673b89838256438b15d3b4efa161ade3db220f8 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 25 Jul 2018 09:59:57 +0000 Subject: [PATCH] Sync docs from 2.0.x to gh-pages --- 2.0.x/multi/multi__contract_dsl.html | 15 ++++++++++++++- 2.0.x/single/spring-cloud-contract.html | 15 ++++++++++++++- .../checkstyle.html | 6 +++--- .../checkstyle.rss | 8 ++++---- .../complex.html | 6 +++--- .../configs.html | 6 +++--- .../convert-mojo.html | 6 +++--- .../generateStubs-mojo.html | 6 +++--- .../generateTests-mojo.html | 6 +++--- .../help-mojo.html | 6 +++--- .../index.html | 6 +++--- .../integration.html | 6 +++--- .../issue-tracking.html | 6 +++--- .../junit.html | 6 +++--- .../license.html | 6 +++--- .../plugin-info.html | 6 +++--- .../plugin-management.html | 6 +++--- .../plugins.html | 6 +++--- .../project-info.html | 6 +++--- .../project-reports.html | 6 +++--- .../project-summary.html | 6 +++--- .../pushStubsToScm-mojo.html | 6 +++--- .../run-mojo.html | 6 +++--- .../sitemap.html | 6 +++--- .../source-repository.html | 6 +++--- .../spock.html | 6 +++--- .../team-list.html | 6 +++--- .../usage.html | 6 +++--- 2.0.x/spring-cloud-contract.xml | 17 +++++++++++++++-- 29 files changed, 122 insertions(+), 83 deletions(-) diff --git a/2.0.x/multi/multi__contract_dsl.html b/2.0.x/multi/multi__contract_dsl.html index 8303a19275..24bbe04901 100644 --- a/2.0.x/multi/multi__contract_dsl.html +++ b/2.0.x/multi/multi__contract_dsl.html @@ -1628,7 +1628,20 @@ to work with Web Flux.

Maven.  // your tests go here // in this config class you define all controllers and mocked services - include::{samples_url}/producer_webflux/src/test/java/com/example/BeerRestBase.java[tags=config,indent=0] +@Configuration +@EnableAutoConfiguration +static class Config { + + @Bean + PersonCheckingService personCheckingService() { + return personToCheck -> personToCheck.age >= 20; + } + + @Bean + ProducerController producerController() { + return new ProducerController(personCheckingService()); + } +} }

8.10 Messaging Top-Level Elements

The DSL for messaging looks a little bit different than the one that focuses on HTTP. The following sections explain the differences:

8.10.1 Output Triggered by a Method

The output message can be triggered by calling a method (such as a Scheduler when a was diff --git a/2.0.x/single/spring-cloud-contract.html b/2.0.x/single/spring-cloud-contract.html index b5b3e12d46..29b43aac7d 100644 --- a/2.0.x/single/spring-cloud-contract.html +++ b/2.0.x/single/spring-cloud-contract.html @@ -5029,7 +5029,20 @@ to work with Web Flux.

Maven.  // your tests go here // in this config class you define all controllers and mocked services - include::{samples_url}/producer_webflux/src/test/java/com/example/BeerRestBase.java[tags=config,indent=0] +@Configuration +@EnableAutoConfiguration +static class Config { + + @Bean + PersonCheckingService personCheckingService() { + return personToCheck -> personToCheck.age >= 20; + } + + @Bean + ProducerController producerController() { + return new ProducerController(personCheckingService()); + } +} }

8.10 Messaging Top-Level Elements

The DSL for messaging looks a little bit different than the one that focuses on HTTP. The following sections explain the differences:

8.10.1 Output Triggered by a Method

The output message can be triggered by calling a method (such as a Scheduler when a was diff --git a/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.html b/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.html index f5b57eeb18..b3cc5b9406 100644 --- a/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.html +++ b/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.html @@ -1,13 +1,13 @@ - + Spring Cloud Contract Maven Plugin – Checkstyle Results @@ -146,7 +146,7 @@