{"action":"created","comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments/67306110","id":67306110,"diff_hunk":"@@ -37,6 +42,7 @@ import whisk.core.entity.Subject\n import whisk.http.ErrorResponse\n import scala.language.postfixOps\n import whisk.common.LoggingMarkers\n+import whisk.common.Scheduler","path":"core/controller/src/whisk/core/entitlement/Entitlement.scala","position":28,"original_position":28,"commit_id":"3bc401f43d2fd15965ecdb73b4714b0095be98be","original_commit_id":"3bc401f43d2fd15965ecdb73b4714b0095be98be","user":{"login":"markusthoemmes","id":1289147,"avatar_url":"https://avatars.githubusercontent.com/u/1289147?v=3","gravatar_id":"","url":"https://api.github.com/users/markusthoemmes","html_url":"https://github.com/markusthoemmes","followers_url":"https://api.github.com/users/markusthoemmes/followers","following_url":"https://api.github.com/users/markusthoemmes/following{/other_user}","gists_url":"https://api.github.com/users/markusthoemmes/gists{/gist_id}","starred_url":"https://api.github.com/users/markusthoemmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusthoemmes/subscriptions","organizations_url":"https://api.github.com/users/markusthoemmes/orgs","repos_url":"https://api.github.com/users/markusthoemmes/repos","events_url":"https://api.github.com/users/markusthoemmes/events{/privacy}","received_events_url":"https://api.github.com/users/markusthoemmes/received_events","type":"User","site_admin":false},"body":"Reorg imports?","created_at":"2016-06-16T08:32:43Z","updated_at":"2016-06-16T08:32:43Z","html_url":"https://github.com/openwhisk/openwhisk/pull/670#discussion_r67306110","pull_request_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670","_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments/67306110"},"html":{"href":"https://github.com/openwhisk/openwhisk/pull/670#discussion_r67306110"},"pull_request":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670"}}},"pull_request":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670","id":74018243,"html_url":"https://github.com/openwhisk/openwhisk/pull/670","diff_url":"https://github.com/openwhisk/openwhisk/pull/670.diff","patch_url":"https://github.com/openwhisk/openwhisk/pull/670.patch","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/670","number":670,"state":"open","locked":false,"title":"[Ready] Replaced ConsulKV by ConsulClient in Entitlement","user":{"login":"psuter","id":245547,"avatar_url":"https://avatars.githubusercontent.com/u/245547?v=3","gravatar_id":"","url":"https://api.github.com/users/psuter","html_url":"https://github.com/psuter","followers_url":"https://api.github.com/users/psuter/followers","following_url":"https://api.github.com/users/psuter/following{/other_user}","gists_url":"https://api.github.com/users/psuter/gists{/gist_id}","starred_url":"https://api.github.com/users/psuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psuter/subscriptions","organizations_url":"https://api.github.com/users/psuter/orgs","repos_url":"https://api.github.com/users/psuter/repos","events_url":"https://api.github.com/users/psuter/events{/privacy}","received_events_url":"https://api.github.com/users/psuter/received_events","type":"User","site_admin":false},"body":"Also replaces the infinite-polling thread by a `Scheduler`-produced actor.\r\n\r\nOther assorted changes, such as pushing `ActorContext` implicit arguments throughout the system, and removing implicit `ExecutionContext` args when it can be obtained from the `ActorSystem`.\r\n\r\nAfter this change, there is still a use of `ConsulKV` in `Config`, but it's once, at construction time only. (There are other uses in the invoker, still.)\r\n\r\nThis mimics the work done in 349da264f7b9def36b0d7dc189ad7170082e8dc1.","created_at":"2016-06-16T03:44:53Z","updated_at":"2016-06-16T08:32:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"136b205d62006b0956a2b01e6251d2f932b29c8c","assignee":{"login":"markusthoemmes","id":1289147,"avatar_url":"https://avatars.githubusercontent.com/u/1289147?v=3","gravatar_id":"","url":"https://api.github.com/users/markusthoemmes","html_url":"https://github.com/markusthoemmes","followers_url":"https://api.github.com/users/markusthoemmes/followers","following_url":"https://api.github.com/users/markusthoemmes/following{/other_user}","gists_url":"https://api.github.com/users/markusthoemmes/gists{/gist_id}","starred_url":"https://api.github.com/users/markusthoemmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusthoemmes/subscriptions","organizations_url":"https://api.github.com/users/markusthoemmes/orgs","repos_url":"https://api.github.com/users/markusthoemmes/repos","events_url":"https://api.github.com/users/markusthoemmes/events{/privacy}","received_events_url":"https://api.github.com/users/markusthoemmes/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670/commits","review_comments_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670/comments","review_comment_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/670/comments","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk/statuses/3bc401f43d2fd15965ecdb73b4714b0095be98be","head":{"label":"psuter:consulclient-entitlement","ref":"consulclient-entitlement","sha":"3bc401f43d2fd15965ecdb73b4714b0095be98be","user":{"login":"psuter","id":245547,"avatar_url":"https://avatars.githubusercontent.com/u/245547?v=3","gravatar_id":"","url":"https://api.github.com/users/psuter","html_url":"https://github.com/psuter","followers_url":"https://api.github.com/users/psuter/followers","following_url":"https://api.github.com/users/psuter/following{/other_user}","gists_url":"https://api.github.com/users/psuter/gists{/gist_id}","starred_url":"https://api.github.com/users/psuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psuter/subscriptions","organizations_url":"https://api.github.com/users/psuter/orgs","repos_url":"https://api.github.com/users/psuter/repos","events_url":"https://api.github.com/users/psuter/events{/privacy}","received_events_url":"https://api.github.com/users/psuter/received_events","type":"User","site_admin":false},"repo":{"id":52305262,"name":"openwhisk","full_name":"psuter/openwhisk","owner":{"login":"psuter","id":245547,"avatar_url":"https://avatars.githubusercontent.com/u/245547?v=3","gravatar_id":"","url":"https://api.github.com/users/psuter","html_url":"https://github.com/psuter","followers_url":"https://api.github.com/users/psuter/followers","following_url":"https://api.github.com/users/psuter/following{/other_user}","gists_url":"https://api.github.com/users/psuter/gists{/gist_id}","starred_url":"https://api.github.com/users/psuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psuter/subscriptions","organizations_url":"https://api.github.com/users/psuter/orgs","repos_url":"https://api.github.com/users/psuter/repos","events_url":"https://api.github.com/users/psuter/events{/privacy}","received_events_url":"https://api.github.com/users/psuter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psuter/openwhisk","description":"OpenWhisk is a cloud-first distributed event-based programming service.","fork":true,"url":"https://api.github.com/repos/psuter/openwhisk","forks_url":"https://api.github.com/repos/psuter/openwhisk/forks","keys_url":"https://api.github.com/repos/psuter/openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psuter/openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psuter/openwhisk/teams","hooks_url":"https://api.github.com/repos/psuter/openwhisk/hooks","issue_events_url":"https://api.github.com/repos/psuter/openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/psuter/openwhisk/events","assignees_url":"https://api.github.com/repos/psuter/openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/psuter/openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/psuter/openwhisk/tags","blobs_url":"https://api.github.com/repos/psuter/openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psuter/openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psuter/openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/psuter/openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psuter/openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/psuter/openwhisk/languages","stargazers_url":"https://api.github.com/repos/psuter/openwhisk/stargazers","contributors_url":"https://api.github.com/repos/psuter/openwhisk/contributors","subscribers_url":"https://api.github.com/repos/psuter/openwhisk/subscribers","subscription_url":"https://api.github.com/repos/psuter/openwhisk/subscription","commits_url":"https://api.github.com/repos/psuter/openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/psuter/openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/psuter/openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/psuter/openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/psuter/openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/psuter/openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psuter/openwhisk/merges","archive_url":"https://api.github.com/repos/psuter/openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psuter/openwhisk/downloads","issues_url":"https://api.github.com/repos/psuter/openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/psuter/openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/psuter/openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/psuter/openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psuter/openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/psuter/openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/psuter/openwhisk/deployments","created_at":"2016-02-22T20:58:57Z","updated_at":"2016-02-22T20:58:58Z","pushed_at":"2016-06-16T03:41:28Z","git_url":"git://github.com/psuter/openwhisk.git","ssh_url":"git@github.com:psuter/openwhisk.git","clone_url":"https://github.com/psuter/openwhisk.git","svn_url":"https://github.com/psuter/openwhisk","homepage":"","size":41237,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"openwhisk:master","ref":"master","sha":"6cc35eeab930d163071309b287217b02745f2e52","user":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"repo":{"id":52039373,"name":"openwhisk","full_name":"openwhisk/openwhisk","owner":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwhisk/openwhisk","description":"OpenWhisk is a cloud-first distributed event-based programming service.","fork":false,"url":"https://api.github.com/repos/openwhisk/openwhisk","forks_url":"https://api.github.com/repos/openwhisk/openwhisk/forks","keys_url":"https://api.github.com/repos/openwhisk/openwhisk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwhisk/openwhisk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwhisk/openwhisk/teams","hooks_url":"https://api.github.com/repos/openwhisk/openwhisk/hooks","issue_events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/events{/number}","events_url":"https://api.github.com/repos/openwhisk/openwhisk/events","assignees_url":"https://api.github.com/repos/openwhisk/openwhisk/assignees{/user}","branches_url":"https://api.github.com/repos/openwhisk/openwhisk/branches{/branch}","tags_url":"https://api.github.com/repos/openwhisk/openwhisk/tags","blobs_url":"https://api.github.com/repos/openwhisk/openwhisk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwhisk/openwhisk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwhisk/openwhisk/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwhisk/openwhisk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwhisk/openwhisk/statuses/{sha}","languages_url":"https://api.github.com/repos/openwhisk/openwhisk/languages","stargazers_url":"https://api.github.com/repos/openwhisk/openwhisk/stargazers","contributors_url":"https://api.github.com/repos/openwhisk/openwhisk/contributors","subscribers_url":"https://api.github.com/repos/openwhisk/openwhisk/subscribers","subscription_url":"https://api.github.com/repos/openwhisk/openwhisk/subscription","commits_url":"https://api.github.com/repos/openwhisk/openwhisk/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwhisk/openwhisk/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwhisk/openwhisk/contents/{+path}","compare_url":"https://api.github.com/repos/openwhisk/openwhisk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwhisk/openwhisk/merges","archive_url":"https://api.github.com/repos/openwhisk/openwhisk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwhisk/openwhisk/downloads","issues_url":"https://api.github.com/repos/openwhisk/openwhisk/issues{/number}","pulls_url":"https://api.github.com/repos/openwhisk/openwhisk/pulls{/number}","milestones_url":"https://api.github.com/repos/openwhisk/openwhisk/milestones{/number}","notifications_url":"https://api.github.com/repos/openwhisk/openwhisk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/labels{/name}","releases_url":"https://api.github.com/repos/openwhisk/openwhisk/releases{/id}","deployments_url":"https://api.github.com/repos/openwhisk/openwhisk/deployments","created_at":"2016-02-18T21:16:19Z","updated_at":"2016-06-14T16:10:29Z","pushed_at":"2016-06-16T07:30:06Z","git_url":"git://github.com/openwhisk/openwhisk.git","ssh_url":"git@github.com:openwhisk/openwhisk.git","clone_url":"https://github.com/openwhisk/openwhisk.git","svn_url":"https://github.com/openwhisk/openwhisk","homepage":"","size":42023,"stargazers_count":315,"watchers_count":315,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":103,"mirror_url":null,"open_issues_count":229,"forks":103,"open_issues":229,"watchers":315,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670"},"html":{"href":"https://github.com/openwhisk/openwhisk/pull/670"},"issue":{"href":"https://api.github.com/repos/openwhisk/openwhisk/issues/670"},"comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwhisk/openwhisk/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/openwhisk/openwhisk/statuses/3bc401f43d2fd15965ecdb73b4714b0095be98be"}}}}
{"actor":{"display_login":"markusthoemmes"}}