Skip to content
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

You cannot create a pact for an integration that contains both messages and interactions #353

Open
1 of 3 tasks
jameshalsall opened this issue Sep 21, 2020 · 1 comment
Open
1 of 3 tasks

Comments

@jameshalsall
Copy link

Pre issue-raising checklist

I have already (please mark the applicable with an x):

  • Upgraded to the latest Pact Broker OR
  • Checked the CHANGELOG to see if the issue I am about to raise has been fixed
  • Created an executable example that demonstrates the issue using either a:
    • Dockerfile
    • Git repository with a Travis or Appveyor (or similar) build

Software versions

  • pactflow.io

Expected behaviour

When I publish a pact file that contains both "interactions" and "messages" keys, describing both HTTP and async communication, I expect both of these to be visible in the pact details page in the broker.

Actual behaviour

Instead, I can only see the messages in the pact details page.

Steps to reproduce

Define an integration that has both HTTP (sync) and messages (async) communication, publish it to the broker.

Relevant log files

N/A

@bethesque
Copy link
Member

It's actually that the message contracts have no UI for them.

Also, defining a pact with both interactions and messages is not supported by any pact library yet. The feature is being discussed here pact-foundation/pact-specification#79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants