{"action":"created","issue":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/16","labels_url":"https://api.github.com/repos/bethesque/pact_broker/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/bethesque/pact_broker/issues/16/comments","events_url":"https://api.github.com/repos/bethesque/pact_broker/issues/16/events","html_url":"https://github.com/bethesque/pact_broker/issues/16","id":54155225,"number":16,"title":"Allow pacticipants with similar name","user":{"login":"mc-tyro","id":10510169,"avatar_url":"https://avatars.githubusercontent.com/u/10510169?v=3","gravatar_id":"","url":"https://api.github.com/users/mc-tyro","html_url":"https://github.com/mc-tyro","followers_url":"https://api.github.com/users/mc-tyro/followers","following_url":"https://api.github.com/users/mc-tyro/following{/other_user}","gists_url":"https://api.github.com/users/mc-tyro/gists{/gist_id}","starred_url":"https://api.github.com/users/mc-tyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc-tyro/subscriptions","organizations_url":"https://api.github.com/users/mc-tyro/orgs","repos_url":"https://api.github.com/users/mc-tyro/repos","events_url":"https://api.github.com/users/mc-tyro/events{/privacy}","received_events_url":"https://api.github.com/users/mc-tyro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-13T06:25:39Z","updated_at":"2015-01-14T00:14:41Z","closed_at":null,"body":"We get the following message in the logs when we attempt to add a pact to the pact-broker\r\n\r\n\"The following potential duplicate pacticipants were found for service-gateway: service \"\r\n\r\nLooking over the code, I can see this is quite deliberate. Is there a reason why pacticipants can not have similar names?"},"comment":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/comments/69847588","html_url":"https://github.com/bethesque/pact_broker/issues/16#issuecomment-69847588","issue_url":"https://api.github.com/repos/bethesque/pact_broker/issues/16","id":69847588,"user":{"login":"mc-tyro","id":10510169,"avatar_url":"https://avatars.githubusercontent.com/u/10510169?v=3","gravatar_id":"","url":"https://api.github.com/users/mc-tyro","html_url":"https://github.com/mc-tyro","followers_url":"https://api.github.com/users/mc-tyro/followers","following_url":"https://api.github.com/users/mc-tyro/following{/other_user}","gists_url":"https://api.github.com/users/mc-tyro/gists{/gist_id}","starred_url":"https://api.github.com/users/mc-tyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc-tyro/subscriptions","organizations_url":"https://api.github.com/users/mc-tyro/orgs","repos_url":"https://api.github.com/users/mc-tyro/repos","events_url":"https://api.github.com/users/mc-tyro/events{/privacy}","received_events_url":"https://api.github.com/users/mc-tyro/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T00:14:41Z","updated_at":"2015-01-14T00:14:41Z","body":"Thanks for that. We've got it working. We weren't getting the response due to some tools we had written on our end to publish to the pact-broker.\r\n\r\nSeems like a pretty heavy-handed way to deal with user error, but I can see how you got there. \r\nI can see this force option having to be used a lot in our environment as we try to keep to a naming convention for the components that make up a subsystem. \r\n\r\nIn our organisation we may just define a process where we create the pacticipants explicitly instead of relying on the broker to create one during publishing. The error message provided is clear enough for this. "}}