-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V4: Tracking issue for support of synchronous messages #86
Comments
uglyog
changed the title
V4: Tracking issuer for support of synchronous messages
V4: Tracking issue for support of synchronous messages
Apr 25, 2021
Closed
Initial models to support this have been added to Pact-Rust. Sample JSON file format: {
"consumer": {
"name": "consumer"
},
"interactions": [
{
"description": "Test Interaction",
"key": "a0395223ce6c542b",
"providerStates": [
{
"name": "Good state to be in"
}
],
"request": {
"description": "Request Message",
"key": "eb97728e3ed8475f",
"contents": {
"contentType": "application/json",
"encoded": false,
"content": {
"a": "1234-1234"
}
},
"type": "Asynchronous/Messages"
},
"response": [
{
"description": "Message Response",
"key": "eb97728e3ed8475f",
"contents": {
"contentType": "application/json",
"encoded": false,
"content": {
"a": "1234-1234"
}
},
"type": "Asynchronous/Messages"
}
],
"type": "Synchronous/Messages"
}
],
"metadata": {
"pactSpecification": {
"version": "4.0"
}
},
"provider": {
"name": "write_pact_test_provider"
}
} |
What does the key do? |
|
Sweet! |
I can't see this documented here https://github.com/pact-foundation/pact-specification/tree/version-4 Ron, should it be there now also? |
Now documented in the main readme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Synchronous messages support a scheme were a request message is sent (via some messaging mechanism) and then a number response messages are expected back (could be from a different messaging mechanism, like a request is sent to one queue and the response comes back from another).
The text was updated successfully, but these errors were encountered: