{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments/43892172","id":43892172,"diff_hunk":"@@ -0,0 +1,28 @@\n+[Unit]\n+Description=Coco Kafka Bridge\n+After=vulcan.service cms-notifier@%i.service\n+Requires=docker.service\n+Wants=coco-kafka-bridge-sidekick@i.service\n+\n+[Service]\n+Environment=\"DOCKER_APP_VERSION=latest\"\n+TimeoutStartSec=0\n+# Change killmode from \"control-group\" to \"none\" to let Docker remove work correctly.\n+KillMode=none\n+ExecStartPre=-/bin/bash -c '/usr/bin/docker kill %p-%i > /dev/null 2>&1'\n+ExecStartPre=-/bin/bash -c '/usr/bin/docker rm %p-%i > /dev/null 2>&1'\n+ExecStartPre=/bin/bash -c 'docker pull coco/coco-kafka-bridge:DOCKER_APP_VERSION'\n+\n+ExecStart=/bin/sh -c '\\\n+  export APP_PORT=8080; \\\n+  export QUEUE_PROXY_ADDRS=$(/usr/bin/etcdctl get /ft/config/kafka-bridge/ucs_queue_proxy_addrs); \\\n+  export GROUP_ID=$(/usr/bin/etcdctl get /ft/config/environment_tag)+\"_bridge\"; \\","path":"coco-kafka-bridge@.service","position":19,"original_position":19,"commit_id":"56278bdb26bae239a951ff0a7b741bb9831c871e","original_commit_id":"56278bdb26bae239a951ff0a7b741bb9831c871e","user":{"login":"catalin-ilea","id":2073125,"avatar_url":"https://avatars.githubusercontent.com/u/2073125?v=3","gravatar_id":"","url":"https://api.github.com/users/catalin-ilea","html_url":"https://github.com/catalin-ilea","followers_url":"https://api.github.com/users/catalin-ilea/followers","following_url":"https://api.github.com/users/catalin-ilea/following{/other_user}","gists_url":"https://api.github.com/users/catalin-ilea/gists{/gist_id}","starred_url":"https://api.github.com/users/catalin-ilea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalin-ilea/subscriptions","organizations_url":"https://api.github.com/users/catalin-ilea/orgs","repos_url":"https://api.github.com/users/catalin-ilea/repos","events_url":"https://api.github.com/users/catalin-ilea/events{/privacy}","received_events_url":"https://api.github.com/users/catalin-ilea/received_events","type":"User","site_admin":false},"body":"Existing groupIds are: kafka-bridge-pre-prod and kafka-bridge-prod\r\nCan you please keep the pattern? Otherwise you'd have to drain the messages before deploying","created_at":"2015-11-04T15:16:55Z","updated_at":"2015-11-04T15:16:55Z","html_url":"https://github.com/Financial-Times/up-service-files/pull/142#discussion_r43892172","pull_request_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments/43892172"},"html":{"href":"https://github.com/Financial-Times/up-service-files/pull/142#discussion_r43892172"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142","id":49688513,"html_url":"https://github.com/Financial-Times/up-service-files/pull/142","diff_url":"https://github.com/Financial-Times/up-service-files/pull/142.diff","patch_url":"https://github.com/Financial-Times/up-service-files/pull/142.patch","issue_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/142","number":142,"state":"open","locked":false,"title":"Add service files for coco-kafka-bridge.","user":{"login":"BerniVarga","id":14012398,"avatar_url":"https://avatars.githubusercontent.com/u/14012398?v=3","gravatar_id":"","url":"https://api.github.com/users/BerniVarga","html_url":"https://github.com/BerniVarga","followers_url":"https://api.github.com/users/BerniVarga/followers","following_url":"https://api.github.com/users/BerniVarga/following{/other_user}","gists_url":"https://api.github.com/users/BerniVarga/gists{/gist_id}","starred_url":"https://api.github.com/users/BerniVarga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BerniVarga/subscriptions","organizations_url":"https://api.github.com/users/BerniVarga/orgs","repos_url":"https://api.github.com/users/BerniVarga/repos","events_url":"https://api.github.com/users/BerniVarga/events{/privacy}","received_events_url":"https://api.github.com/users/BerniVarga/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-04T13:33:04Z","updated_at":"2015-11-04T15:16:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afbfa5ad8d9338bfdc58b4e464cf343c4b77f537","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/142/comments","statuses_url":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/56278bdb26bae239a951ff0a7b741bb9831c871e","head":{"label":"Financial-Times:pre-prod-add-kafka-bridge","ref":"pre-prod-add-kafka-bridge","sha":"56278bdb26bae239a951ff0a7b741bb9831c871e","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":36799074,"name":"up-service-files","full_name":"Financial-Times/up-service-files","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/up-service-files","description":"Contains the fleets service files","fork":false,"url":"https://api.github.com/repos/Financial-Times/up-service-files","forks_url":"https://api.github.com/repos/Financial-Times/up-service-files/forks","keys_url":"https://api.github.com/repos/Financial-Times/up-service-files/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/up-service-files/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/up-service-files/teams","hooks_url":"https://api.github.com/repos/Financial-Times/up-service-files/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/up-service-files/events","assignees_url":"https://api.github.com/repos/Financial-Times/up-service-files/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/up-service-files/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/tags","blobs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/up-service-files/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/up-service-files/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/up-service-files/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscription","commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/up-service-files/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/up-service-files/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/up-service-files/merges","archive_url":"https://api.github.com/repos/Financial-Times/up-service-files/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/up-service-files/downloads","issues_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/up-service-files/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/up-service-files/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/up-service-files/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/up-service-files/releases{/id}","created_at":"2015-06-03T11:23:15Z","updated_at":"2015-08-24T10:37:00Z","pushed_at":"2015-11-04T14:48:22Z","git_url":"git://github.com/Financial-Times/up-service-files.git","ssh_url":"git@github.com:Financial-Times/up-service-files.git","clone_url":"https://github.com/Financial-Times/up-service-files.git","svn_url":"https://github.com/Financial-Times/up-service-files","homepage":null,"size":2425,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"Financial-Times:pre-prod","ref":"pre-prod","sha":"c22fb731e59ebf42995104a224f8082f4163f87b","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":36799074,"name":"up-service-files","full_name":"Financial-Times/up-service-files","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/up-service-files","description":"Contains the fleets service files","fork":false,"url":"https://api.github.com/repos/Financial-Times/up-service-files","forks_url":"https://api.github.com/repos/Financial-Times/up-service-files/forks","keys_url":"https://api.github.com/repos/Financial-Times/up-service-files/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/up-service-files/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/up-service-files/teams","hooks_url":"https://api.github.com/repos/Financial-Times/up-service-files/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/up-service-files/events","assignees_url":"https://api.github.com/repos/Financial-Times/up-service-files/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/up-service-files/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/tags","blobs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/up-service-files/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/up-service-files/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/up-service-files/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/up-service-files/subscription","commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/up-service-files/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/up-service-files/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/up-service-files/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/up-service-files/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/up-service-files/merges","archive_url":"https://api.github.com/repos/Financial-Times/up-service-files/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/up-service-files/downloads","issues_url":"https://api.github.com/repos/Financial-Times/up-service-files/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/up-service-files/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/up-service-files/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/up-service-files/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/up-service-files/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/up-service-files/releases{/id}","created_at":"2015-06-03T11:23:15Z","updated_at":"2015-08-24T10:37:00Z","pushed_at":"2015-11-04T14:48:22Z","git_url":"git://github.com/Financial-Times/up-service-files.git","ssh_url":"git@github.com:Financial-Times/up-service-files.git","clone_url":"https://github.com/Financial-Times/up-service-files.git","svn_url":"https://github.com/Financial-Times/up-service-files","homepage":null,"size":2425,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142"},"html":{"href":"https://github.com/Financial-Times/up-service-files/pull/142"},"issue":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/issues/142"},"comments":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/up-service-files/statuses/56278bdb26bae239a951ff0a7b741bb9831c871e"}}}}