{"action":"created","comment":{"url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/comments/31327837","id":31327837,"diff_hunk":"@@ -16,12 +16,23 @@\n  */\n package com.clicktravel.cheddar.metrics.intercom;\n \n+import io.intercom.api.Event;\n+import io.intercom.api.Intercom;\n+\n import com.clicktravel.cheddar.metrics.Metric;\n import com.clicktravel.cheddar.metrics.MetricCollector;\n import com.clicktravel.cheddar.metrics.MetricOrganisation;\n import com.clicktravel.cheddar.metrics.MetricUser;\n \n public class IntercomMetricCollector implements MetricCollector {\n+    private static String APP_ID;","path":"cheddar/cheddar-metrics-intercom/src/main/java/com/clicktravel/cheddar/metrics/intercom/IntercomMetricCollector.java","position":13,"original_position":13,"commit_id":"2dffd7d4b5e5de0cd45ca31fd3f0f0d8fd6a5dc8","original_commit_id":"2dffd7d4b5e5de0cd45ca31fd3f0f0d8fd6a5dc8","user":{"login":"clicktravel-basharat","id":4687263,"avatar_url":"https://avatars.githubusercontent.com/u/4687263?v=3","gravatar_id":"","url":"https://api.github.com/users/clicktravel-basharat","html_url":"https://github.com/clicktravel-basharat","followers_url":"https://api.github.com/users/clicktravel-basharat/followers","following_url":"https://api.github.com/users/clicktravel-basharat/following{/other_user}","gists_url":"https://api.github.com/users/clicktravel-basharat/gists{/gist_id}","starred_url":"https://api.github.com/users/clicktravel-basharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clicktravel-basharat/subscriptions","organizations_url":"https://api.github.com/users/clicktravel-basharat/orgs","repos_url":"https://api.github.com/users/clicktravel-basharat/repos","events_url":"https://api.github.com/users/clicktravel-basharat/events{/privacy}","received_events_url":"https://api.github.com/users/clicktravel-basharat/received_events","type":"User","site_admin":false},"body":"Make instance variable.","created_at":"2015-05-29T14:16:27Z","updated_at":"2015-05-29T14:16:27Z","html_url":"https://github.com/ClickTravel/Cheddar/pull/92#discussion_r31327837","pull_request_url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92","_links":{"self":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/comments/31327837"},"html":{"href":"https://github.com/ClickTravel/Cheddar/pull/92#discussion_r31327837"},"pull_request":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92"}}},"pull_request":{"url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92","id":36509388,"html_url":"https://github.com/ClickTravel/Cheddar/pull/92","diff_url":"https://github.com/ClickTravel/Cheddar/pull/92.diff","patch_url":"https://github.com/ClickTravel/Cheddar/pull/92.patch","issue_url":"https://api.github.com/repos/ClickTravel/Cheddar/issues/92","number":92,"state":"open","locked":false,"title":"[hack] implement Event creation for Intercom metrics","user":{"login":"clicktravel-chris","id":822516,"avatar_url":"https://avatars.githubusercontent.com/u/822516?v=3","gravatar_id":"","url":"https://api.github.com/users/clicktravel-chris","html_url":"https://github.com/clicktravel-chris","followers_url":"https://api.github.com/users/clicktravel-chris/followers","following_url":"https://api.github.com/users/clicktravel-chris/following{/other_user}","gists_url":"https://api.github.com/users/clicktravel-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/clicktravel-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clicktravel-chris/subscriptions","organizations_url":"https://api.github.com/users/clicktravel-chris/orgs","repos_url":"https://api.github.com/users/clicktravel-chris/repos","events_url":"https://api.github.com/users/clicktravel-chris/events{/privacy}","received_events_url":"https://api.github.com/users/clicktravel-chris/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Chris Howell <chris.howell@clicktravel.com>\r\n\r\n@clicktravel-basharat can you have a look and let me know if it looks ok.","created_at":"2015-05-29T14:15:36Z","updated_at":"2015-05-29T14:16:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dec967e97d2bbac24dd86fdb0dd3ff5f1c7a3807","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92/commits","review_comments_url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92/comments","review_comment_url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClickTravel/Cheddar/issues/92/comments","statuses_url":"https://api.github.com/repos/ClickTravel/Cheddar/statuses/2dffd7d4b5e5de0cd45ca31fd3f0f0d8fd6a5dc8","head":{"label":"clicktravel-chris:master","ref":"master","sha":"2dffd7d4b5e5de0cd45ca31fd3f0f0d8fd6a5dc8","user":{"login":"clicktravel-chris","id":822516,"avatar_url":"https://avatars.githubusercontent.com/u/822516?v=3","gravatar_id":"","url":"https://api.github.com/users/clicktravel-chris","html_url":"https://github.com/clicktravel-chris","followers_url":"https://api.github.com/users/clicktravel-chris/followers","following_url":"https://api.github.com/users/clicktravel-chris/following{/other_user}","gists_url":"https://api.github.com/users/clicktravel-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/clicktravel-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clicktravel-chris/subscriptions","organizations_url":"https://api.github.com/users/clicktravel-chris/orgs","repos_url":"https://api.github.com/users/clicktravel-chris/repos","events_url":"https://api.github.com/users/clicktravel-chris/events{/privacy}","received_events_url":"https://api.github.com/users/clicktravel-chris/received_events","type":"User","site_admin":false},"repo":{"id":23461820,"name":"Cheddar","full_name":"clicktravel-chris/Cheddar","owner":{"login":"clicktravel-chris","id":822516,"avatar_url":"https://avatars.githubusercontent.com/u/822516?v=3","gravatar_id":"","url":"https://api.github.com/users/clicktravel-chris","html_url":"https://github.com/clicktravel-chris","followers_url":"https://api.github.com/users/clicktravel-chris/followers","following_url":"https://api.github.com/users/clicktravel-chris/following{/other_user}","gists_url":"https://api.github.com/users/clicktravel-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/clicktravel-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clicktravel-chris/subscriptions","organizations_url":"https://api.github.com/users/clicktravel-chris/orgs","repos_url":"https://api.github.com/users/clicktravel-chris/repos","events_url":"https://api.github.com/users/clicktravel-chris/events{/privacy}","received_events_url":"https://api.github.com/users/clicktravel-chris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clicktravel-chris/Cheddar","description":"Click's Hexagonal Domain Driven Architecture","fork":true,"url":"https://api.github.com/repos/clicktravel-chris/Cheddar","forks_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/forks","keys_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/teams","hooks_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/hooks","issue_events_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/issues/events{/number}","events_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/events","assignees_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/assignees{/user}","branches_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/branches{/branch}","tags_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/tags","blobs_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/git/refs{/sha}","trees_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/statuses/{sha}","languages_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/languages","stargazers_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/stargazers","contributors_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/contributors","subscribers_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/subscribers","subscription_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/subscription","commits_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/commits{/sha}","git_commits_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/git/commits{/sha}","comments_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/comments{/number}","issue_comment_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/issues/comments{/number}","contents_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/contents/{+path}","compare_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/merges","archive_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/downloads","issues_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/issues{/number}","pulls_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/pulls{/number}","milestones_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/milestones{/number}","notifications_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/labels{/name}","releases_url":"https://api.github.com/repos/clicktravel-chris/Cheddar/releases{/id}","created_at":"2014-08-29T11:22:26Z","updated_at":"2014-12-22T10:44:53Z","pushed_at":"2015-05-29T14:14:49Z","git_url":"git://github.com/clicktravel-chris/Cheddar.git","ssh_url":"git@github.com:clicktravel-chris/Cheddar.git","clone_url":"https://github.com/clicktravel-chris/Cheddar.git","svn_url":"https://github.com/clicktravel-chris/Cheddar","homepage":null,"size":753,"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":"ClickTravel:master","ref":"master","sha":"c9725d4b169bc0262530e71496cc6c46a80e0b9d","user":{"login":"ClickTravel","id":885969,"avatar_url":"https://avatars.githubusercontent.com/u/885969?v=3","gravatar_id":"","url":"https://api.github.com/users/ClickTravel","html_url":"https://github.com/ClickTravel","followers_url":"https://api.github.com/users/ClickTravel/followers","following_url":"https://api.github.com/users/ClickTravel/following{/other_user}","gists_url":"https://api.github.com/users/ClickTravel/gists{/gist_id}","starred_url":"https://api.github.com/users/ClickTravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClickTravel/subscriptions","organizations_url":"https://api.github.com/users/ClickTravel/orgs","repos_url":"https://api.github.com/users/ClickTravel/repos","events_url":"https://api.github.com/users/ClickTravel/events{/privacy}","received_events_url":"https://api.github.com/users/ClickTravel/received_events","type":"Organization","site_admin":false},"repo":{"id":22964867,"name":"Cheddar","full_name":"ClickTravel/Cheddar","owner":{"login":"ClickTravel","id":885969,"avatar_url":"https://avatars.githubusercontent.com/u/885969?v=3","gravatar_id":"","url":"https://api.github.com/users/ClickTravel","html_url":"https://github.com/ClickTravel","followers_url":"https://api.github.com/users/ClickTravel/followers","following_url":"https://api.github.com/users/ClickTravel/following{/other_user}","gists_url":"https://api.github.com/users/ClickTravel/gists{/gist_id}","starred_url":"https://api.github.com/users/ClickTravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClickTravel/subscriptions","organizations_url":"https://api.github.com/users/ClickTravel/orgs","repos_url":"https://api.github.com/users/ClickTravel/repos","events_url":"https://api.github.com/users/ClickTravel/events{/privacy}","received_events_url":"https://api.github.com/users/ClickTravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClickTravel/Cheddar","description":"Click's Hexagonal Domain Driven Architecture","fork":false,"url":"https://api.github.com/repos/ClickTravel/Cheddar","forks_url":"https://api.github.com/repos/ClickTravel/Cheddar/forks","keys_url":"https://api.github.com/repos/ClickTravel/Cheddar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClickTravel/Cheddar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClickTravel/Cheddar/teams","hooks_url":"https://api.github.com/repos/ClickTravel/Cheddar/hooks","issue_events_url":"https://api.github.com/repos/ClickTravel/Cheddar/issues/events{/number}","events_url":"https://api.github.com/repos/ClickTravel/Cheddar/events","assignees_url":"https://api.github.com/repos/ClickTravel/Cheddar/assignees{/user}","branches_url":"https://api.github.com/repos/ClickTravel/Cheddar/branches{/branch}","tags_url":"https://api.github.com/repos/ClickTravel/Cheddar/tags","blobs_url":"https://api.github.com/repos/ClickTravel/Cheddar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClickTravel/Cheddar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClickTravel/Cheddar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClickTravel/Cheddar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClickTravel/Cheddar/statuses/{sha}","languages_url":"https://api.github.com/repos/ClickTravel/Cheddar/languages","stargazers_url":"https://api.github.com/repos/ClickTravel/Cheddar/stargazers","contributors_url":"https://api.github.com/repos/ClickTravel/Cheddar/contributors","subscribers_url":"https://api.github.com/repos/ClickTravel/Cheddar/subscribers","subscription_url":"https://api.github.com/repos/ClickTravel/Cheddar/subscription","commits_url":"https://api.github.com/repos/ClickTravel/Cheddar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClickTravel/Cheddar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClickTravel/Cheddar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClickTravel/Cheddar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClickTravel/Cheddar/contents/{+path}","compare_url":"https://api.github.com/repos/ClickTravel/Cheddar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClickTravel/Cheddar/merges","archive_url":"https://api.github.com/repos/ClickTravel/Cheddar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClickTravel/Cheddar/downloads","issues_url":"https://api.github.com/repos/ClickTravel/Cheddar/issues{/number}","pulls_url":"https://api.github.com/repos/ClickTravel/Cheddar/pulls{/number}","milestones_url":"https://api.github.com/repos/ClickTravel/Cheddar/milestones{/number}","notifications_url":"https://api.github.com/repos/ClickTravel/Cheddar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClickTravel/Cheddar/labels{/name}","releases_url":"https://api.github.com/repos/ClickTravel/Cheddar/releases{/id}","created_at":"2014-08-14T18:50:56Z","updated_at":"2015-05-21T01:32:23Z","pushed_at":"2015-05-29T14:15:37Z","git_url":"git://github.com/ClickTravel/Cheddar.git","ssh_url":"git@github.com:ClickTravel/Cheddar.git","clone_url":"https://github.com/ClickTravel/Cheddar.git","svn_url":"https://github.com/ClickTravel/Cheddar","homepage":null,"size":2031,"stargazers_count":15,"watchers_count":15,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92"},"html":{"href":"https://github.com/ClickTravel/Cheddar/pull/92"},"issue":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/issues/92"},"comments":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/ClickTravel/Cheddar/statuses/2dffd7d4b5e5de0cd45ca31fd3f0f0d8fd6a5dc8"}}}}