{"action":"created","comment":{"url":"https://api.github.com/repos/NestAway/rule-interface/pulls/comments/156355883","pull_request_review_id":82816889,"id":156355883,"diff_hunk":"@@ -2,18 +2,22 @@ module RuleInterface\n   module Converter\n     extend self\n \n-    def hash_to_drool(data_hash:, namespace:, package:)\n+    def hash_to_drool(data_hash:, namespace:, package:, session:)\n       payload = {}\n-      payload[:lookup] = 'session'\n+      payload[:lookup] = session\n       payload[:commands] = []\n \n+      Thread.current[:id] = 1","path":"lib/rule-interface/converter.rb","position":11,"original_position":11,"commit_id":"c318970a3c4621adf1fed6087ad084543eb94596","original_commit_id":"c318970a3c4621adf1fed6087ad084543eb94596","user":{"login":"vishalvijay","id":2828848,"avatar_url":"https://avatars1.githubusercontent.com/u/2828848?v=4","gravatar_id":"","url":"https://api.github.com/users/vishalvijay","html_url":"https://github.com/vishalvijay","followers_url":"https://api.github.com/users/vishalvijay/followers","following_url":"https://api.github.com/users/vishalvijay/following{/other_user}","gists_url":"https://api.github.com/users/vishalvijay/gists{/gist_id}","starred_url":"https://api.github.com/users/vishalvijay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishalvijay/subscriptions","organizations_url":"https://api.github.com/users/vishalvijay/orgs","repos_url":"https://api.github.com/users/vishalvijay/repos","events_url":"https://api.github.com/users/vishalvijay/events{/privacy}","received_events_url":"https://api.github.com/users/vishalvijay/received_events","type":"User","site_admin":false},"body":"Move `:id` to a constant and rename the value to `:rule_interface_out_identifier_id`","created_at":"2017-12-12T12:47:37Z","updated_at":"2017-12-12T12:51:02Z","html_url":"https://github.com/NestAway/rule-interface/pull/4#discussion_r156355883","pull_request_url":"https://api.github.com/repos/NestAway/rule-interface/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/NestAway/rule-interface/pulls/comments/156355883"},"html":{"href":"https://github.com/NestAway/rule-interface/pull/4#discussion_r156355883"},"pull_request":{"href":"https://api.github.com/repos/NestAway/rule-interface/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/NestAway/rule-interface/pulls/4","id":157817187,"html_url":"https://github.com/NestAway/rule-interface/pull/4","diff_url":"https://github.com/NestAway/rule-interface/pull/4.diff","patch_url":"https://github.com/NestAway/rule-interface/pull/4.patch","issue_url":"https://api.github.com/repos/NestAway/rule-interface/issues/4","number":4,"state":"open","locked":false,"title":"Make out_identifier id and namespace optional","user":{"login":"ranveernitk","id":18114095,"avatar_url":"https://avatars1.githubusercontent.com/u/18114095?v=4","gravatar_id":"","url":"https://api.github.com/users/ranveernitk","html_url":"https://github.com/ranveernitk","followers_url":"https://api.github.com/users/ranveernitk/followers","following_url":"https://api.github.com/users/ranveernitk/following{/other_user}","gists_url":"https://api.github.com/users/ranveernitk/gists{/gist_id}","starred_url":"https://api.github.com/users/ranveernitk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranveernitk/subscriptions","organizations_url":"https://api.github.com/users/ranveernitk/orgs","repos_url":"https://api.github.com/users/ranveernitk/repos","events_url":"https://api.github.com/users/ranveernitk/events{/privacy}","received_events_url":"https://api.github.com/users/ranveernitk/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-12T12:37:42Z","updated_at":"2017-12-12T12:51:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48d9d63488e93c77f633bb86167c70a8561951b9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/NestAway/rule-interface/pulls/4/commits","review_comments_url":"https://api.github.com/repos/NestAway/rule-interface/pulls/4/comments","review_comment_url":"https://api.github.com/repos/NestAway/rule-interface/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NestAway/rule-interface/issues/4/comments","statuses_url":"https://api.github.com/repos/NestAway/rule-interface/statuses/c318970a3c4621adf1fed6087ad084543eb94596","head":{"label":"NestAway:out_identifier_auto_id","ref":"out_identifier_auto_id","sha":"c318970a3c4621adf1fed6087ad084543eb94596","user":{"login":"NestAway","id":10415431,"avatar_url":"https://avatars3.githubusercontent.com/u/10415431?v=4","gravatar_id":"","url":"https://api.github.com/users/NestAway","html_url":"https://github.com/NestAway","followers_url":"https://api.github.com/users/NestAway/followers","following_url":"https://api.github.com/users/NestAway/following{/other_user}","gists_url":"https://api.github.com/users/NestAway/gists{/gist_id}","starred_url":"https://api.github.com/users/NestAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NestAway/subscriptions","organizations_url":"https://api.github.com/users/NestAway/orgs","repos_url":"https://api.github.com/users/NestAway/repos","events_url":"https://api.github.com/users/NestAway/events{/privacy}","received_events_url":"https://api.github.com/users/NestAway/received_events","type":"Organization","site_admin":false},"repo":{"id":111921876,"name":"rule-interface","full_name":"NestAway/rule-interface","owner":{"login":"NestAway","id":10415431,"avatar_url":"https://avatars3.githubusercontent.com/u/10415431?v=4","gravatar_id":"","url":"https://api.github.com/users/NestAway","html_url":"https://github.com/NestAway","followers_url":"https://api.github.com/users/NestAway/followers","following_url":"https://api.github.com/users/NestAway/following{/other_user}","gists_url":"https://api.github.com/users/NestAway/gists{/gist_id}","starred_url":"https://api.github.com/users/NestAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NestAway/subscriptions","organizations_url":"https://api.github.com/users/NestAway/orgs","repos_url":"https://api.github.com/users/NestAway/repos","events_url":"https://api.github.com/users/NestAway/events{/privacy}","received_events_url":"https://api.github.com/users/NestAway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NestAway/rule-interface","description":null,"fork":false,"url":"https://api.github.com/repos/NestAway/rule-interface","forks_url":"https://api.github.com/repos/NestAway/rule-interface/forks","keys_url":"https://api.github.com/repos/NestAway/rule-interface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NestAway/rule-interface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NestAway/rule-interface/teams","hooks_url":"https://api.github.com/repos/NestAway/rule-interface/hooks","issue_events_url":"https://api.github.com/repos/NestAway/rule-interface/issues/events{/number}","events_url":"https://api.github.com/repos/NestAway/rule-interface/events","assignees_url":"https://api.github.com/repos/NestAway/rule-interface/assignees{/user}","branches_url":"https://api.github.com/repos/NestAway/rule-interface/branches{/branch}","tags_url":"https://api.github.com/repos/NestAway/rule-interface/tags","blobs_url":"https://api.github.com/repos/NestAway/rule-interface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NestAway/rule-interface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NestAway/rule-interface/git/refs{/sha}","trees_url":"https://api.github.com/repos/NestAway/rule-interface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NestAway/rule-interface/statuses/{sha}","languages_url":"https://api.github.com/repos/NestAway/rule-interface/languages","stargazers_url":"https://api.github.com/repos/NestAway/rule-interface/stargazers","contributors_url":"https://api.github.com/repos/NestAway/rule-interface/contributors","subscribers_url":"https://api.github.com/repos/NestAway/rule-interface/subscribers","subscription_url":"https://api.github.com/repos/NestAway/rule-interface/subscription","commits_url":"https://api.github.com/repos/NestAway/rule-interface/commits{/sha}","git_commits_url":"https://api.github.com/repos/NestAway/rule-interface/git/commits{/sha}","comments_url":"https://api.github.com/repos/NestAway/rule-interface/comments{/number}","issue_comment_url":"https://api.github.com/repos/NestAway/rule-interface/issues/comments{/number}","contents_url":"https://api.github.com/repos/NestAway/rule-interface/contents/{+path}","compare_url":"https://api.github.com/repos/NestAway/rule-interface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NestAway/rule-interface/merges","archive_url":"https://api.github.com/repos/NestAway/rule-interface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NestAway/rule-interface/downloads","issues_url":"https://api.github.com/repos/NestAway/rule-interface/issues{/number}","pulls_url":"https://api.github.com/repos/NestAway/rule-interface/pulls{/number}","milestones_url":"https://api.github.com/repos/NestAway/rule-interface/milestones{/number}","notifications_url":"https://api.github.com/repos/NestAway/rule-interface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NestAway/rule-interface/labels{/name}","releases_url":"https://api.github.com/repos/NestAway/rule-interface/releases{/id}","deployments_url":"https://api.github.com/repos/NestAway/rule-interface/deployments","created_at":"2017-11-24T13:31:28Z","updated_at":"2017-11-29T13:25:18Z","pushed_at":"2017-12-12T12:37:42Z","git_url":"git://github.com/NestAway/rule-interface.git","ssh_url":"git@github.com:NestAway/rule-interface.git","clone_url":"https://github.com/NestAway/rule-interface.git","svn_url":"https://github.com/NestAway/rule-interface","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"NestAway:master","ref":"master","sha":"1dd3c99d1ba3692a6d7a214bf6769f3ab2c6b6ec","user":{"login":"NestAway","id":10415431,"avatar_url":"https://avatars3.githubusercontent.com/u/10415431?v=4","gravatar_id":"","url":"https://api.github.com/users/NestAway","html_url":"https://github.com/NestAway","followers_url":"https://api.github.com/users/NestAway/followers","following_url":"https://api.github.com/users/NestAway/following{/other_user}","gists_url":"https://api.github.com/users/NestAway/gists{/gist_id}","starred_url":"https://api.github.com/users/NestAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NestAway/subscriptions","organizations_url":"https://api.github.com/users/NestAway/orgs","repos_url":"https://api.github.com/users/NestAway/repos","events_url":"https://api.github.com/users/NestAway/events{/privacy}","received_events_url":"https://api.github.com/users/NestAway/received_events","type":"Organization","site_admin":false},"repo":{"id":111921876,"name":"rule-interface","full_name":"NestAway/rule-interface","owner":{"login":"NestAway","id":10415431,"avatar_url":"https://avatars3.githubusercontent.com/u/10415431?v=4","gravatar_id":"","url":"https://api.github.com/users/NestAway","html_url":"https://github.com/NestAway","followers_url":"https://api.github.com/users/NestAway/followers","following_url":"https://api.github.com/users/NestAway/following{/other_user}","gists_url":"https://api.github.com/users/NestAway/gists{/gist_id}","starred_url":"https://api.github.com/users/NestAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NestAway/subscriptions","organizations_url":"https://api.github.com/users/NestAway/orgs","repos_url":"https://api.github.com/users/NestAway/repos","events_url":"https://api.github.com/users/NestAway/events{/privacy}","received_events_url":"https://api.github.com/users/NestAway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NestAway/rule-interface","description":null,"fork":false,"url":"https://api.github.com/repos/NestAway/rule-interface","forks_url":"https://api.github.com/repos/NestAway/rule-interface/forks","keys_url":"https://api.github.com/repos/NestAway/rule-interface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NestAway/rule-interface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NestAway/rule-interface/teams","hooks_url":"https://api.github.com/repos/NestAway/rule-interface/hooks","issue_events_url":"https://api.github.com/repos/NestAway/rule-interface/issues/events{/number}","events_url":"https://api.github.com/repos/NestAway/rule-interface/events","assignees_url":"https://api.github.com/repos/NestAway/rule-interface/assignees{/user}","branches_url":"https://api.github.com/repos/NestAway/rule-interface/branches{/branch}","tags_url":"https://api.github.com/repos/NestAway/rule-interface/tags","blobs_url":"https://api.github.com/repos/NestAway/rule-interface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NestAway/rule-interface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NestAway/rule-interface/git/refs{/sha}","trees_url":"https://api.github.com/repos/NestAway/rule-interface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NestAway/rule-interface/statuses/{sha}","languages_url":"https://api.github.com/repos/NestAway/rule-interface/languages","stargazers_url":"https://api.github.com/repos/NestAway/rule-interface/stargazers","contributors_url":"https://api.github.com/repos/NestAway/rule-interface/contributors","subscribers_url":"https://api.github.com/repos/NestAway/rule-interface/subscribers","subscription_url":"https://api.github.com/repos/NestAway/rule-interface/subscription","commits_url":"https://api.github.com/repos/NestAway/rule-interface/commits{/sha}","git_commits_url":"https://api.github.com/repos/NestAway/rule-interface/git/commits{/sha}","comments_url":"https://api.github.com/repos/NestAway/rule-interface/comments{/number}","issue_comment_url":"https://api.github.com/repos/NestAway/rule-interface/issues/comments{/number}","contents_url":"https://api.github.com/repos/NestAway/rule-interface/contents/{+path}","compare_url":"https://api.github.com/repos/NestAway/rule-interface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NestAway/rule-interface/merges","archive_url":"https://api.github.com/repos/NestAway/rule-interface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NestAway/rule-interface/downloads","issues_url":"https://api.github.com/repos/NestAway/rule-interface/issues{/number}","pulls_url":"https://api.github.com/repos/NestAway/rule-interface/pulls{/number}","milestones_url":"https://api.github.com/repos/NestAway/rule-interface/milestones{/number}","notifications_url":"https://api.github.com/repos/NestAway/rule-interface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NestAway/rule-interface/labels{/name}","releases_url":"https://api.github.com/repos/NestAway/rule-interface/releases{/id}","deployments_url":"https://api.github.com/repos/NestAway/rule-interface/deployments","created_at":"2017-11-24T13:31:28Z","updated_at":"2017-11-29T13:25:18Z","pushed_at":"2017-12-12T12:37:42Z","git_url":"git://github.com/NestAway/rule-interface.git","ssh_url":"git@github.com:NestAway/rule-interface.git","clone_url":"https://github.com/NestAway/rule-interface.git","svn_url":"https://github.com/NestAway/rule-interface","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NestAway/rule-interface/pulls/4"},"html":{"href":"https://github.com/NestAway/rule-interface/pull/4"},"issue":{"href":"https://api.github.com/repos/NestAway/rule-interface/issues/4"},"comments":{"href":"https://api.github.com/repos/NestAway/rule-interface/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/NestAway/rule-interface/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/NestAway/rule-interface/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NestAway/rule-interface/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/NestAway/rule-interface/statuses/c318970a3c4621adf1fed6087ad084543eb94596"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vishalvijay"}}