{"action":"created","issue":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/65","repository_url":"https://api.github.com/repos/bethesque/pact_broker","labels_url":"https://api.github.com/repos/bethesque/pact_broker/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/bethesque/pact_broker/issues/65/comments","events_url":"https://api.github.com/repos/bethesque/pact_broker/issues/65/events","html_url":"https://github.com/bethesque/pact_broker/issues/65","id":183444598,"number":65,"title":"Managing multiple pacts for the same consumer provider combination","user":{"login":"psalchow","id":12390931,"avatar_url":"https://avatars.githubusercontent.com/u/12390931?v=3","gravatar_id":"","url":"https://api.github.com/users/psalchow","html_url":"https://github.com/psalchow","followers_url":"https://api.github.com/users/psalchow/followers","following_url":"https://api.github.com/users/psalchow/following{/other_user}","gists_url":"https://api.github.com/users/psalchow/gists{/gist_id}","starred_url":"https://api.github.com/users/psalchow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psalchow/subscriptions","organizations_url":"https://api.github.com/users/psalchow/orgs","repos_url":"https://api.github.com/users/psalchow/repos","events_url":"https://api.github.com/users/psalchow/events{/privacy}","received_events_url":"https://api.github.com/users/psalchow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-17T15:15:04Z","updated_at":"2016-10-25T18:50:31Z","closed_at":null,"body":"Hi,\r\n\r\nis there any way to store multiple pacts within the broker for same provider and consumer? In my current project I've two systems communicating via messages (async) and interactions (request / response). For that I've two consumer tests - one for each type - generating the `consumer-provider.json`\r\nFor testing the provider I need to retrieve both pacts from the broker. Is there a way to distinguish different types of pacts? I already thought about using versions and tags to make this work but this seems no be the correct way.\r\n\r\nThanks,\r\nPeter"},"comment":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/comments/256137505","html_url":"https://github.com/bethesque/pact_broker/issues/65#issuecomment-256137505","issue_url":"https://api.github.com/repos/bethesque/pact_broker/issues/65","id":256137505,"user":{"login":"bethesque","id":446228,"avatar_url":"https://avatars.githubusercontent.com/u/446228?v=3","gravatar_id":"","url":"https://api.github.com/users/bethesque","html_url":"https://github.com/bethesque","followers_url":"https://api.github.com/users/bethesque/followers","following_url":"https://api.github.com/users/bethesque/following{/other_user}","gists_url":"https://api.github.com/users/bethesque/gists{/gist_id}","starred_url":"https://api.github.com/users/bethesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bethesque/subscriptions","organizations_url":"https://api.github.com/users/bethesque/orgs","repos_url":"https://api.github.com/users/bethesque/repos","events_url":"https://api.github.com/users/bethesque/events{/privacy}","received_events_url":"https://api.github.com/users/bethesque/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T18:50:31Z","updated_at":"2016-10-25T18:50:31Z","body":"It's less than ideal either way isn't it. The broker is supposed to be a\ncentral point of information so that you can see the interactions between\nall the services in a given context and how they interact. Using multiple\nbrokers means you won't be able to do that. But hey, if it solves your\nproblem better than any other way, then you gotta do what you gotta do.\n\nOn Thu, Oct 20, 2016 at 4:35 PM, Peter Salchow <notifications@github.com>\nwrote:\n\n> My providers / consumers are written in Java. I use the gradle plugin for\n> uploading pacts to the broker.\n> I had the tagging in mind as well but then I need to maintain two\n> different \"version branches\" for each type (e.g. 1.0.1a and 1.0.1s) - This\n> doesn't feel like it was made for it... And what is shown in the network\n> graph in that case?\n> Why wouldn't you setup two different brokers?\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/bethesque/pact_broker/issues/65#issuecomment-255013363>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAbPFHKZuNlmR_INrlGvUqDf1i5yVvN7ks5q1v25gaJpZM4KYvua>\n> .\n>\n"}}
{"actor":{"display_login":"bethesque"}}