{"action":"created","comment":{"url":"https://api.github.com/repos/stackanetes/stackanetes/pulls/comments/62986541","id":62986541,"diff_hunk":"@@ -0,0 +1,88 @@\n+{% if ports != [''] %}\n+---\n+apiVersion: v1\n+kind: Service\n+metadata:\n+  name: {{ service_name }}\n+spec:\n+{% if external_ip %}","path":"rc/generic-control.yml.j2","position":8,"original_position":8,"commit_id":"40d4d02f09ad54f8c74c914db3e3ab1c47ee5677","original_commit_id":"40d4d02f09ad54f8c74c914db3e3ab1c47ee5677","user":{"login":"PiotrProkop","id":10176859,"avatar_url":"https://avatars.githubusercontent.com/u/10176859?v=3","gravatar_id":"","url":"https://api.github.com/users/PiotrProkop","html_url":"https://github.com/PiotrProkop","followers_url":"https://api.github.com/users/PiotrProkop/followers","following_url":"https://api.github.com/users/PiotrProkop/following{/other_user}","gists_url":"https://api.github.com/users/PiotrProkop/gists{/gist_id}","starred_url":"https://api.github.com/users/PiotrProkop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiotrProkop/subscriptions","organizations_url":"https://api.github.com/users/PiotrProkop/orgs","repos_url":"https://api.github.com/users/PiotrProkop/repos","events_url":"https://api.github.com/users/PiotrProkop/events{/privacy}","received_events_url":"https://api.github.com/users/PiotrProkop/received_events","type":"User","site_admin":false},"body":"Add indentation for loops and if statements. ","created_at":"2016-05-12T09:03:26Z","updated_at":"2016-05-12T09:03:26Z","html_url":"https://github.com/stackanetes/stackanetes/pull/21#discussion_r62986541","pull_request_url":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/stackanetes/stackanetes/pulls/comments/62986541"},"html":{"href":"https://github.com/stackanetes/stackanetes/pull/21#discussion_r62986541"},"pull_request":{"href":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21","id":69532513,"html_url":"https://github.com/stackanetes/stackanetes/pull/21","diff_url":"https://github.com/stackanetes/stackanetes/pull/21.diff","patch_url":"https://github.com/stackanetes/stackanetes/pull/21.patch","issue_url":"https://api.github.com/repos/stackanetes/stackanetes/issues/21","number":21,"state":"open","locked":false,"title":"WIP one gernic file for all control plane services","user":{"login":"DTadrzak","id":14016611,"avatar_url":"https://avatars.githubusercontent.com/u/14016611?v=3","gravatar_id":"","url":"https://api.github.com/users/DTadrzak","html_url":"https://github.com/DTadrzak","followers_url":"https://api.github.com/users/DTadrzak/followers","following_url":"https://api.github.com/users/DTadrzak/following{/other_user}","gists_url":"https://api.github.com/users/DTadrzak/gists{/gist_id}","starred_url":"https://api.github.com/users/DTadrzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DTadrzak/subscriptions","organizations_url":"https://api.github.com/users/DTadrzak/orgs","repos_url":"https://api.github.com/users/DTadrzak/repos","events_url":"https://api.github.com/users/DTadrzak/events{/privacy}","received_events_url":"https://api.github.com/users/DTadrzak/received_events","type":"User","site_admin":false},"body":"TODO: Add support for node port\r\n\r\nAdd: generic-control.yml.j2\r\nRemoved: unnecessary prints\r\n\r\nSigned-off-by: dtadrzak <daniel.tadrzak@intel.com>","created_at":"2016-05-10T16:02:24Z","updated_at":"2016-05-12T09:03:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c2b3027eb7e03d40098ffa02a0c8e326a1ff12c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21/commits","review_comments_url":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21/comments","review_comment_url":"https://api.github.com/repos/stackanetes/stackanetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stackanetes/stackanetes/issues/21/comments","statuses_url":"https://api.github.com/repos/stackanetes/stackanetes/statuses/40d4d02f09ad54f8c74c914db3e3ab1c47ee5677","head":{"label":"stackanetes:generic_control_yaml","ref":"generic_control_yaml","sha":"40d4d02f09ad54f8c74c914db3e3ab1c47ee5677","user":{"login":"stackanetes","id":18486756,"avatar_url":"https://avatars.githubusercontent.com/u/18486756?v=3","gravatar_id":"","url":"https://api.github.com/users/stackanetes","html_url":"https://github.com/stackanetes","followers_url":"https://api.github.com/users/stackanetes/followers","following_url":"https://api.github.com/users/stackanetes/following{/other_user}","gists_url":"https://api.github.com/users/stackanetes/gists{/gist_id}","starred_url":"https://api.github.com/users/stackanetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackanetes/subscriptions","organizations_url":"https://api.github.com/users/stackanetes/orgs","repos_url":"https://api.github.com/users/stackanetes/repos","events_url":"https://api.github.com/users/stackanetes/events{/privacy}","received_events_url":"https://api.github.com/users/stackanetes/received_events","type":"Organization","site_admin":false},"repo":{"id":56612721,"name":"stackanetes","full_name":"stackanetes/stackanetes","owner":{"login":"stackanetes","id":18486756,"avatar_url":"https://avatars.githubusercontent.com/u/18486756?v=3","gravatar_id":"","url":"https://api.github.com/users/stackanetes","html_url":"https://github.com/stackanetes","followers_url":"https://api.github.com/users/stackanetes/followers","following_url":"https://api.github.com/users/stackanetes/following{/other_user}","gists_url":"https://api.github.com/users/stackanetes/gists{/gist_id}","starred_url":"https://api.github.com/users/stackanetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackanetes/subscriptions","organizations_url":"https://api.github.com/users/stackanetes/orgs","repos_url":"https://api.github.com/users/stackanetes/repos","events_url":"https://api.github.com/users/stackanetes/events{/privacy}","received_events_url":"https://api.github.com/users/stackanetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stackanetes/stackanetes","description":"Demo version of OpenStack on Kubernetes","fork":false,"url":"https://api.github.com/repos/stackanetes/stackanetes","forks_url":"https://api.github.com/repos/stackanetes/stackanetes/forks","keys_url":"https://api.github.com/repos/stackanetes/stackanetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stackanetes/stackanetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stackanetes/stackanetes/teams","hooks_url":"https://api.github.com/repos/stackanetes/stackanetes/hooks","issue_events_url":"https://api.github.com/repos/stackanetes/stackanetes/issues/events{/number}","events_url":"https://api.github.com/repos/stackanetes/stackanetes/events","assignees_url":"https://api.github.com/repos/stackanetes/stackanetes/assignees{/user}","branches_url":"https://api.github.com/repos/stackanetes/stackanetes/branches{/branch}","tags_url":"https://api.github.com/repos/stackanetes/stackanetes/tags","blobs_url":"https://api.github.com/repos/stackanetes/stackanetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stackanetes/stackanetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stackanetes/stackanetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/stackanetes/stackanetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stackanetes/stackanetes/statuses/{sha}","languages_url":"https://api.github.com/repos/stackanetes/stackanetes/languages","stargazers_url":"https://api.github.com/repos/stackanetes/stackanetes/stargazers","contributors_url":"https://api.github.com/repos/stackanetes/stackanetes/contributors","subscribers_url":"https://api.github.com/repos/stackanetes/stackanetes/subscribers","subscription_url":"https://api.github.com/repos/stackanetes/stackanetes/subscription","commits_url":"https://api.github.com/repos/stackanetes/stackanetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/stackanetes/stackanetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/stackanetes/stackanetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/stackanetes/stackanetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/stackanetes/stackanetes/contents/{+path}","compare_url":"https://api.github.com/repos/stackanetes/stackanetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stackanetes/stackanetes/merges","archive_url":"https://api.github.com/repos/stackanetes/stackanetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stackanetes/stackanetes/downloads","issues_url":"https://api.github.com/repos/stackanetes/stackanetes/issues{/number}","pulls_url":"https://api.github.com/repos/stackanetes/stackanetes/pulls{/number}","milestones_url":"https://api.github.com/repos/stackanetes/stackanetes/milestones{/number}","notifications_url":"https://api.github.com/repos/stackanetes/stackanetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stackanetes/stackanetes/labels{/name}","releases_url":"https://api.github.com/repos/stackanetes/stackanetes/releases{/id}","deployments_url":"https://api.github.com/repos/stackanetes/stackanetes/deployments","created_at":"2016-04-19T16:16:47Z","updated_at":"2016-05-11T11:02:22Z","pushed_at":"2016-05-11T13:42:54Z","git_url":"git://github.com/stackanetes/stackanetes.git","ssh_url":"git@github.com:stackanetes/stackanetes.git","clone_url":"https://github.com/stackanetes/stackanetes.git","svn_url":"https://github.com/stackanetes/stackanetes","homepage":"","size":42494,"stargazers_count":41,"watchers_count":41,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":14,"forks":2,"open_issues":14,"watchers":41,"default_branch":"master"}},"base":{"label":"stackanetes:master","ref":"master","sha":"1eb6589e15ea098f88d45068de81f7ebf7f61bcf","user":{"login":"stackanetes","id":18486756,"avatar_url":"https://avatars.githubusercontent.com/u/18486756?v=3","gravatar_id":"","url":"https://api.github.com/users/stackanetes","html_url":"https://github.com/stackanetes","followers_url":"https://api.github.com/users/stackanetes/followers","following_url":"https://api.github.com/users/stackanetes/following{/other_user}","gists_url":"https://api.github.com/users/stackanetes/gists{/gist_id}","starred_url":"https://api.github.com/users/stackanetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackanetes/subscriptions","organizations_url":"https://api.github.com/users/stackanetes/orgs","repos_url":"https://api.github.com/users/stackanetes/repos","events_url":"https://api.github.com/users/stackanetes/events{/privacy}","received_events_url":"https://api.github.com/users/stackanetes/received_events","type":"Organization","site_admin":false},"repo":{"id":56612721,"name":"stackanetes","full_name":"stackanetes/stackanetes","owner":{"login":"stackanetes","id":18486756,"avatar_url":"https://avatars.githubusercontent.com/u/18486756?v=3","gravatar_id":"","url":"https://api.github.com/users/stackanetes","html_url":"https://github.com/stackanetes","followers_url":"https://api.github.com/users/stackanetes/followers","following_url":"https://api.github.com/users/stackanetes/following{/other_user}","gists_url":"https://api.github.com/users/stackanetes/gists{/gist_id}","starred_url":"https://api.github.com/users/stackanetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackanetes/subscriptions","organizations_url":"https://api.github.com/users/stackanetes/orgs","repos_url":"https://api.github.com/users/stackanetes/repos","events_url":"https://api.github.com/users/stackanetes/events{/privacy}","received_events_url":"https://api.github.com/users/stackanetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stackanetes/stackanetes","description":"Demo version of OpenStack on Kubernetes","fork":false,"url":"https://api.github.com/repos/stackanetes/stackanetes","forks_url":"https://api.github.com/repos/stackanetes/stackanetes/forks","keys_url":"https://api.github.com/repos/stackanetes/stackanetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stackanetes/stackanetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stackanetes/stackanetes/teams","hooks_url":"https://api.github.com/repos/stackanetes/stackanetes/hooks","issue_events_url":"https://api.github.com/repos/stackanetes/stackanetes/issues/events{/number}","events_url":"https://api.github.com/repos/stackanetes/stackanetes/events","assignees_url":"https://api.github.com/repos/stackanetes/stackanetes/assignees{/user}","branches_url":"https://api.github.com/repos/stackanetes/stackanetes/branches{/branch}","tags_url":"https://api.github.com/repos/stackanetes/stackanetes/tags","blobs_url":"https://api.github.com/repos/stackanetes/stackanetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stackanetes/stackanetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stackanetes/stackanetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/stackanetes/stackanetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stackanetes/stackanetes/statuses/{sha}","languages_url":"https://api.github.com/repos/stackanetes/stackanetes/languages","stargazers_url":"https://api.github.com/repos/stackanetes/stackanetes/stargazers","contributors_url":"https://api.github.com/repos/stackanetes/stackanetes/contributors","subscribers_url":"https://api.github.com/repos/stackanetes/stackanetes/subscribers","subscription_url":"https://api.github.com/repos/stackanetes/stackanetes/subscription","commits_url":"https://api.github.com/repos/stackanetes/stackanetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/stackanetes/stackanetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/stackanetes/stackanetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/stackanetes/stackanetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/stackanetes/stackanetes/contents/{+path}","compare_url":"https://api.github.com/repos/stackanetes/stackanetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stackanetes/stackanetes/merges","archive_url":"https://api.github.com/repos/stackanetes/stackanetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stackanetes/stackanetes/downloads","issues_url":"https://api.github.com/repos/stackanetes/stackanetes/issues{/number}","pulls_url":"https://api.github.com/repos/stackanetes/stackanetes/pulls{/number}","milestones_url":"https://api.github.com/repos/stackanetes/stackanetes/milestones{/number}","notifications_url":"https://api.github.com/repos/stackanetes/stackanetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stackanetes/stackanetes/labels{/name}","releases_url":"https://api.github.com/repos/stackanetes/stackanetes/releases{/id}","deployments_url":"https://api.github.com/repos/stackanetes/stackanetes/deployments","created_at":"2016-04-19T16:16:47Z","updated_at":"2016-05-11T11:02:22Z","pushed_at":"2016-05-11T13:42:54Z","git_url":"git://github.com/stackanetes/stackanetes.git","ssh_url":"git@github.com:stackanetes/stackanetes.git","clone_url":"https://github.com/stackanetes/stackanetes.git","svn_url":"https://github.com/stackanetes/stackanetes","homepage":"","size":42494,"stargazers_count":41,"watchers_count":41,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":14,"forks":2,"open_issues":14,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21"},"html":{"href":"https://github.com/stackanetes/stackanetes/pull/21"},"issue":{"href":"https://api.github.com/repos/stackanetes/stackanetes/issues/21"},"comments":{"href":"https://api.github.com/repos/stackanetes/stackanetes/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/stackanetes/stackanetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stackanetes/stackanetes/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/stackanetes/stackanetes/statuses/40d4d02f09ad54f8c74c914db3e3ab1c47ee5677"}}}}