{"action":"created","issue":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/485","repository_url":"https://api.github.com/repos/openwhisk/openwhisk","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/485/comments","events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/485/events","html_url":"https://github.com/openwhisk/openwhisk/pull/485","id":156069760,"number":485,"title":"Refactored ActivationThrottle to use ConsulClient","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-20T23:39:39Z","updated_at":"2016-05-24T20:27:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openwhisk/openwhisk/pulls/485","html_url":"https://github.com/openwhisk/openwhisk/pull/485","diff_url":"https://github.com/openwhisk/openwhisk/pull/485.diff","patch_url":"https://github.com/openwhisk/openwhisk/pull/485.patch"},"body":"Forgot that one in my last refactoring session\r\n\r\n@perryibm should review aswell, although travis and PPG517 + PPG518 are green i'm a bit sensible with this change.\r\n\r\n**Note:** Kept the handling of the kv queries and formatting locally as it was before. We should really implement a wrapper around `ConsulClient` that abstracts all of this away and gives clients a nicer interface to use for common queries to key value stores. The method to combine the partitioned user activation maps for loadbalancer and invokers are good candidates for example.\r\n\r\n**Note 2:** The scheduler pattern I used to replace the Threads should probably implement a pattern to be safe against jobs interfering with each other as shown here http://stackoverflow.com/a/31658345/3269863 (edit: **Done**)"},"comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments/221391351","html_url":"https://github.com/openwhisk/openwhisk/pull/485#issuecomment-221391351","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/485","id":221391351,"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},"created_at":"2016-05-24T20:27:26Z","updated_at":"2016-05-24T20:27:26Z","body":"Tests added, done for review."}}
{"actor":{"display_login":"markusthoemmes"}}