{"action":"opened","number":211,"pull_request":{"url":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/211","id":72333486,"html_url":"https://github.com/mesosphere/marathon-lb/pull/211","diff_url":"https://github.com/mesosphere/marathon-lb/pull/211.diff","patch_url":"https://github.com/mesosphere/marathon-lb/pull/211.patch","issue_url":"https://api.github.com/repos/mesosphere/marathon-lb/issues/211","number":211,"state":"open","locked":false,"title":"Match logic for deriving haproxy svname from task in zdd.py","user":{"login":"JamesAwesome","id":1824546,"avatar_url":"https://avatars.githubusercontent.com/u/1824546?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesAwesome","html_url":"https://github.com/JamesAwesome","followers_url":"https://api.github.com/users/JamesAwesome/followers","following_url":"https://api.github.com/users/JamesAwesome/following{/other_user}","gists_url":"https://api.github.com/users/JamesAwesome/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesAwesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesAwesome/subscriptions","organizations_url":"https://api.github.com/users/JamesAwesome/orgs","repos_url":"https://api.github.com/users/JamesAwesome/repos","events_url":"https://api.github.com/users/JamesAwesome/events{/privacy}","received_events_url":"https://api.github.com/users/JamesAwesome/received_events","type":"User","site_admin":false},"body":"This will derive a marathon task's unique backend/svname according to the same logic as the marathon_lb.py script via `utils.get_task_ip_and_ports` method: https://github.com/mesosphere/marathon-lb/blob/master/utils.py#L154 \r\n\r\nI've also gone ahead and cleaned up some unused imports in zdd.py...\r\n\r\nThis should address Issue #209 ","created_at":"2016-06-02T11:55:48Z","updated_at":"2016-06-02T11:55:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/211/commits","review_comments_url":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/211/comments","review_comment_url":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesosphere/marathon-lb/issues/211/comments","statuses_url":"https://api.github.com/repos/mesosphere/marathon-lb/statuses/9448c8d158483b4c23302163d7cf78db1b2fe08d","head":{"label":"JamesAwesome:master","ref":"master","sha":"9448c8d158483b4c23302163d7cf78db1b2fe08d","user":{"login":"JamesAwesome","id":1824546,"avatar_url":"https://avatars.githubusercontent.com/u/1824546?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesAwesome","html_url":"https://github.com/JamesAwesome","followers_url":"https://api.github.com/users/JamesAwesome/followers","following_url":"https://api.github.com/users/JamesAwesome/following{/other_user}","gists_url":"https://api.github.com/users/JamesAwesome/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesAwesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesAwesome/subscriptions","organizations_url":"https://api.github.com/users/JamesAwesome/orgs","repos_url":"https://api.github.com/users/JamesAwesome/repos","events_url":"https://api.github.com/users/JamesAwesome/events{/privacy}","received_events_url":"https://api.github.com/users/JamesAwesome/received_events","type":"User","site_admin":false},"repo":{"id":57241594,"name":"marathon-lb","full_name":"JamesAwesome/marathon-lb","owner":{"login":"JamesAwesome","id":1824546,"avatar_url":"https://avatars.githubusercontent.com/u/1824546?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesAwesome","html_url":"https://github.com/JamesAwesome","followers_url":"https://api.github.com/users/JamesAwesome/followers","following_url":"https://api.github.com/users/JamesAwesome/following{/other_user}","gists_url":"https://api.github.com/users/JamesAwesome/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesAwesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesAwesome/subscriptions","organizations_url":"https://api.github.com/users/JamesAwesome/orgs","repos_url":"https://api.github.com/users/JamesAwesome/repos","events_url":"https://api.github.com/users/JamesAwesome/events{/privacy}","received_events_url":"https://api.github.com/users/JamesAwesome/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JamesAwesome/marathon-lb","description":"Marathon-lb is a service discovery & load balancing tool for DCOS","fork":true,"url":"https://api.github.com/repos/JamesAwesome/marathon-lb","forks_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/forks","keys_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/teams","hooks_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/hooks","issue_events_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/issues/events{/number}","events_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/events","assignees_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/assignees{/user}","branches_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/branches{/branch}","tags_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/tags","blobs_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/git/refs{/sha}","trees_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/statuses/{sha}","languages_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/languages","stargazers_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/stargazers","contributors_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/contributors","subscribers_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/subscribers","subscription_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/subscription","commits_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/commits{/sha}","git_commits_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/git/commits{/sha}","comments_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/comments{/number}","issue_comment_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/issues/comments{/number}","contents_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/contents/{+path}","compare_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/merges","archive_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/downloads","issues_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/issues{/number}","pulls_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/pulls{/number}","milestones_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/milestones{/number}","notifications_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/labels{/name}","releases_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/releases{/id}","deployments_url":"https://api.github.com/repos/JamesAwesome/marathon-lb/deployments","created_at":"2016-04-27T19:27:28Z","updated_at":"2016-05-04T15:26:07Z","pushed_at":"2016-06-02T01:56:06Z","git_url":"git://github.com/JamesAwesome/marathon-lb.git","ssh_url":"git@github.com:JamesAwesome/marathon-lb.git","clone_url":"https://github.com/JamesAwesome/marathon-lb.git","svn_url":"https://github.com/JamesAwesome/marathon-lb","homepage":"","size":499,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mesosphere:master","ref":"master","sha":"9d51719393b12c554bbcddf2a8114d7dea49be77","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":43829723,"name":"marathon-lb","full_name":"mesosphere/marathon-lb","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/marathon-lb","description":"Marathon-lb is a service discovery & load balancing tool for DCOS","fork":false,"url":"https://api.github.com/repos/mesosphere/marathon-lb","forks_url":"https://api.github.com/repos/mesosphere/marathon-lb/forks","keys_url":"https://api.github.com/repos/mesosphere/marathon-lb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/marathon-lb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/marathon-lb/teams","hooks_url":"https://api.github.com/repos/mesosphere/marathon-lb/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/marathon-lb/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/marathon-lb/events","assignees_url":"https://api.github.com/repos/mesosphere/marathon-lb/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/marathon-lb/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/marathon-lb/tags","blobs_url":"https://api.github.com/repos/mesosphere/marathon-lb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/marathon-lb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/marathon-lb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/marathon-lb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/marathon-lb/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/marathon-lb/languages","stargazers_url":"https://api.github.com/repos/mesosphere/marathon-lb/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/marathon-lb/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/marathon-lb/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/marathon-lb/subscription","commits_url":"https://api.github.com/repos/mesosphere/marathon-lb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/marathon-lb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/marathon-lb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/marathon-lb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/marathon-lb/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/marathon-lb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/marathon-lb/merges","archive_url":"https://api.github.com/repos/mesosphere/marathon-lb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/marathon-lb/downloads","issues_url":"https://api.github.com/repos/mesosphere/marathon-lb/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/marathon-lb/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/marathon-lb/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/marathon-lb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/marathon-lb/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/marathon-lb/releases{/id}","deployments_url":"https://api.github.com/repos/mesosphere/marathon-lb/deployments","created_at":"2015-10-07T16:36:32Z","updated_at":"2016-05-31T09:55:10Z","pushed_at":"2016-05-31T12:51:55Z","git_url":"git://github.com/mesosphere/marathon-lb.git","ssh_url":"git@github.com:mesosphere/marathon-lb.git","clone_url":"https://github.com/mesosphere/marathon-lb.git","svn_url":"https://github.com/mesosphere/marathon-lb","homepage":"","size":536,"stargazers_count":144,"watchers_count":144,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":15,"forks":90,"open_issues":15,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/211"},"html":{"href":"https://github.com/mesosphere/marathon-lb/pull/211"},"issue":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/issues/211"},"comments":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/mesosphere/marathon-lb/statuses/9448c8d158483b4c23302163d7cf78db1b2fe08d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":23,"deletions":17,"changed_files":4}}
{"actor":{"display_login":"JamesAwesome"}}