GitHub PullRequestReviewCommentEvent at 2014-06-19 23:11:55
Repository: hbc
Actor: noonhub
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/twitter/hbc/pulls/comments/13999758","id":13999758,"diff_hunk":"@@ -0,0 +1,104 @@\n+/**\n+ * Copyright 2014 Twitter, Inc.\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ **/\n+\n+package com.twitter.hbc.core.endpoint;\n+\n+import com.google.common.base.Joiner;\n+import com.google.common.base.Preconditions;\n+import com.google.common.collect.Maps;\n+import com.twitter.hbc.core.HttpConstants;\n+\n+import java.util.Map;\n+import java.util.concurrent.ConcurrentMap;\n+\n+public abstract class EnterpriseStreamingEndpoint implements StreamingEndpoint {\n+  private static final String BASE_PATH = \"/accounts/%s/publishers/twitter/streams/%s/%s.json\";\n+  protected final String account;\n+  protected final String product;\n+  protected final String label;\n+  protected final ConcurrentMap<String, String> queryParameters = Maps.newConcurrentMap();","path":"hbc-core/src/main/java/com/twitter/hbc/core/endpoint/EnterpriseStreamingEndpoint.java","position":29,"original_position":29,"commit_id":"9b32ab07bf4c71efbb83233b6f34b9b08ea7a269","original_commit_id":"9b32ab07bf4c71efbb83233b6f34b9b08ea7a269","user":{"login":"noonhub","id":942363,"avatar_url":"https://avatars.githubusercontent.com/u/942363?","gravatar_id":"c5a6945c79d46ae86b3526163f2e6c69","url":"https://api.github.com/users/noonhub","html_url":"https://github.com/noonhub","followers_url":"https://api.github.com/users/noonhub/followers","following_url":"https://api.github.com/users/noonhub/following{/other_user}","gists_url":"https://api.github.com/users/noonhub/gists{/gist_id}","starred_url":"https://api.github.com/users/noonhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noonhub/subscriptions","organizations_url":"https://api.github.com/users/noonhub/orgs","repos_url":"https://api.github.com/users/noonhub/repos","events_url":"https://api.github.com/users/noonhub/events{/privacy}","received_events_url":"https://api.github.com/users/noonhub/received_events","type":"User","site_admin":false},"body":"done","created_at":"2014-06-19T23:11:55Z","updated_at":"2014-06-19T23:11:55Z","html_url":"https://github.com/twitter/hbc/pull/121#discussion_r13999758","pull_request_url":"https://api.github.com/repos/twitter/hbc/pulls/121","_links":{"self":{"href":"https://api.github.com/repos/twitter/hbc/pulls/comments/13999758"},"html":{"href":"https://github.com/twitter/hbc/pull/121#discussion_r13999758"},"pull_request":{"href":"https://api.github.com/repos/twitter/hbc/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/twitter/hbc/pulls/121","id":17262431,"html_url":"https://github.com/twitter/hbc/pull/121","diff_url":"https://github.com/twitter/hbc/pull/121.diff","patch_url":"https://github.com/twitter/hbc/pull/121.patch","issue_url":"https://api.github.com/repos/twitter/hbc/issues/121","number":121,"state":"open","title":"Powertrack support","user":{"login":"nicky-isaacs","id":1903329,"avatar_url":"https://avatars.githubusercontent.com/u/1903329?","gravatar_id":"eaa6ddbd94198083bab4c602f1507005","url":"https://api.github.com/users/nicky-isaacs","html_url":"https://github.com/nicky-isaacs","followers_url":"https://api.github.com/users/nicky-isaacs/followers","following_url":"https://api.github.com/users/nicky-isaacs/following{/other_user}","gists_url":"https://api.github.com/users/nicky-isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/nicky-isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicky-isaacs/subscriptions","organizations_url":"https://api.github.com/users/nicky-isaacs/orgs","repos_url":"https://api.github.com/users/nicky-isaacs/repos","events_url":"https://api.github.com/users/nicky-isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/nicky-isaacs/received_events","type":"User","site_admin":false},"body":"Added support for the GNIP streaming API's. More refactoring work to come before publish.","created_at":"2014-06-17T21:24:13Z","updated_at":"2014-06-19T23:11:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f460e13393432ae714759b8633776bf4008485bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twitter/hbc/pulls/121/commits","review_comments_url":"https://api.github.com/repos/twitter/hbc/pulls/121/comments","review_comment_url":"https://api.github.com/repos/twitter/hbc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/twitter/hbc/issues/121/comments","statuses_url":"https://api.github.com/repos/twitter/hbc/statuses/9b32ab07bf4c71efbb83233b6f34b9b08ea7a269","head":{"label":"twitter:powertrack-support","ref":"powertrack-support","sha":"9b32ab07bf4c71efbb83233b6f34b9b08ea7a269","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?","gravatar_id":"2f4a8254d032a8ec5e4c48d461e54fcc","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":8064341,"name":"hbc","full_name":"twitter/hbc","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?","gravatar_id":"2f4a8254d032a8ec5e4c48d461e54fcc","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/hbc","description":"A Java HTTP client for consuming Twitter's Streaming API","fork":false,"url":"https://api.github.com/repos/twitter/hbc","forks_url":"https://api.github.com/repos/twitter/hbc/forks","keys_url":"https://api.github.com/repos/twitter/hbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/hbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/hbc/teams","hooks_url":"https://api.github.com/repos/twitter/hbc/hooks","issue_events_url":"https://api.github.com/repos/twitter/hbc/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/hbc/events","assignees_url":"https://api.github.com/repos/twitter/hbc/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/hbc/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/hbc/tags","blobs_url":"https://api.github.com/repos/twitter/hbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/hbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/hbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/hbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/hbc/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/hbc/languages","stargazers_url":"https://api.github.com/repos/twitter/hbc/stargazers","contributors_url":"https://api.github.com/repos/twitter/hbc/contributors","subscribers_url":"https://api.github.com/repos/twitter/hbc/subscribers","subscription_url":"https://api.github.com/repos/twitter/hbc/subscription","commits_url":"https://api.github.com/repos/twitter/hbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/hbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/hbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/hbc/issues/comments/{number}","contents_url":"https://api.github.com/repos/twitter/hbc/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/hbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/hbc/merges","archive_url":"https://api.github.com/repos/twitter/hbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/hbc/downloads","issues_url":"https://api.github.com/repos/twitter/hbc/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/hbc/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/hbc/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/hbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/hbc/labels{/name}","releases_url":"https://api.github.com/repos/twitter/hbc/releases{/id}","created_at":"2013-02-07T01:40:57Z","updated_at":"2014-06-19T18:01:53Z","pushed_at":"2014-06-19T18:01:53Z","git_url":"git://github.com/twitter/hbc.git","ssh_url":"git@github.com:twitter/hbc.git","clone_url":"https://github.com/twitter/hbc.git","svn_url":"https://github.com/twitter/hbc","homepage":null,"size":1596,"stargazers_count":335,"watchers_count":335,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":98,"mirror_url":null,"open_issues_count":3,"forks":98,"open_issues":3,"watchers":335,"default_branch":"master"}},"base":{"label":"twitter:master","ref":"master","sha":"33dde671179559d275bb070cabc8f7aede2ed7e0","user":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?","gravatar_id":"2f4a8254d032a8ec5e4c48d461e54fcc","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"repo":{"id":8064341,"name":"hbc","full_name":"twitter/hbc","owner":{"login":"twitter","id":50278,"avatar_url":"https://avatars.githubusercontent.com/u/50278?","gravatar_id":"2f4a8254d032a8ec5e4c48d461e54fcc","url":"https://api.github.com/users/twitter","html_url":"https://github.com/twitter","followers_url":"https://api.github.com/users/twitter/followers","following_url":"https://api.github.com/users/twitter/following{/other_user}","gists_url":"https://api.github.com/users/twitter/gists{/gist_id}","starred_url":"https://api.github.com/users/twitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twitter/subscriptions","organizations_url":"https://api.github.com/users/twitter/orgs","repos_url":"https://api.github.com/users/twitter/repos","events_url":"https://api.github.com/users/twitter/events{/privacy}","received_events_url":"https://api.github.com/users/twitter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twitter/hbc","description":"A Java HTTP client for consuming Twitter's Streaming API","fork":false,"url":"https://api.github.com/repos/twitter/hbc","forks_url":"https://api.github.com/repos/twitter/hbc/forks","keys_url":"https://api.github.com/repos/twitter/hbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twitter/hbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twitter/hbc/teams","hooks_url":"https://api.github.com/repos/twitter/hbc/hooks","issue_events_url":"https://api.github.com/repos/twitter/hbc/issues/events{/number}","events_url":"https://api.github.com/repos/twitter/hbc/events","assignees_url":"https://api.github.com/repos/twitter/hbc/assignees{/user}","branches_url":"https://api.github.com/repos/twitter/hbc/branches{/branch}","tags_url":"https://api.github.com/repos/twitter/hbc/tags","blobs_url":"https://api.github.com/repos/twitter/hbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twitter/hbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twitter/hbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/twitter/hbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twitter/hbc/statuses/{sha}","languages_url":"https://api.github.com/repos/twitter/hbc/languages","stargazers_url":"https://api.github.com/repos/twitter/hbc/stargazers","contributors_url":"https://api.github.com/repos/twitter/hbc/contributors","subscribers_url":"https://api.github.com/repos/twitter/hbc/subscribers","subscription_url":"https://api.github.com/repos/twitter/hbc/subscription","commits_url":"https://api.github.com/repos/twitter/hbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/twitter/hbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/twitter/hbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/twitter/hbc/issues/comments/{number}","contents_url":"https://api.github.com/repos/twitter/hbc/contents/{+path}","compare_url":"https://api.github.com/repos/twitter/hbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twitter/hbc/merges","archive_url":"https://api.github.com/repos/twitter/hbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twitter/hbc/downloads","issues_url":"https://api.github.com/repos/twitter/hbc/issues{/number}","pulls_url":"https://api.github.com/repos/twitter/hbc/pulls{/number}","milestones_url":"https://api.github.com/repos/twitter/hbc/milestones{/number}","notifications_url":"https://api.github.com/repos/twitter/hbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twitter/hbc/labels{/name}","releases_url":"https://api.github.com/repos/twitter/hbc/releases{/id}","created_at":"2013-02-07T01:40:57Z","updated_at":"2014-06-19T18:01:53Z","pushed_at":"2014-06-19T18:01:53Z","git_url":"git://github.com/twitter/hbc.git","ssh_url":"git@github.com:twitter/hbc.git","clone_url":"https://github.com/twitter/hbc.git","svn_url":"https://github.com/twitter/hbc","homepage":null,"size":1596,"stargazers_count":335,"watchers_count":335,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":98,"mirror_url":null,"open_issues_count":3,"forks":98,"open_issues":3,"watchers":335,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twitter/hbc/pulls/121"},"html":{"href":"https://github.com/twitter/hbc/pull/121"},"issue":{"href":"https://api.github.com/repos/twitter/hbc/issues/121"},"comments":{"href":"https://api.github.com/repos/twitter/hbc/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/twitter/hbc/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/twitter/hbc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/twitter/hbc/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/twitter/hbc/statuses/9b32ab07bf4c71efbb83233b6f34b9b08ea7a269"}}}}