{"action":"created","comment":{"url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/comments/116146927","pull_request_review_id":37746224,"id":116146927,"diff_hunk":"@@ -0,0 +1,43 @@\n+/**\n+ * Copyright 2017 Smartsheet.com\n+ *\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+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\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+package com.arpnetworking.metrics.portal;\n+\n+import com.google.common.collect.ImmutableMap;\n+import com.google.common.collect.Lists;\n+\n+import java.util.Map;\n+\n+/**\n+ * Creates test connections to an embedded cassandra node.\n+ *\n+ * @author Brandon Arp (brandon dot arp at smartsheet dot com)\n+ */\n+public class CassandraConnectionFactory {","path":"test/com/arpnetworking/metrics/portal/CassandraConnectionFactory.java","position":28,"original_position":28,"commit_id":"031b9608321fdef49e18670d22259213ba5a87f1","original_commit_id":"031b9608321fdef49e18670d22259213ba5a87f1","user":{"login":"vjkoskela","id":1775197,"avatar_url":"https://avatars0.githubusercontent.com/u/1775197?v=3","gravatar_id":"","url":"https://api.github.com/users/vjkoskela","html_url":"https://github.com/vjkoskela","followers_url":"https://api.github.com/users/vjkoskela/followers","following_url":"https://api.github.com/users/vjkoskela/following{/other_user}","gists_url":"https://api.github.com/users/vjkoskela/gists{/gist_id}","starred_url":"https://api.github.com/users/vjkoskela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjkoskela/subscriptions","organizations_url":"https://api.github.com/users/vjkoskela/orgs","repos_url":"https://api.github.com/users/vjkoskela/repos","events_url":"https://api.github.com/users/vjkoskela/events{/privacy}","received_events_url":"https://api.github.com/users/vjkoskela/received_events","type":"User","site_admin":false},"body":"final","created_at":"2017-05-12T03:27:57Z","updated_at":"2017-05-12T03:28:29Z","html_url":"https://github.com/ArpNetworking/metrics-portal/pull/85#discussion_r116146927","pull_request_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/comments/116146927"},"html":{"href":"https://github.com/ArpNetworking/metrics-portal/pull/85#discussion_r116146927"},"pull_request":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85","id":120212853,"html_url":"https://github.com/ArpNetworking/metrics-portal/pull/85","diff_url":"https://github.com/ArpNetworking/metrics-portal/pull/85.diff","patch_url":"https://github.com/ArpNetworking/metrics-portal/pull/85.patch","issue_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/85","number":85,"state":"open","locked":false,"title":"Add AlertRepository backed by Cassandra","user":{"login":"BrandonArp","id":1232591,"avatar_url":"https://avatars2.githubusercontent.com/u/1232591?v=3","gravatar_id":"","url":"https://api.github.com/users/BrandonArp","html_url":"https://github.com/BrandonArp","followers_url":"https://api.github.com/users/BrandonArp/followers","following_url":"https://api.github.com/users/BrandonArp/following{/other_user}","gists_url":"https://api.github.com/users/BrandonArp/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonArp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonArp/subscriptions","organizations_url":"https://api.github.com/users/BrandonArp/orgs","repos_url":"https://api.github.com/users/BrandonArp/repos","events_url":"https://api.github.com/users/BrandonArp/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonArp/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-11T22:14:29Z","updated_at":"2017-05-12T03:28:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca7cee29eb574842c217aff50c234b2da9286ce0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85/commits","review_comments_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85/comments","review_comment_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/85/comments","statuses_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/statuses/031b9608321fdef49e18670d22259213ba5a87f1","head":{"label":"ArpNetworking:cassandra_alerts","ref":"cassandra_alerts","sha":"031b9608321fdef49e18670d22259213ba5a87f1","user":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars2.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"repo":{"id":44266630,"name":"metrics-portal","full_name":"ArpNetworking/metrics-portal","owner":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars2.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ArpNetworking/metrics-portal","description":null,"fork":false,"url":"https://api.github.com/repos/ArpNetworking/metrics-portal","forks_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/forks","keys_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/teams","hooks_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/hooks","issue_events_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/events{/number}","events_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/events","assignees_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/assignees{/user}","branches_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/branches{/branch}","tags_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/tags","blobs_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/languages","stargazers_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/stargazers","contributors_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/contributors","subscribers_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/subscribers","subscription_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/subscription","commits_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/contents/{+path}","compare_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/merges","archive_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/downloads","issues_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues{/number}","pulls_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/labels{/name}","releases_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/releases{/id}","deployments_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/deployments","created_at":"2015-10-14T18:03:17Z","updated_at":"2016-10-24T05:49:09Z","pushed_at":"2017-05-12T00:20:05Z","git_url":"git://github.com/ArpNetworking/metrics-portal.git","ssh_url":"git@github.com:ArpNetworking/metrics-portal.git","clone_url":"https://github.com/ArpNetworking/metrics-portal.git","svn_url":"https://github.com/ArpNetworking/metrics-portal","homepage":null,"size":1782,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":24,"forks":3,"open_issues":24,"watchers":1,"default_branch":"master"}},"base":{"label":"ArpNetworking:master","ref":"master","sha":"df1f52e1b2d14010ba90efb2d15d409e0e0ff621","user":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars2.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"repo":{"id":44266630,"name":"metrics-portal","full_name":"ArpNetworking/metrics-portal","owner":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars2.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ArpNetworking/metrics-portal","description":null,"fork":false,"url":"https://api.github.com/repos/ArpNetworking/metrics-portal","forks_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/forks","keys_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/teams","hooks_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/hooks","issue_events_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/events{/number}","events_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/events","assignees_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/assignees{/user}","branches_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/branches{/branch}","tags_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/tags","blobs_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/languages","stargazers_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/stargazers","contributors_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/contributors","subscribers_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/subscribers","subscription_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/subscription","commits_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/contents/{+path}","compare_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/merges","archive_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/downloads","issues_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues{/number}","pulls_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/labels{/name}","releases_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/releases{/id}","deployments_url":"https://api.github.com/repos/ArpNetworking/metrics-portal/deployments","created_at":"2015-10-14T18:03:17Z","updated_at":"2016-10-24T05:49:09Z","pushed_at":"2017-05-12T00:20:05Z","git_url":"git://github.com/ArpNetworking/metrics-portal.git","ssh_url":"git@github.com:ArpNetworking/metrics-portal.git","clone_url":"https://github.com/ArpNetworking/metrics-portal.git","svn_url":"https://github.com/ArpNetworking/metrics-portal","homepage":null,"size":1782,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":24,"forks":3,"open_issues":24,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85"},"html":{"href":"https://github.com/ArpNetworking/metrics-portal/pull/85"},"issue":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/85"},"comments":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/ArpNetworking/metrics-portal/statuses/031b9608321fdef49e18670d22259213ba5a87f1"}}}}
{"actor":{"display_login":"vjkoskela"}}