Updated docs
This commit is contained in:
21
README.adoc
21
README.adoc
@@ -343,14 +343,9 @@ Add the dependency to `Spring Cloud Contract Stub Runner`
|
|||||||
<artifactId>spring-cloud-contract-wiremock</artifactId>
|
<artifactId>spring-cloud-contract-wiremock</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-test</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-contract-stub-runner</artifactId>
|
<artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
----
|
----
|
||||||
@@ -428,18 +423,8 @@ You have to add the dependencies needed by the autogenerated tests
|
|||||||
[source,xml,indent=0]
|
[source,xml,indent=0]
|
||||||
----
|
----
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.jayway.restassured</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-mock-mvc</artifactId>
|
<artifactId>spring-cloud-starter-contract-verifier</artifactId>
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.jayway.restassured</groupId>
|
|
||||||
<artifactId>spring-mock-mvc</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.toomuchcoding.jsonassert</groupId>
|
|
||||||
<artifactId>jsonassert</artifactId>
|
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ The output message can be triggered by calling a method (e.g. a Scheduler was st
|
|||||||
|
|
||||||
[source,groovy]
|
[source,groovy]
|
||||||
----
|
----
|
||||||
include::{samples_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=method_trigger,indent=0]
|
include::{tests_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=method_trigger,indent=0]
|
||||||
----
|
----
|
||||||
|
|
||||||
In this case the output message will be sent to `output` if a method called `bookReturnedTriggered` will be executed. In the message *publisher's* side
|
In this case the output message will be sent to `output` if a method called `bookReturnedTriggered` will be executed. In the message *publisher's* side
|
||||||
@@ -209,7 +209,7 @@ The output message can be triggered by receiving a message.
|
|||||||
|
|
||||||
[source,groovy]
|
[source,groovy]
|
||||||
----
|
----
|
||||||
include::{samples_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=message_trigger,indent=0]
|
include::{tests_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=message_trigger,indent=0]
|
||||||
----
|
----
|
||||||
|
|
||||||
In this case the output message will be sent to `output` if a proper message will be received on the `input` destination. In the message *publisher's* side
|
In this case the output message will be sent to `output` if a proper message will be received on the `input` destination. In the message *publisher's* side
|
||||||
|
|||||||
Reference in New Issue
Block a user