Messaging polyglot support (#1472)
added support for AMQP, KAFKA and standalone options
This commit is contained in:
committed by
GitHub
parent
c5d3456d3a
commit
a915cf102b
@@ -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[]
|
||||
|
||||
@@ -11,12 +11,13 @@ response:
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
metadata:
|
||||
wiremock: >
|
||||
{
|
||||
"response" : {
|
||||
"fixedDelayMilliseconds": 2000
|
||||
wiremock:
|
||||
stubMapping: >
|
||||
{
|
||||
"response" : {
|
||||
"fixedDelayMilliseconds": 2000
|
||||
}
|
||||
}
|
||||
}
|
||||
# end::metadata[]
|
||||
---
|
||||
request:
|
||||
|
||||
Reference in New Issue
Block a user