{"action":"created","comment":{"url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/comments/98386516","pull_request_review_id":19024582,"id":98386516,"diff_hunk":"@@ -0,0 +1,28 @@\n+module MonascaHelper\n+  def self.api_public_host(node)\n+    ha_enabled = node[:monasca][:ha][:enabled]\n+    ssl_enabled = node[:monasca][:api][:ssl]\n+    CrowbarHelper.get_host_for_public_url(node, ssl_enabled, ha_enabled)\n+  end\n+\n+  def self.api_public_url(node)\n+    host = api_public_host(node)\n+    protocol = node[:monasca][:api][:ssl] ? \"https\" : \"http\"\n+    port = port = node[:monasca][:api][:bind_port]","path":"chef/cookbooks/monasca/libraries/helpers.rb","position":11,"original_position":11,"commit_id":"7d27ce41759d383597e1e1ca5283e5579ae40d7d","original_commit_id":"7d27ce41759d383597e1e1ca5283e5579ae40d7d","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Lint/UselessAssignment: Useless assignment to variable - port. (https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars)","created_at":"2017-01-30T06:56:13Z","updated_at":"2017-01-30T06:56:13Z","html_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pull/5#discussion_r98386516","pull_request_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/comments/98386516"},"html":{"href":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pull/5#discussion_r98386516"},"pull_request":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5","id":101068247,"html_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pull/5","diff_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pull/5.diff","patch_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pull/5.patch","issue_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues/5","number":5,"state":"open","locked":false,"title":"Configure monasca-server in keystone","user":{"login":"samirjorina","id":14940860,"avatar_url":"https://avatars.githubusercontent.com/u/14940860?v=3","gravatar_id":"","url":"https://api.github.com/users/samirjorina","html_url":"https://github.com/samirjorina","followers_url":"https://api.github.com/users/samirjorina/followers","following_url":"https://api.github.com/users/samirjorina/following{/other_user}","gists_url":"https://api.github.com/users/samirjorina/gists{/gist_id}","starred_url":"https://api.github.com/users/samirjorina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirjorina/subscriptions","organizations_url":"https://api.github.com/users/samirjorina/orgs","repos_url":"https://api.github.com/users/samirjorina/repos","events_url":"https://api.github.com/users/samirjorina/events{/privacy}","received_events_url":"https://api.github.com/users/samirjorina/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-11T13:42:24Z","updated_at":"2017-01-30T06:56:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab4a733e6f94d277d2624be370fd28c9385557de","assignee":{"login":"samirjorina","id":14940860,"avatar_url":"https://avatars.githubusercontent.com/u/14940860?v=3","gravatar_id":"","url":"https://api.github.com/users/samirjorina","html_url":"https://github.com/samirjorina","followers_url":"https://api.github.com/users/samirjorina/followers","following_url":"https://api.github.com/users/samirjorina/following{/other_user}","gists_url":"https://api.github.com/users/samirjorina/gists{/gist_id}","starred_url":"https://api.github.com/users/samirjorina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirjorina/subscriptions","organizations_url":"https://api.github.com/users/samirjorina/orgs","repos_url":"https://api.github.com/users/samirjorina/repos","events_url":"https://api.github.com/users/samirjorina/events{/privacy}","received_events_url":"https://api.github.com/users/samirjorina/received_events","type":"User","site_admin":false},"assignees":[{"login":"samirjorina","id":14940860,"avatar_url":"https://avatars.githubusercontent.com/u/14940860?v=3","gravatar_id":"","url":"https://api.github.com/users/samirjorina","html_url":"https://github.com/samirjorina","followers_url":"https://api.github.com/users/samirjorina/followers","following_url":"https://api.github.com/users/samirjorina/following{/other_user}","gists_url":"https://api.github.com/users/samirjorina/gists{/gist_id}","starred_url":"https://api.github.com/users/samirjorina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirjorina/subscriptions","organizations_url":"https://api.github.com/users/samirjorina/orgs","repos_url":"https://api.github.com/users/samirjorina/repos","events_url":"https://api.github.com/users/samirjorina/events{/privacy}","received_events_url":"https://api.github.com/users/samirjorina/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5/commits","review_comments_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5/comments","review_comment_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues/5/comments","statuses_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/statuses/7d27ce41759d383597e1e1ca5283e5579ae40d7d","head":{"label":"samirjorina:monasca_keystone","ref":"monasca_keystone","sha":"7d27ce41759d383597e1e1ca5283e5579ae40d7d","user":{"login":"samirjorina","id":14940860,"avatar_url":"https://avatars.githubusercontent.com/u/14940860?v=3","gravatar_id":"","url":"https://api.github.com/users/samirjorina","html_url":"https://github.com/samirjorina","followers_url":"https://api.github.com/users/samirjorina/followers","following_url":"https://api.github.com/users/samirjorina/following{/other_user}","gists_url":"https://api.github.com/users/samirjorina/gists{/gist_id}","starred_url":"https://api.github.com/users/samirjorina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirjorina/subscriptions","organizations_url":"https://api.github.com/users/samirjorina/orgs","repos_url":"https://api.github.com/users/samirjorina/repos","events_url":"https://api.github.com/users/samirjorina/events{/privacy}","received_events_url":"https://api.github.com/users/samirjorina/received_events","type":"User","site_admin":false},"repo":{"id":78534814,"name":"crowbar-openstack","full_name":"samirjorina/crowbar-openstack","owner":{"login":"samirjorina","id":14940860,"avatar_url":"https://avatars.githubusercontent.com/u/14940860?v=3","gravatar_id":"","url":"https://api.github.com/users/samirjorina","html_url":"https://github.com/samirjorina","followers_url":"https://api.github.com/users/samirjorina/followers","following_url":"https://api.github.com/users/samirjorina/following{/other_user}","gists_url":"https://api.github.com/users/samirjorina/gists{/gist_id}","starred_url":"https://api.github.com/users/samirjorina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samirjorina/subscriptions","organizations_url":"https://api.github.com/users/samirjorina/orgs","repos_url":"https://api.github.com/users/samirjorina/repos","events_url":"https://api.github.com/users/samirjorina/events{/privacy}","received_events_url":"https://api.github.com/users/samirjorina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samirjorina/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/samirjorina/crowbar-openstack","forks_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/samirjorina/crowbar-openstack/deployments","created_at":"2017-01-10T13:13:10Z","updated_at":"2017-01-10T13:13:14Z","pushed_at":"2017-01-30T06:56:06Z","git_url":"git://github.com/samirjorina/crowbar-openstack.git","ssh_url":"git@github.com:samirjorina/crowbar-openstack.git","clone_url":"https://github.com/samirjorina/crowbar-openstack.git","svn_url":"https://github.com/samirjorina/crowbar-openstack","homepage":null,"size":18231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"FujitsuEnablingSoftwareTechnologyGmbH:monasca","ref":"monasca","sha":"2e331a693173b5d5e6609f30a27f224824315a3d","user":{"login":"FujitsuEnablingSoftwareTechnologyGmbH","id":12654358,"avatar_url":"https://avatars.githubusercontent.com/u/12654358?v=3","gravatar_id":"","url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH","html_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH","followers_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/followers","following_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/following{/other_user}","gists_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/gists{/gist_id}","starred_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/subscriptions","organizations_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/orgs","repos_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/repos","events_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/events{/privacy}","received_events_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/received_events","type":"Organization","site_admin":false},"repo":{"id":78113367,"name":"crowbar-openstack","full_name":"FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack","owner":{"login":"FujitsuEnablingSoftwareTechnologyGmbH","id":12654358,"avatar_url":"https://avatars.githubusercontent.com/u/12654358?v=3","gravatar_id":"","url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH","html_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH","followers_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/followers","following_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/following{/other_user}","gists_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/gists{/gist_id}","starred_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/subscriptions","organizations_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/orgs","repos_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/repos","events_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/events{/privacy}","received_events_url":"https://api.github.com/users/FujitsuEnablingSoftwareTechnologyGmbH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack","description":"Openstack deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack","forks_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/forks","keys_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/teams","hooks_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/hooks","issue_events_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/events","assignees_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/tags","blobs_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/languages","stargazers_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/stargazers","contributors_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/contributors","subscribers_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/subscribers","subscription_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/subscription","commits_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/merges","archive_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/downloads","issues_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/labels{/name}","releases_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/deployments","created_at":"2017-01-05T13:02:32Z","updated_at":"2017-01-05T13:02:36Z","pushed_at":"2017-01-30T06:56:08Z","git_url":"git://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack.git","ssh_url":"git@github.com:FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack.git","clone_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack.git","svn_url":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack","homepage":null,"size":18226,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5"},"html":{"href":"https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pull/5"},"issue":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues/5"},"comments":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/FujitsuEnablingSoftwareTechnologyGmbH/crowbar-openstack/statuses/7d27ce41759d383597e1e1ca5283e5579ae40d7d"}}}}
{"actor":{"display_login":"houndci-bot"}}