{"action":"created","comment":{"url":"https://api.github.com/repos/open-policy-agent/opa/pulls/comments/201276982","pull_request_review_id":135744233,"id":201276982,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTI3Njk4Mg==","diff_hunk":"@@ -157,9 +162,8 @@ Set the output format with the --format flag.\n \tevalCommand.Flags().VarP(params.explain, \"explain\", \"\", \"enable query explainations\")\n \tevalCommand.Flags().VarP(params.outputFormat, \"format\", \"f\", \"set output format\")\n \tevalCommand.Flags().BoolVarP(&params.profile, \"profile\", \"\", false, \"perform expression profiling\")\n-\tevalCommand.Flags().BoolVarP(&params.profileTopResults, \"profile-top-results\", \"\", false, \"perform expression profiling and sort results as per some criteria\")\n-\tevalCommand.Flags().VarP(&params.profileTopResultsCriteria, \"profile-top-results-criteria\", \"\", \"criteria to sort the expression profiling results\")","path":"cmd/eval.go","position":null,"original_position":91,"commit_id":"beb5901989ef6685f68939c9066000f109ae1449","original_commit_id":"7b3a85ce64f80365cc1a26699cd1b6c2cbaf4da9","user":{"login":"ashutosh-narkar","id":3537328,"node_id":"MDQ6VXNlcjM1MzczMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3537328?v=4","gravatar_id":"","url":"https://api.github.com/users/ashutosh-narkar","html_url":"https://github.com/ashutosh-narkar","followers_url":"https://api.github.com/users/ashutosh-narkar/followers","following_url":"https://api.github.com/users/ashutosh-narkar/following{/other_user}","gists_url":"https://api.github.com/users/ashutosh-narkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashutosh-narkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashutosh-narkar/subscriptions","organizations_url":"https://api.github.com/users/ashutosh-narkar/orgs","repos_url":"https://api.github.com/users/ashutosh-narkar/repos","events_url":"https://api.github.com/users/ashutosh-narkar/events{/privacy}","received_events_url":"https://api.github.com/users/ashutosh-narkar/received_events","type":"User","site_admin":false},"body":"Default value set while flag initialization.","created_at":"2018-07-10T09:34:04Z","updated_at":"2018-07-10T09:34:04Z","html_url":"https://github.com/open-policy-agent/opa/pull/818#discussion_r201276982","pull_request_url":"https://api.github.com/repos/open-policy-agent/opa/pulls/818","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/open-policy-agent/opa/pulls/comments/201276982"},"html":{"href":"https://github.com/open-policy-agent/opa/pull/818#discussion_r201276982"},"pull_request":{"href":"https://api.github.com/repos/open-policy-agent/opa/pulls/818"}},"in_reply_to_id":201165073},"pull_request":{"url":"https://api.github.com/repos/open-policy-agent/opa/pulls/818","id":198884448,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4ODg0NDQ4","html_url":"https://github.com/open-policy-agent/opa/pull/818","diff_url":"https://github.com/open-policy-agent/opa/pull/818.diff","patch_url":"https://github.com/open-policy-agent/opa/pull/818.patch","issue_url":"https://api.github.com/repos/open-policy-agent/opa/issues/818","number":818,"state":"open","locked":false,"title":"Add profiler to OPA eval command","user":{"login":"ashutosh-narkar","id":3537328,"node_id":"MDQ6VXNlcjM1MzczMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3537328?v=4","gravatar_id":"","url":"https://api.github.com/users/ashutosh-narkar","html_url":"https://github.com/ashutosh-narkar","followers_url":"https://api.github.com/users/ashutosh-narkar/followers","following_url":"https://api.github.com/users/ashutosh-narkar/following{/other_user}","gists_url":"https://api.github.com/users/ashutosh-narkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashutosh-narkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashutosh-narkar/subscriptions","organizations_url":"https://api.github.com/users/ashutosh-narkar/orgs","repos_url":"https://api.github.com/users/ashutosh-narkar/repos","events_url":"https://api.github.com/users/ashutosh-narkar/events{/privacy}","received_events_url":"https://api.github.com/users/ashutosh-narkar/received_events","type":"User","site_admin":false},"body":"This pull request has changes to add the `profiler` to the `eval` command.\r\n\r\nThis PR depends on https://github.com/open-policy-agent/opa/pull/808 .\r\n\r\n\r\nSigned-off-by: Ashutosh Narkar <anarkar4387@gmail.com>","created_at":"2018-07-03T08:21:16Z","updated_at":"2018-07-10T09:34:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b1aed1f00404e5d61566dd4a7f20ac8842136f8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-policy-agent/opa/pulls/818/commits","review_comments_url":"https://api.github.com/repos/open-policy-agent/opa/pulls/818/comments","review_comment_url":"https://api.github.com/repos/open-policy-agent/opa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-policy-agent/opa/issues/818/comments","statuses_url":"https://api.github.com/repos/open-policy-agent/opa/statuses/beb5901989ef6685f68939c9066000f109ae1449","head":{"label":"ashutosh-narkar:add-profiler-to-eval","ref":"add-profiler-to-eval","sha":"beb5901989ef6685f68939c9066000f109ae1449","user":{"login":"ashutosh-narkar","id":3537328,"node_id":"MDQ6VXNlcjM1MzczMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3537328?v=4","gravatar_id":"","url":"https://api.github.com/users/ashutosh-narkar","html_url":"https://github.com/ashutosh-narkar","followers_url":"https://api.github.com/users/ashutosh-narkar/followers","following_url":"https://api.github.com/users/ashutosh-narkar/following{/other_user}","gists_url":"https://api.github.com/users/ashutosh-narkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashutosh-narkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashutosh-narkar/subscriptions","organizations_url":"https://api.github.com/users/ashutosh-narkar/orgs","repos_url":"https://api.github.com/users/ashutosh-narkar/repos","events_url":"https://api.github.com/users/ashutosh-narkar/events{/privacy}","received_events_url":"https://api.github.com/users/ashutosh-narkar/received_events","type":"User","site_admin":false},"repo":{"id":117746158,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc3NDYxNTg=","name":"opa","full_name":"ashutosh-narkar/opa","owner":{"login":"ashutosh-narkar","id":3537328,"node_id":"MDQ6VXNlcjM1MzczMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3537328?v=4","gravatar_id":"","url":"https://api.github.com/users/ashutosh-narkar","html_url":"https://github.com/ashutosh-narkar","followers_url":"https://api.github.com/users/ashutosh-narkar/followers","following_url":"https://api.github.com/users/ashutosh-narkar/following{/other_user}","gists_url":"https://api.github.com/users/ashutosh-narkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashutosh-narkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashutosh-narkar/subscriptions","organizations_url":"https://api.github.com/users/ashutosh-narkar/orgs","repos_url":"https://api.github.com/users/ashutosh-narkar/repos","events_url":"https://api.github.com/users/ashutosh-narkar/events{/privacy}","received_events_url":"https://api.github.com/users/ashutosh-narkar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashutosh-narkar/opa","description":"An open source project to policy-enable your service.","fork":true,"url":"https://api.github.com/repos/ashutosh-narkar/opa","forks_url":"https://api.github.com/repos/ashutosh-narkar/opa/forks","keys_url":"https://api.github.com/repos/ashutosh-narkar/opa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashutosh-narkar/opa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashutosh-narkar/opa/teams","hooks_url":"https://api.github.com/repos/ashutosh-narkar/opa/hooks","issue_events_url":"https://api.github.com/repos/ashutosh-narkar/opa/issues/events{/number}","events_url":"https://api.github.com/repos/ashutosh-narkar/opa/events","assignees_url":"https://api.github.com/repos/ashutosh-narkar/opa/assignees{/user}","branches_url":"https://api.github.com/repos/ashutosh-narkar/opa/branches{/branch}","tags_url":"https://api.github.com/repos/ashutosh-narkar/opa/tags","blobs_url":"https://api.github.com/repos/ashutosh-narkar/opa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashutosh-narkar/opa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashutosh-narkar/opa/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashutosh-narkar/opa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashutosh-narkar/opa/statuses/{sha}","languages_url":"https://api.github.com/repos/ashutosh-narkar/opa/languages","stargazers_url":"https://api.github.com/repos/ashutosh-narkar/opa/stargazers","contributors_url":"https://api.github.com/repos/ashutosh-narkar/opa/contributors","subscribers_url":"https://api.github.com/repos/ashutosh-narkar/opa/subscribers","subscription_url":"https://api.github.com/repos/ashutosh-narkar/opa/subscription","commits_url":"https://api.github.com/repos/ashutosh-narkar/opa/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashutosh-narkar/opa/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashutosh-narkar/opa/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashutosh-narkar/opa/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashutosh-narkar/opa/contents/{+path}","compare_url":"https://api.github.com/repos/ashutosh-narkar/opa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashutosh-narkar/opa/merges","archive_url":"https://api.github.com/repos/ashutosh-narkar/opa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashutosh-narkar/opa/downloads","issues_url":"https://api.github.com/repos/ashutosh-narkar/opa/issues{/number}","pulls_url":"https://api.github.com/repos/ashutosh-narkar/opa/pulls{/number}","milestones_url":"https://api.github.com/repos/ashutosh-narkar/opa/milestones{/number}","notifications_url":"https://api.github.com/repos/ashutosh-narkar/opa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashutosh-narkar/opa/labels{/name}","releases_url":"https://api.github.com/repos/ashutosh-narkar/opa/releases{/id}","deployments_url":"https://api.github.com/repos/ashutosh-narkar/opa/deployments","created_at":"2018-01-16T21:45:27Z","updated_at":"2018-04-23T04:45:01Z","pushed_at":"2018-07-10T09:33:44Z","git_url":"git://github.com/ashutosh-narkar/opa.git","ssh_url":"git@github.com:ashutosh-narkar/opa.git","clone_url":"https://github.com/ashutosh-narkar/opa.git","svn_url":"https://github.com/ashutosh-narkar/opa","homepage":"http://openpolicyagent.org","size":33979,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"open-policy-agent:master","ref":"master","sha":"1d601cd35a995a046e737bc470c217afa4f3b4fe","user":{"login":"open-policy-agent","id":16468693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/16468693?v=4","gravatar_id":"","url":"https://api.github.com/users/open-policy-agent","html_url":"https://github.com/open-policy-agent","followers_url":"https://api.github.com/users/open-policy-agent/followers","following_url":"https://api.github.com/users/open-policy-agent/following{/other_user}","gists_url":"https://api.github.com/users/open-policy-agent/gists{/gist_id}","starred_url":"https://api.github.com/users/open-policy-agent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-policy-agent/subscriptions","organizations_url":"https://api.github.com/users/open-policy-agent/orgs","repos_url":"https://api.github.com/users/open-policy-agent/repos","events_url":"https://api.github.com/users/open-policy-agent/events{/privacy}","received_events_url":"https://api.github.com/users/open-policy-agent/received_events","type":"Organization","site_admin":false},"repo":{"id":48714685,"node_id":"MDEwOlJlcG9zaXRvcnk0ODcxNDY4NQ==","name":"opa","full_name":"open-policy-agent/opa","owner":{"login":"open-policy-agent","id":16468693,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDY4Njkz","avatar_url":"https://avatars3.githubusercontent.com/u/16468693?v=4","gravatar_id":"","url":"https://api.github.com/users/open-policy-agent","html_url":"https://github.com/open-policy-agent","followers_url":"https://api.github.com/users/open-policy-agent/followers","following_url":"https://api.github.com/users/open-policy-agent/following{/other_user}","gists_url":"https://api.github.com/users/open-policy-agent/gists{/gist_id}","starred_url":"https://api.github.com/users/open-policy-agent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-policy-agent/subscriptions","organizations_url":"https://api.github.com/users/open-policy-agent/orgs","repos_url":"https://api.github.com/users/open-policy-agent/repos","events_url":"https://api.github.com/users/open-policy-agent/events{/privacy}","received_events_url":"https://api.github.com/users/open-policy-agent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-policy-agent/opa","description":"An open source, general-purpose policy engine.","fork":false,"url":"https://api.github.com/repos/open-policy-agent/opa","forks_url":"https://api.github.com/repos/open-policy-agent/opa/forks","keys_url":"https://api.github.com/repos/open-policy-agent/opa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-policy-agent/opa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-policy-agent/opa/teams","hooks_url":"https://api.github.com/repos/open-policy-agent/opa/hooks","issue_events_url":"https://api.github.com/repos/open-policy-agent/opa/issues/events{/number}","events_url":"https://api.github.com/repos/open-policy-agent/opa/events","assignees_url":"https://api.github.com/repos/open-policy-agent/opa/assignees{/user}","branches_url":"https://api.github.com/repos/open-policy-agent/opa/branches{/branch}","tags_url":"https://api.github.com/repos/open-policy-agent/opa/tags","blobs_url":"https://api.github.com/repos/open-policy-agent/opa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-policy-agent/opa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-policy-agent/opa/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-policy-agent/opa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-policy-agent/opa/statuses/{sha}","languages_url":"https://api.github.com/repos/open-policy-agent/opa/languages","stargazers_url":"https://api.github.com/repos/open-policy-agent/opa/stargazers","contributors_url":"https://api.github.com/repos/open-policy-agent/opa/contributors","subscribers_url":"https://api.github.com/repos/open-policy-agent/opa/subscribers","subscription_url":"https://api.github.com/repos/open-policy-agent/opa/subscription","commits_url":"https://api.github.com/repos/open-policy-agent/opa/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-policy-agent/opa/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-policy-agent/opa/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-policy-agent/opa/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-policy-agent/opa/contents/{+path}","compare_url":"https://api.github.com/repos/open-policy-agent/opa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-policy-agent/opa/merges","archive_url":"https://api.github.com/repos/open-policy-agent/opa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-policy-agent/opa/downloads","issues_url":"https://api.github.com/repos/open-policy-agent/opa/issues{/number}","pulls_url":"https://api.github.com/repos/open-policy-agent/opa/pulls{/number}","milestones_url":"https://api.github.com/repos/open-policy-agent/opa/milestones{/number}","notifications_url":"https://api.github.com/repos/open-policy-agent/opa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-policy-agent/opa/labels{/name}","releases_url":"https://api.github.com/repos/open-policy-agent/opa/releases{/id}","deployments_url":"https://api.github.com/repos/open-policy-agent/opa/deployments","created_at":"2015-12-28T22:08:25Z","updated_at":"2018-07-10T03:15:17Z","pushed_at":"2018-07-10T09:33:46Z","git_url":"git://github.com/open-policy-agent/opa.git","ssh_url":"git@github.com:open-policy-agent/opa.git","clone_url":"https://github.com/open-policy-agent/opa.git","svn_url":"https://github.com/open-policy-agent/opa","homepage":"https://www.openpolicyagent.org","size":34302,"stargazers_count":1339,"watchers_count":1339,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":81,"mirror_url":null,"archived":false,"open_issues_count":61,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":81,"open_issues":61,"watchers":1339,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-policy-agent/opa/pulls/818"},"html":{"href":"https://github.com/open-policy-agent/opa/pull/818"},"issue":{"href":"https://api.github.com/repos/open-policy-agent/opa/issues/818"},"comments":{"href":"https://api.github.com/repos/open-policy-agent/opa/issues/818/comments"},"review_comments":{"href":"https://api.github.com/repos/open-policy-agent/opa/pulls/818/comments"},"review_comment":{"href":"https://api.github.com/repos/open-policy-agent/opa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-policy-agent/opa/pulls/818/commits"},"statuses":{"href":"https://api.github.com/repos/open-policy-agent/opa/statuses/beb5901989ef6685f68939c9066000f109ae1449"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ashutosh-narkar"}}