{"action":"created","comment":{"url":"https://api.github.com/repos/Metaswitch/crest/pulls/comments/47900892","id":47900892,"diff_hunk":"@@ -16,7 +17,24 @@ then\n     /usr/share/clearwater/bin/poll_cassandra.sh --no-grace-period\n   done\n \n-  echo \"CREATE KEYSPACE homer WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 2};\n+  replication_str=\"{'class': 'SimpleStrategy', 'replication_factor': 2}\"\n+\n+  # If local_site_name and remote_site_names are set then this is a GR","path":"homer.root/usr/share/clearwater/cassandra-schemas/homer.sh","position":13,"original_position":13,"commit_id":"697b7fd76c3379c9f1ceb66d62b2ef8e496a7a58","original_commit_id":"697b7fd76c3379c9f1ceb66d62b2ef8e496a7a58","user":{"login":"graemerobertson","id":5907876,"avatar_url":"https://avatars.githubusercontent.com/u/5907876?v=3","gravatar_id":"","url":"https://api.github.com/users/graemerobertson","html_url":"https://github.com/graemerobertson","followers_url":"https://api.github.com/users/graemerobertson/followers","following_url":"https://api.github.com/users/graemerobertson/following{/other_user}","gists_url":"https://api.github.com/users/graemerobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerobertson/subscriptions","organizations_url":"https://api.github.com/users/graemerobertson/orgs","repos_url":"https://api.github.com/users/graemerobertson/repos","events_url":"https://api.github.com/users/graemerobertson/events{/privacy}","received_events_url":"https://api.github.com/users/graemerobertson/received_events","type":"User","site_admin":false},"body":"Good idea - I'll move it to the clearwater-cassandra repo (but still install the Bash file to /usr/share/clearwater/cassandra-schemas)","created_at":"2015-12-17T12:40:43Z","updated_at":"2015-12-17T12:40:43Z","html_url":"https://github.com/Metaswitch/crest/pull/268#discussion_r47900892","pull_request_url":"https://api.github.com/repos/Metaswitch/crest/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/Metaswitch/crest/pulls/comments/47900892"},"html":{"href":"https://github.com/Metaswitch/crest/pull/268#discussion_r47900892"},"pull_request":{"href":"https://api.github.com/repos/Metaswitch/crest/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/Metaswitch/crest/pulls/268","id":53834764,"html_url":"https://github.com/Metaswitch/crest/pull/268","diff_url":"https://github.com/Metaswitch/crest/pull/268.diff","patch_url":"https://github.com/Metaswitch/crest/pull/268.patch","issue_url":"https://api.github.com/repos/Metaswitch/crest/issues/268","number":268,"state":"open","locked":false,"title":"Reviewer RKD: Create GR schema","user":{"login":"graemerobertson","id":5907876,"avatar_url":"https://avatars.githubusercontent.com/u/5907876?v=3","gravatar_id":"","url":"https://api.github.com/users/graemerobertson","html_url":"https://github.com/graemerobertson","followers_url":"https://api.github.com/users/graemerobertson/followers","following_url":"https://api.github.com/users/graemerobertson/following{/other_user}","gists_url":"https://api.github.com/users/graemerobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerobertson/subscriptions","organizations_url":"https://api.github.com/users/graemerobertson/orgs","repos_url":"https://api.github.com/users/graemerobertson/repos","events_url":"https://api.github.com/users/graemerobertson/events{/privacy}","received_events_url":"https://api.github.com/users/graemerobertson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-16T12:26:50Z","updated_at":"2015-12-17T12:40:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0775f5ad4de0b4a2e078c83e77adb97d5fb712a5","assignee":{"login":"graemerobertson","id":5907876,"avatar_url":"https://avatars.githubusercontent.com/u/5907876?v=3","gravatar_id":"","url":"https://api.github.com/users/graemerobertson","html_url":"https://github.com/graemerobertson","followers_url":"https://api.github.com/users/graemerobertson/followers","following_url":"https://api.github.com/users/graemerobertson/following{/other_user}","gists_url":"https://api.github.com/users/graemerobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerobertson/subscriptions","organizations_url":"https://api.github.com/users/graemerobertson/orgs","repos_url":"https://api.github.com/users/graemerobertson/repos","events_url":"https://api.github.com/users/graemerobertson/events{/privacy}","received_events_url":"https://api.github.com/users/graemerobertson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Metaswitch/crest/pulls/268/commits","review_comments_url":"https://api.github.com/repos/Metaswitch/crest/pulls/268/comments","review_comment_url":"https://api.github.com/repos/Metaswitch/crest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Metaswitch/crest/issues/268/comments","statuses_url":"https://api.github.com/repos/Metaswitch/crest/statuses/697b7fd76c3379c9f1ceb66d62b2ef8e496a7a58","head":{"label":"Metaswitch:3site_GR","ref":"3site_GR","sha":"697b7fd76c3379c9f1ceb66d62b2ef8e496a7a58","user":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"repo":{"id":9886032,"name":"crest","full_name":"Metaswitch/crest","owner":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Metaswitch/crest","description":"Crest is a RESTful HTTP server built on top of Cassandra using Tornado. It powers Clearwater's Homer and Homestead provisioning components.","fork":false,"url":"https://api.github.com/repos/Metaswitch/crest","forks_url":"https://api.github.com/repos/Metaswitch/crest/forks","keys_url":"https://api.github.com/repos/Metaswitch/crest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Metaswitch/crest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Metaswitch/crest/teams","hooks_url":"https://api.github.com/repos/Metaswitch/crest/hooks","issue_events_url":"https://api.github.com/repos/Metaswitch/crest/issues/events{/number}","events_url":"https://api.github.com/repos/Metaswitch/crest/events","assignees_url":"https://api.github.com/repos/Metaswitch/crest/assignees{/user}","branches_url":"https://api.github.com/repos/Metaswitch/crest/branches{/branch}","tags_url":"https://api.github.com/repos/Metaswitch/crest/tags","blobs_url":"https://api.github.com/repos/Metaswitch/crest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Metaswitch/crest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Metaswitch/crest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Metaswitch/crest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Metaswitch/crest/statuses/{sha}","languages_url":"https://api.github.com/repos/Metaswitch/crest/languages","stargazers_url":"https://api.github.com/repos/Metaswitch/crest/stargazers","contributors_url":"https://api.github.com/repos/Metaswitch/crest/contributors","subscribers_url":"https://api.github.com/repos/Metaswitch/crest/subscribers","subscription_url":"https://api.github.com/repos/Metaswitch/crest/subscription","commits_url":"https://api.github.com/repos/Metaswitch/crest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Metaswitch/crest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Metaswitch/crest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Metaswitch/crest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Metaswitch/crest/contents/{+path}","compare_url":"https://api.github.com/repos/Metaswitch/crest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Metaswitch/crest/merges","archive_url":"https://api.github.com/repos/Metaswitch/crest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Metaswitch/crest/downloads","issues_url":"https://api.github.com/repos/Metaswitch/crest/issues{/number}","pulls_url":"https://api.github.com/repos/Metaswitch/crest/pulls{/number}","milestones_url":"https://api.github.com/repos/Metaswitch/crest/milestones{/number}","notifications_url":"https://api.github.com/repos/Metaswitch/crest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Metaswitch/crest/labels{/name}","releases_url":"https://api.github.com/repos/Metaswitch/crest/releases{/id}","created_at":"2013-05-06T12:12:39Z","updated_at":"2015-07-05T07:41:08Z","pushed_at":"2015-12-16T12:26:50Z","git_url":"git://github.com/Metaswitch/crest.git","ssh_url":"git@github.com:Metaswitch/crest.git","clone_url":"https://github.com/Metaswitch/crest.git","svn_url":"https://github.com/Metaswitch/crest","homepage":"http://www.projectclearwater.org","size":9311,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":15,"forks":8,"open_issues":15,"watchers":8,"default_branch":"dev"}},"base":{"label":"Metaswitch:dev","ref":"dev","sha":"425b290e2309c126a4328c60d86305ab00ea6500","user":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"repo":{"id":9886032,"name":"crest","full_name":"Metaswitch/crest","owner":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Metaswitch/crest","description":"Crest is a RESTful HTTP server built on top of Cassandra using Tornado. It powers Clearwater's Homer and Homestead provisioning components.","fork":false,"url":"https://api.github.com/repos/Metaswitch/crest","forks_url":"https://api.github.com/repos/Metaswitch/crest/forks","keys_url":"https://api.github.com/repos/Metaswitch/crest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Metaswitch/crest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Metaswitch/crest/teams","hooks_url":"https://api.github.com/repos/Metaswitch/crest/hooks","issue_events_url":"https://api.github.com/repos/Metaswitch/crest/issues/events{/number}","events_url":"https://api.github.com/repos/Metaswitch/crest/events","assignees_url":"https://api.github.com/repos/Metaswitch/crest/assignees{/user}","branches_url":"https://api.github.com/repos/Metaswitch/crest/branches{/branch}","tags_url":"https://api.github.com/repos/Metaswitch/crest/tags","blobs_url":"https://api.github.com/repos/Metaswitch/crest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Metaswitch/crest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Metaswitch/crest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Metaswitch/crest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Metaswitch/crest/statuses/{sha}","languages_url":"https://api.github.com/repos/Metaswitch/crest/languages","stargazers_url":"https://api.github.com/repos/Metaswitch/crest/stargazers","contributors_url":"https://api.github.com/repos/Metaswitch/crest/contributors","subscribers_url":"https://api.github.com/repos/Metaswitch/crest/subscribers","subscription_url":"https://api.github.com/repos/Metaswitch/crest/subscription","commits_url":"https://api.github.com/repos/Metaswitch/crest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Metaswitch/crest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Metaswitch/crest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Metaswitch/crest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Metaswitch/crest/contents/{+path}","compare_url":"https://api.github.com/repos/Metaswitch/crest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Metaswitch/crest/merges","archive_url":"https://api.github.com/repos/Metaswitch/crest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Metaswitch/crest/downloads","issues_url":"https://api.github.com/repos/Metaswitch/crest/issues{/number}","pulls_url":"https://api.github.com/repos/Metaswitch/crest/pulls{/number}","milestones_url":"https://api.github.com/repos/Metaswitch/crest/milestones{/number}","notifications_url":"https://api.github.com/repos/Metaswitch/crest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Metaswitch/crest/labels{/name}","releases_url":"https://api.github.com/repos/Metaswitch/crest/releases{/id}","created_at":"2013-05-06T12:12:39Z","updated_at":"2015-07-05T07:41:08Z","pushed_at":"2015-12-16T12:26:50Z","git_url":"git://github.com/Metaswitch/crest.git","ssh_url":"git@github.com:Metaswitch/crest.git","clone_url":"https://github.com/Metaswitch/crest.git","svn_url":"https://github.com/Metaswitch/crest","homepage":"http://www.projectclearwater.org","size":9311,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":15,"forks":8,"open_issues":15,"watchers":8,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Metaswitch/crest/pulls/268"},"html":{"href":"https://github.com/Metaswitch/crest/pull/268"},"issue":{"href":"https://api.github.com/repos/Metaswitch/crest/issues/268"},"comments":{"href":"https://api.github.com/repos/Metaswitch/crest/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/Metaswitch/crest/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/Metaswitch/crest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Metaswitch/crest/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/Metaswitch/crest/statuses/697b7fd76c3379c9f1ceb66d62b2ef8e496a7a58"}}}}