{"action":"closed","number":94,"pull_request":{"url":"https://api.github.com/repos/joyent/containerbuddy/pulls/94","id":61270464,"html_url":"https://github.com/joyent/containerbuddy/pull/94","diff_url":"https://github.com/joyent/containerbuddy/pull/94.diff","patch_url":"https://github.com/joyent/containerbuddy/pull/94.patch","issue_url":"https://api.github.com/repos/joyent/containerbuddy/issues/94","number":94,"state":"closed","locked":false,"title":"Merge examples into integration tests","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"body":"For https://github.com/joyent/containerbuddy/issues/91. I've moved the example application into a pair of integration tests for the discovery services. This ends up being (nginx + app + consul) and (nginx + app + etcd). The tests stand up the stack, wait for it to converge, and then test that Nginx has the route we expect to `app/`. Changes this required:\r\n\r\n- move the test.sh file we were using for unit tests into the source directory\r\n- add both Consul and Etcd configuration for the App and Nginx fixtures\r\n- added a new test runner to the `test_probe` fixture.\r\n\r\ncc @misterbisson and @justenwalker ","created_at":"2016-03-01T16:40:51Z","updated_at":"2016-03-02T14:26:32Z","closed_at":"2016-03-02T14:26:32Z","merged_at":"2016-03-02T14:26:32Z","merge_commit_sha":"df7600759df5d9ed587833f7631f814201220240","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joyent/containerbuddy/pulls/94/commits","review_comments_url":"https://api.github.com/repos/joyent/containerbuddy/pulls/94/comments","review_comment_url":"https://api.github.com/repos/joyent/containerbuddy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joyent/containerbuddy/issues/94/comments","statuses_url":"https://api.github.com/repos/joyent/containerbuddy/statuses/37de332c58bb2d7b0c5d76c87f884586387fb0cd","head":{"label":"tgross:example_cleanup","ref":"example_cleanup","sha":"37de332c58bb2d7b0c5d76c87f884586387fb0cd","user":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"repo":{"id":44768692,"name":"containerbuddy","full_name":"tgross/containerbuddy","owner":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgross/containerbuddy","description":"A service for autodiscovery and configuration of applications running in containers","fork":true,"url":"https://api.github.com/repos/tgross/containerbuddy","forks_url":"https://api.github.com/repos/tgross/containerbuddy/forks","keys_url":"https://api.github.com/repos/tgross/containerbuddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgross/containerbuddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgross/containerbuddy/teams","hooks_url":"https://api.github.com/repos/tgross/containerbuddy/hooks","issue_events_url":"https://api.github.com/repos/tgross/containerbuddy/issues/events{/number}","events_url":"https://api.github.com/repos/tgross/containerbuddy/events","assignees_url":"https://api.github.com/repos/tgross/containerbuddy/assignees{/user}","branches_url":"https://api.github.com/repos/tgross/containerbuddy/branches{/branch}","tags_url":"https://api.github.com/repos/tgross/containerbuddy/tags","blobs_url":"https://api.github.com/repos/tgross/containerbuddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgross/containerbuddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgross/containerbuddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgross/containerbuddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgross/containerbuddy/statuses/{sha}","languages_url":"https://api.github.com/repos/tgross/containerbuddy/languages","stargazers_url":"https://api.github.com/repos/tgross/containerbuddy/stargazers","contributors_url":"https://api.github.com/repos/tgross/containerbuddy/contributors","subscribers_url":"https://api.github.com/repos/tgross/containerbuddy/subscribers","subscription_url":"https://api.github.com/repos/tgross/containerbuddy/subscription","commits_url":"https://api.github.com/repos/tgross/containerbuddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgross/containerbuddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgross/containerbuddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgross/containerbuddy/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgross/containerbuddy/contents/{+path}","compare_url":"https://api.github.com/repos/tgross/containerbuddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgross/containerbuddy/merges","archive_url":"https://api.github.com/repos/tgross/containerbuddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgross/containerbuddy/downloads","issues_url":"https://api.github.com/repos/tgross/containerbuddy/issues{/number}","pulls_url":"https://api.github.com/repos/tgross/containerbuddy/pulls{/number}","milestones_url":"https://api.github.com/repos/tgross/containerbuddy/milestones{/number}","notifications_url":"https://api.github.com/repos/tgross/containerbuddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgross/containerbuddy/labels{/name}","releases_url":"https://api.github.com/repos/tgross/containerbuddy/releases{/id}","deployments_url":"https://api.github.com/repos/tgross/containerbuddy/deployments","created_at":"2015-10-22T19:34:58Z","updated_at":"2016-02-10T21:13:18Z","pushed_at":"2016-03-02T13:40:00Z","git_url":"git://github.com/tgross/containerbuddy.git","ssh_url":"git@github.com:tgross/containerbuddy.git","clone_url":"https://github.com/tgross/containerbuddy.git","svn_url":"https://github.com/tgross/containerbuddy","homepage":null,"size":279,"stargazers_count":9,"watchers_count":9,"language":"Go","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":9,"default_branch":"master"}},"base":{"label":"joyent:master","ref":"master","sha":"f788bfa94f37c03b2075f45dc6123df3d56334f7","user":{"login":"joyent","id":10161,"avatar_url":"https://avatars.githubusercontent.com/u/10161?v=3","gravatar_id":"","url":"https://api.github.com/users/joyent","html_url":"https://github.com/joyent","followers_url":"https://api.github.com/users/joyent/followers","following_url":"https://api.github.com/users/joyent/following{/other_user}","gists_url":"https://api.github.com/users/joyent/gists{/gist_id}","starred_url":"https://api.github.com/users/joyent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joyent/subscriptions","organizations_url":"https://api.github.com/users/joyent/orgs","repos_url":"https://api.github.com/users/joyent/repos","events_url":"https://api.github.com/users/joyent/events{/privacy}","received_events_url":"https://api.github.com/users/joyent/received_events","type":"Organization","site_admin":false},"repo":{"id":44767194,"name":"containerbuddy","full_name":"joyent/containerbuddy","owner":{"login":"joyent","id":10161,"avatar_url":"https://avatars.githubusercontent.com/u/10161?v=3","gravatar_id":"","url":"https://api.github.com/users/joyent","html_url":"https://github.com/joyent","followers_url":"https://api.github.com/users/joyent/followers","following_url":"https://api.github.com/users/joyent/following{/other_user}","gists_url":"https://api.github.com/users/joyent/gists{/gist_id}","starred_url":"https://api.github.com/users/joyent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joyent/subscriptions","organizations_url":"https://api.github.com/users/joyent/orgs","repos_url":"https://api.github.com/users/joyent/repos","events_url":"https://api.github.com/users/joyent/events{/privacy}","received_events_url":"https://api.github.com/users/joyent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joyent/containerbuddy","description":"A service for autodiscovery and configuration of applications running in containers","fork":false,"url":"https://api.github.com/repos/joyent/containerbuddy","forks_url":"https://api.github.com/repos/joyent/containerbuddy/forks","keys_url":"https://api.github.com/repos/joyent/containerbuddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joyent/containerbuddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joyent/containerbuddy/teams","hooks_url":"https://api.github.com/repos/joyent/containerbuddy/hooks","issue_events_url":"https://api.github.com/repos/joyent/containerbuddy/issues/events{/number}","events_url":"https://api.github.com/repos/joyent/containerbuddy/events","assignees_url":"https://api.github.com/repos/joyent/containerbuddy/assignees{/user}","branches_url":"https://api.github.com/repos/joyent/containerbuddy/branches{/branch}","tags_url":"https://api.github.com/repos/joyent/containerbuddy/tags","blobs_url":"https://api.github.com/repos/joyent/containerbuddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joyent/containerbuddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joyent/containerbuddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/joyent/containerbuddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joyent/containerbuddy/statuses/{sha}","languages_url":"https://api.github.com/repos/joyent/containerbuddy/languages","stargazers_url":"https://api.github.com/repos/joyent/containerbuddy/stargazers","contributors_url":"https://api.github.com/repos/joyent/containerbuddy/contributors","subscribers_url":"https://api.github.com/repos/joyent/containerbuddy/subscribers","subscription_url":"https://api.github.com/repos/joyent/containerbuddy/subscription","commits_url":"https://api.github.com/repos/joyent/containerbuddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/joyent/containerbuddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/joyent/containerbuddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/joyent/containerbuddy/issues/comments{/number}","contents_url":"https://api.github.com/repos/joyent/containerbuddy/contents/{+path}","compare_url":"https://api.github.com/repos/joyent/containerbuddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joyent/containerbuddy/merges","archive_url":"https://api.github.com/repos/joyent/containerbuddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joyent/containerbuddy/downloads","issues_url":"https://api.github.com/repos/joyent/containerbuddy/issues{/number}","pulls_url":"https://api.github.com/repos/joyent/containerbuddy/pulls{/number}","milestones_url":"https://api.github.com/repos/joyent/containerbuddy/milestones{/number}","notifications_url":"https://api.github.com/repos/joyent/containerbuddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joyent/containerbuddy/labels{/name}","releases_url":"https://api.github.com/repos/joyent/containerbuddy/releases{/id}","deployments_url":"https://api.github.com/repos/joyent/containerbuddy/deployments","created_at":"2015-10-22T19:06:39Z","updated_at":"2016-03-01T10:26:26Z","pushed_at":"2016-03-02T14:26:32Z","git_url":"git://github.com/joyent/containerbuddy.git","ssh_url":"git@github.com:joyent/containerbuddy.git","clone_url":"https://github.com/joyent/containerbuddy.git","svn_url":"https://github.com/joyent/containerbuddy","homepage":null,"size":277,"stargazers_count":268,"watchers_count":268,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":8,"forks":21,"open_issues":8,"watchers":268,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joyent/containerbuddy/pulls/94"},"html":{"href":"https://github.com/joyent/containerbuddy/pull/94"},"issue":{"href":"https://api.github.com/repos/joyent/containerbuddy/issues/94"},"comments":{"href":"https://api.github.com/repos/joyent/containerbuddy/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/joyent/containerbuddy/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/joyent/containerbuddy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joyent/containerbuddy/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/joyent/containerbuddy/statuses/37de332c58bb2d7b0c5d76c87f884586387fb0cd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tgross","id":1409219,"avatar_url":"https://avatars.githubusercontent.com/u/1409219?v=3","gravatar_id":"","url":"https://api.github.com/users/tgross","html_url":"https://github.com/tgross","followers_url":"https://api.github.com/users/tgross/followers","following_url":"https://api.github.com/users/tgross/following{/other_user}","gists_url":"https://api.github.com/users/tgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgross/subscriptions","organizations_url":"https://api.github.com/users/tgross/orgs","repos_url":"https://api.github.com/users/tgross/repos","events_url":"https://api.github.com/users/tgross/events{/privacy}","received_events_url":"https://api.github.com/users/tgross/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"commits":14,"additions":530,"deletions":828,"changed_files":58}}