{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/mstine/microservices-pact/pulls/4","id":38192126,"html_url":"https://github.com/mstine/microservices-pact/pull/4","diff_url":"https://github.com/mstine/microservices-pact/pull/4.diff","patch_url":"https://github.com/mstine/microservices-pact/pull/4.patch","issue_url":"https://api.github.com/repos/mstine/microservices-pact/issues/4","number":4,"state":"open","locked":false,"title":"Add gradle task to publish pacts to broker","user":{"login":"gburton1","id":9094087,"avatar_url":"https://avatars.githubusercontent.com/u/9094087?v=3","gravatar_id":"","url":"https://api.github.com/users/gburton1","html_url":"https://github.com/gburton1","followers_url":"https://api.github.com/users/gburton1/followers","following_url":"https://api.github.com/users/gburton1/following{/other_user}","gists_url":"https://api.github.com/users/gburton1/gists{/gist_id}","starred_url":"https://api.github.com/users/gburton1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gburton1/subscriptions","organizations_url":"https://api.github.com/users/gburton1/orgs","repos_url":"https://api.github.com/users/gburton1/repos","events_url":"https://api.github.com/users/gburton1/events{/privacy}","received_events_url":"https://api.github.com/users/gburton1/received_events","type":"User","site_admin":false},"body":"Your example code has been very useful as I have been experimenting with consumer-driven testing. I noticed that we could only publish pacts with a manual PUT operation, so I found it helpful to add this Gradle task that would iterate over all pact files and publish them to the broker. I thought it might be useful for others using this example code as well.","created_at":"2015-06-21T22:42:22Z","updated_at":"2015-06-21T22:42:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mstine/microservices-pact/pulls/4/commits","review_comments_url":"https://api.github.com/repos/mstine/microservices-pact/pulls/4/comments","review_comment_url":"https://api.github.com/repos/mstine/microservices-pact/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mstine/microservices-pact/issues/4/comments","statuses_url":"https://api.github.com/repos/mstine/microservices-pact/statuses/309d6967e0453596312a719bfa109c6c146ee4fb","head":{"label":"gburton1:publishPactsToBroker","ref":"publishPactsToBroker","sha":"309d6967e0453596312a719bfa109c6c146ee4fb","user":{"login":"gburton1","id":9094087,"avatar_url":"https://avatars.githubusercontent.com/u/9094087?v=3","gravatar_id":"","url":"https://api.github.com/users/gburton1","html_url":"https://github.com/gburton1","followers_url":"https://api.github.com/users/gburton1/followers","following_url":"https://api.github.com/users/gburton1/following{/other_user}","gists_url":"https://api.github.com/users/gburton1/gists{/gist_id}","starred_url":"https://api.github.com/users/gburton1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gburton1/subscriptions","organizations_url":"https://api.github.com/users/gburton1/orgs","repos_url":"https://api.github.com/users/gburton1/repos","events_url":"https://api.github.com/users/gburton1/events{/privacy}","received_events_url":"https://api.github.com/users/gburton1/received_events","type":"User","site_admin":false},"repo":{"id":37828861,"name":"microservices-pact","full_name":"gburton1/microservices-pact","owner":{"login":"gburton1","id":9094087,"avatar_url":"https://avatars.githubusercontent.com/u/9094087?v=3","gravatar_id":"","url":"https://api.github.com/users/gburton1","html_url":"https://github.com/gburton1","followers_url":"https://api.github.com/users/gburton1/followers","following_url":"https://api.github.com/users/gburton1/following{/other_user}","gists_url":"https://api.github.com/users/gburton1/gists{/gist_id}","starred_url":"https://api.github.com/users/gburton1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gburton1/subscriptions","organizations_url":"https://api.github.com/users/gburton1/orgs","repos_url":"https://api.github.com/users/gburton1/repos","events_url":"https://api.github.com/users/gburton1/events{/privacy}","received_events_url":"https://api.github.com/users/gburton1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gburton1/microservices-pact","description":"Spring Boot Microservices + Pact-JVM","fork":true,"url":"https://api.github.com/repos/gburton1/microservices-pact","forks_url":"https://api.github.com/repos/gburton1/microservices-pact/forks","keys_url":"https://api.github.com/repos/gburton1/microservices-pact/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gburton1/microservices-pact/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gburton1/microservices-pact/teams","hooks_url":"https://api.github.com/repos/gburton1/microservices-pact/hooks","issue_events_url":"https://api.github.com/repos/gburton1/microservices-pact/issues/events{/number}","events_url":"https://api.github.com/repos/gburton1/microservices-pact/events","assignees_url":"https://api.github.com/repos/gburton1/microservices-pact/assignees{/user}","branches_url":"https://api.github.com/repos/gburton1/microservices-pact/branches{/branch}","tags_url":"https://api.github.com/repos/gburton1/microservices-pact/tags","blobs_url":"https://api.github.com/repos/gburton1/microservices-pact/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gburton1/microservices-pact/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gburton1/microservices-pact/git/refs{/sha}","trees_url":"https://api.github.com/repos/gburton1/microservices-pact/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gburton1/microservices-pact/statuses/{sha}","languages_url":"https://api.github.com/repos/gburton1/microservices-pact/languages","stargazers_url":"https://api.github.com/repos/gburton1/microservices-pact/stargazers","contributors_url":"https://api.github.com/repos/gburton1/microservices-pact/contributors","subscribers_url":"https://api.github.com/repos/gburton1/microservices-pact/subscribers","subscription_url":"https://api.github.com/repos/gburton1/microservices-pact/subscription","commits_url":"https://api.github.com/repos/gburton1/microservices-pact/commits{/sha}","git_commits_url":"https://api.github.com/repos/gburton1/microservices-pact/git/commits{/sha}","comments_url":"https://api.github.com/repos/gburton1/microservices-pact/comments{/number}","issue_comment_url":"https://api.github.com/repos/gburton1/microservices-pact/issues/comments{/number}","contents_url":"https://api.github.com/repos/gburton1/microservices-pact/contents/{+path}","compare_url":"https://api.github.com/repos/gburton1/microservices-pact/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gburton1/microservices-pact/merges","archive_url":"https://api.github.com/repos/gburton1/microservices-pact/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gburton1/microservices-pact/downloads","issues_url":"https://api.github.com/repos/gburton1/microservices-pact/issues{/number}","pulls_url":"https://api.github.com/repos/gburton1/microservices-pact/pulls{/number}","milestones_url":"https://api.github.com/repos/gburton1/microservices-pact/milestones{/number}","notifications_url":"https://api.github.com/repos/gburton1/microservices-pact/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gburton1/microservices-pact/labels{/name}","releases_url":"https://api.github.com/repos/gburton1/microservices-pact/releases{/id}","created_at":"2015-06-21T22:35:53Z","updated_at":"2015-06-21T22:35:53Z","pushed_at":"2015-06-21T22:36:53Z","git_url":"git://github.com/gburton1/microservices-pact.git","ssh_url":"git@github.com:gburton1/microservices-pact.git","clone_url":"https://github.com/gburton1/microservices-pact.git","svn_url":"https://github.com/gburton1/microservices-pact","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mstine:master","ref":"master","sha":"ea980ffc451f84944461dfa328eebcc752169aea","user":{"login":"mstine","id":11889,"avatar_url":"https://avatars.githubusercontent.com/u/11889?v=3","gravatar_id":"","url":"https://api.github.com/users/mstine","html_url":"https://github.com/mstine","followers_url":"https://api.github.com/users/mstine/followers","following_url":"https://api.github.com/users/mstine/following{/other_user}","gists_url":"https://api.github.com/users/mstine/gists{/gist_id}","starred_url":"https://api.github.com/users/mstine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstine/subscriptions","organizations_url":"https://api.github.com/users/mstine/orgs","repos_url":"https://api.github.com/users/mstine/repos","events_url":"https://api.github.com/users/mstine/events{/privacy}","received_events_url":"https://api.github.com/users/mstine/received_events","type":"User","site_admin":false},"repo":{"id":27813213,"name":"microservices-pact","full_name":"mstine/microservices-pact","owner":{"login":"mstine","id":11889,"avatar_url":"https://avatars.githubusercontent.com/u/11889?v=3","gravatar_id":"","url":"https://api.github.com/users/mstine","html_url":"https://github.com/mstine","followers_url":"https://api.github.com/users/mstine/followers","following_url":"https://api.github.com/users/mstine/following{/other_user}","gists_url":"https://api.github.com/users/mstine/gists{/gist_id}","starred_url":"https://api.github.com/users/mstine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstine/subscriptions","organizations_url":"https://api.github.com/users/mstine/orgs","repos_url":"https://api.github.com/users/mstine/repos","events_url":"https://api.github.com/users/mstine/events{/privacy}","received_events_url":"https://api.github.com/users/mstine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mstine/microservices-pact","description":"Spring Boot Microservices + Pact-JVM","fork":false,"url":"https://api.github.com/repos/mstine/microservices-pact","forks_url":"https://api.github.com/repos/mstine/microservices-pact/forks","keys_url":"https://api.github.com/repos/mstine/microservices-pact/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mstine/microservices-pact/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mstine/microservices-pact/teams","hooks_url":"https://api.github.com/repos/mstine/microservices-pact/hooks","issue_events_url":"https://api.github.com/repos/mstine/microservices-pact/issues/events{/number}","events_url":"https://api.github.com/repos/mstine/microservices-pact/events","assignees_url":"https://api.github.com/repos/mstine/microservices-pact/assignees{/user}","branches_url":"https://api.github.com/repos/mstine/microservices-pact/branches{/branch}","tags_url":"https://api.github.com/repos/mstine/microservices-pact/tags","blobs_url":"https://api.github.com/repos/mstine/microservices-pact/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mstine/microservices-pact/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mstine/microservices-pact/git/refs{/sha}","trees_url":"https://api.github.com/repos/mstine/microservices-pact/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mstine/microservices-pact/statuses/{sha}","languages_url":"https://api.github.com/repos/mstine/microservices-pact/languages","stargazers_url":"https://api.github.com/repos/mstine/microservices-pact/stargazers","contributors_url":"https://api.github.com/repos/mstine/microservices-pact/contributors","subscribers_url":"https://api.github.com/repos/mstine/microservices-pact/subscribers","subscription_url":"https://api.github.com/repos/mstine/microservices-pact/subscription","commits_url":"https://api.github.com/repos/mstine/microservices-pact/commits{/sha}","git_commits_url":"https://api.github.com/repos/mstine/microservices-pact/git/commits{/sha}","comments_url":"https://api.github.com/repos/mstine/microservices-pact/comments{/number}","issue_comment_url":"https://api.github.com/repos/mstine/microservices-pact/issues/comments{/number}","contents_url":"https://api.github.com/repos/mstine/microservices-pact/contents/{+path}","compare_url":"https://api.github.com/repos/mstine/microservices-pact/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mstine/microservices-pact/merges","archive_url":"https://api.github.com/repos/mstine/microservices-pact/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mstine/microservices-pact/downloads","issues_url":"https://api.github.com/repos/mstine/microservices-pact/issues{/number}","pulls_url":"https://api.github.com/repos/mstine/microservices-pact/pulls{/number}","milestones_url":"https://api.github.com/repos/mstine/microservices-pact/milestones{/number}","notifications_url":"https://api.github.com/repos/mstine/microservices-pact/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mstine/microservices-pact/labels{/name}","releases_url":"https://api.github.com/repos/mstine/microservices-pact/releases{/id}","created_at":"2014-12-10T09:52:30Z","updated_at":"2015-06-19T15:17:42Z","pushed_at":"2015-06-21T22:42:22Z","git_url":"git://github.com/mstine/microservices-pact.git","ssh_url":"git@github.com:mstine/microservices-pact.git","clone_url":"https://github.com/mstine/microservices-pact.git","svn_url":"https://github.com/mstine/microservices-pact","homepage":null,"size":212,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mstine/microservices-pact/pulls/4"},"html":{"href":"https://github.com/mstine/microservices-pact/pull/4"},"issue":{"href":"https://api.github.com/repos/mstine/microservices-pact/issues/4"},"comments":{"href":"https://api.github.com/repos/mstine/microservices-pact/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/mstine/microservices-pact/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/mstine/microservices-pact/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mstine/microservices-pact/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/mstine/microservices-pact/statuses/309d6967e0453596312a719bfa109c6c146ee4fb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":27,"deletions":1,"changed_files":2}}