Messaging polyglot support (#1472)

added support for AMQP, KAFKA and standalone options
This commit is contained in:
Marcin Grzejszczak
2020-08-21 18:05:32 +02:00
committed by GitHub
parent c5d3456d3a
commit a915cf102b
74 changed files with 3399 additions and 791 deletions

View File

@@ -50,13 +50,16 @@ import org.springframework.cloud.contract.spec.Contract
contentType("application/json")
}
}
metadata([wiremock: '''\
{
"response" : {
"fixedDelayMilliseconds": 2000
}
}
'''
metadata([
wiremock: [
stubMapping: '''\
{
"response" : {
"fixedDelayMilliseconds": 2000
}
}
'''
]
])
}
// end::metadata[]

View File

@@ -11,12 +11,13 @@ response:
headers:
Content-Type: application/json
metadata:
wiremock: >
{
"response" : {
"fixedDelayMilliseconds": 2000
wiremock:
stubMapping: >
{
"response" : {
"fixedDelayMilliseconds": 2000
}
}
}
# end::metadata[]
---
request: