GitHub PullRequestReviewCommentEvent at 2014-10-13 21:56:09
Repository: coopr
Actor: albertshau
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/caskdata/coopr/pulls/comments/18797622","id":18797622,"diff_hunk":"@@ -0,0 +1,44 @@\n+package co.cask.coopr.shell.command;\n+\n+import co.cask.common.cli.Arguments;\n+import co.cask.common.cli.Command;\n+import co.cask.coopr.client.ClusterClient;\n+import co.cask.coopr.http.request.AddServicesRequest;\n+import co.cask.coopr.shell.util.CliUtil;\n+\n+import java.io.PrintStream;\n+import javax.inject.Inject;\n+\n+/**\n+ * Adds service on cluster.\n+ */\n+public class AddServicesOnClusterCommand implements Command {\n+\n+  private static final String CLUSTER_ID_KEY = \"cluster-id\";\n+  private static final String SERVICES_KEY = \"services\";","path":"coopr-cli/src/main/java/co/cask/coopr/shell/command/AddServicesOnClusterCommand.java","position":18,"original_position":18,"commit_id":"b5f68c382803addb36a152418681ba6b7383f9af","original_commit_id":"b5f68c382803addb36a152418681ba6b7383f9af","user":{"login":"albertshau","id":5215004,"avatar_url":"https://avatars.githubusercontent.com/u/5215004?v=2","gravatar_id":"","url":"https://api.github.com/users/albertshau","html_url":"https://github.com/albertshau","followers_url":"https://api.github.com/users/albertshau/followers","following_url":"https://api.github.com/users/albertshau/following{/other_user}","gists_url":"https://api.github.com/users/albertshau/gists{/gist_id}","starred_url":"https://api.github.com/users/albertshau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertshau/subscriptions","organizations_url":"https://api.github.com/users/albertshau/orgs","repos_url":"https://api.github.com/users/albertshau/repos","events_url":"https://api.github.com/users/albertshau/events{/privacy}","received_events_url":"https://api.github.com/users/albertshau/received_events","type":"User","site_admin":false},"body":"should probably move all the keys into one common class","created_at":"2014-10-13T21:56:09Z","updated_at":"2014-10-13T21:56:09Z","html_url":"https://github.com/caskdata/coopr/pull/654#discussion_r18797622","pull_request_url":"https://api.github.com/repos/caskdata/coopr/pulls/654","_links":{"self":{"href":"https://api.github.com/repos/caskdata/coopr/pulls/comments/18797622"},"html":{"href":"https://github.com/caskdata/coopr/pull/654#discussion_r18797622"},"pull_request":{"href":"https://api.github.com/repos/caskdata/coopr/pulls/654"}}},"pull_request":{"url":"https://api.github.com/repos/caskdata/coopr/pulls/654","id":22662427,"html_url":"https://github.com/caskdata/coopr/pull/654","diff_url":"https://github.com/caskdata/coopr/pull/654.diff","patch_url":"https://github.com/caskdata/coopr/pull/654.patch","issue_url":"https://api.github.com/repos/caskdata/coopr/issues/654","number":654,"state":"open","locked":false,"title":"COOPR-503: Create Coopr CLI Client","user":{"login":"ytalashkocv","id":8393633,"avatar_url":"https://avatars.githubusercontent.com/u/8393633?v=2","gravatar_id":"","url":"https://api.github.com/users/ytalashkocv","html_url":"https://github.com/ytalashkocv","followers_url":"https://api.github.com/users/ytalashkocv/followers","following_url":"https://api.github.com/users/ytalashkocv/following{/other_user}","gists_url":"https://api.github.com/users/ytalashkocv/gists{/gist_id}","starred_url":"https://api.github.com/users/ytalashkocv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytalashkocv/subscriptions","organizations_url":"https://api.github.com/users/ytalashkocv/orgs","repos_url":"https://api.github.com/users/ytalashkocv/repos","events_url":"https://api.github.com/users/ytalashkocv/events{/privacy}","received_events_url":"https://api.github.com/users/ytalashkocv/received_events","type":"User","site_admin":false},"body":"Add Admin and Cluster command","created_at":"2014-10-13T18:13:35Z","updated_at":"2014-10-13T21:56:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaa59126d95dce2404d87de388675b7502a0c011","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/caskdata/coopr/pulls/654/commits","review_comments_url":"https://api.github.com/repos/caskdata/coopr/pulls/654/comments","review_comment_url":"https://api.github.com/repos/caskdata/coopr/pulls/comments/{number}","comments_url":"https://api.github.com/repos/caskdata/coopr/issues/654/comments","statuses_url":"https://api.github.com/repos/caskdata/coopr/statuses/b5f68c382803addb36a152418681ba6b7383f9af","head":{"label":"cybervisiontech:cli","ref":"cli","sha":"b5f68c382803addb36a152418681ba6b7383f9af","user":{"login":"cybervisiontech","id":8482357,"avatar_url":"https://avatars.githubusercontent.com/u/8482357?v=2","gravatar_id":"","url":"https://api.github.com/users/cybervisiontech","html_url":"https://github.com/cybervisiontech","followers_url":"https://api.github.com/users/cybervisiontech/followers","following_url":"https://api.github.com/users/cybervisiontech/following{/other_user}","gists_url":"https://api.github.com/users/cybervisiontech/gists{/gist_id}","starred_url":"https://api.github.com/users/cybervisiontech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybervisiontech/subscriptions","organizations_url":"https://api.github.com/users/cybervisiontech/orgs","repos_url":"https://api.github.com/users/cybervisiontech/repos","events_url":"https://api.github.com/users/cybervisiontech/events{/privacy}","received_events_url":"https://api.github.com/users/cybervisiontech/received_events","type":"Organization","site_admin":false},"repo":{"id":24725151,"name":"coopr","full_name":"cybervisiontech/coopr","owner":{"login":"cybervisiontech","id":8482357,"avatar_url":"https://avatars.githubusercontent.com/u/8482357?v=2","gravatar_id":"","url":"https://api.github.com/users/cybervisiontech","html_url":"https://github.com/cybervisiontech","followers_url":"https://api.github.com/users/cybervisiontech/followers","following_url":"https://api.github.com/users/cybervisiontech/following{/other_user}","gists_url":"https://api.github.com/users/cybervisiontech/gists{/gist_id}","starred_url":"https://api.github.com/users/cybervisiontech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybervisiontech/subscriptions","organizations_url":"https://api.github.com/users/cybervisiontech/orgs","repos_url":"https://api.github.com/users/cybervisiontech/repos","events_url":"https://api.github.com/users/cybervisiontech/events{/privacy}","received_events_url":"https://api.github.com/users/cybervisiontech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cybervisiontech/coopr","description":"A template-based cluster provisioning system.","fork":true,"url":"https://api.github.com/repos/cybervisiontech/coopr","forks_url":"https://api.github.com/repos/cybervisiontech/coopr/forks","keys_url":"https://api.github.com/repos/cybervisiontech/coopr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybervisiontech/coopr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybervisiontech/coopr/teams","hooks_url":"https://api.github.com/repos/cybervisiontech/coopr/hooks","issue_events_url":"https://api.github.com/repos/cybervisiontech/coopr/issues/events{/number}","events_url":"https://api.github.com/repos/cybervisiontech/coopr/events","assignees_url":"https://api.github.com/repos/cybervisiontech/coopr/assignees{/user}","branches_url":"https://api.github.com/repos/cybervisiontech/coopr/branches{/branch}","tags_url":"https://api.github.com/repos/cybervisiontech/coopr/tags","blobs_url":"https://api.github.com/repos/cybervisiontech/coopr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybervisiontech/coopr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybervisiontech/coopr/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybervisiontech/coopr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybervisiontech/coopr/statuses/{sha}","languages_url":"https://api.github.com/repos/cybervisiontech/coopr/languages","stargazers_url":"https://api.github.com/repos/cybervisiontech/coopr/stargazers","contributors_url":"https://api.github.com/repos/cybervisiontech/coopr/contributors","subscribers_url":"https://api.github.com/repos/cybervisiontech/coopr/subscribers","subscription_url":"https://api.github.com/repos/cybervisiontech/coopr/subscription","commits_url":"https://api.github.com/repos/cybervisiontech/coopr/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybervisiontech/coopr/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybervisiontech/coopr/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybervisiontech/coopr/issues/comments/{number}","contents_url":"https://api.github.com/repos/cybervisiontech/coopr/contents/{+path}","compare_url":"https://api.github.com/repos/cybervisiontech/coopr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybervisiontech/coopr/merges","archive_url":"https://api.github.com/repos/cybervisiontech/coopr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybervisiontech/coopr/downloads","issues_url":"https://api.github.com/repos/cybervisiontech/coopr/issues{/number}","pulls_url":"https://api.github.com/repos/cybervisiontech/coopr/pulls{/number}","milestones_url":"https://api.github.com/repos/cybervisiontech/coopr/milestones{/number}","notifications_url":"https://api.github.com/repos/cybervisiontech/coopr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybervisiontech/coopr/labels{/name}","releases_url":"https://api.github.com/repos/cybervisiontech/coopr/releases{/id}","created_at":"2014-10-02T15:41:26Z","updated_at":"2014-10-07T14:23:05Z","pushed_at":"2014-10-13T19:06:54Z","git_url":"git://github.com/cybervisiontech/coopr.git","ssh_url":"git@github.com:cybervisiontech/coopr.git","clone_url":"https://github.com/cybervisiontech/coopr.git","svn_url":"https://github.com/cybervisiontech/coopr","homepage":"","size":127431,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"caskdata:develop","ref":"develop","sha":"508c70be1f6aad718c06e79771df479f405617cb","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=2","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":17919097,"name":"coopr","full_name":"caskdata/coopr","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=2","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/coopr","description":"A template-based cluster provisioning system.","fork":false,"url":"https://api.github.com/repos/caskdata/coopr","forks_url":"https://api.github.com/repos/caskdata/coopr/forks","keys_url":"https://api.github.com/repos/caskdata/coopr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/coopr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/coopr/teams","hooks_url":"https://api.github.com/repos/caskdata/coopr/hooks","issue_events_url":"https://api.github.com/repos/caskdata/coopr/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/coopr/events","assignees_url":"https://api.github.com/repos/caskdata/coopr/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/coopr/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/coopr/tags","blobs_url":"https://api.github.com/repos/caskdata/coopr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/coopr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/coopr/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/coopr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/coopr/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/coopr/languages","stargazers_url":"https://api.github.com/repos/caskdata/coopr/stargazers","contributors_url":"https://api.github.com/repos/caskdata/coopr/contributors","subscribers_url":"https://api.github.com/repos/caskdata/coopr/subscribers","subscription_url":"https://api.github.com/repos/caskdata/coopr/subscription","commits_url":"https://api.github.com/repos/caskdata/coopr/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/coopr/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/coopr/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/coopr/issues/comments/{number}","contents_url":"https://api.github.com/repos/caskdata/coopr/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/coopr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/coopr/merges","archive_url":"https://api.github.com/repos/caskdata/coopr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/coopr/downloads","issues_url":"https://api.github.com/repos/caskdata/coopr/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/coopr/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/coopr/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/coopr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/coopr/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/coopr/releases{/id}","created_at":"2014-03-19T20:25:45Z","updated_at":"2014-10-07T17:45:53Z","pushed_at":"2014-10-13T20:47:28Z","git_url":"git://github.com/caskdata/coopr.git","ssh_url":"git@github.com:caskdata/coopr.git","clone_url":"https://github.com/caskdata/coopr.git","svn_url":"https://github.com/caskdata/coopr","homepage":"http://coopr.io","size":162094,"stargazers_count":42,"watchers_count":42,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":96,"forks":8,"open_issues":96,"watchers":42,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/caskdata/coopr/pulls/654"},"html":{"href":"https://github.com/caskdata/coopr/pull/654"},"issue":{"href":"https://api.github.com/repos/caskdata/coopr/issues/654"},"comments":{"href":"https://api.github.com/repos/caskdata/coopr/issues/654/comments"},"review_comments":{"href":"https://api.github.com/repos/caskdata/coopr/pulls/654/comments"},"review_comment":{"href":"https://api.github.com/repos/caskdata/coopr/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/caskdata/coopr/pulls/654/commits"},"statuses":{"href":"https://api.github.com/repos/caskdata/coopr/statuses/b5f68c382803addb36a152418681ba6b7383f9af"}}}}