payload: {"action":"created","issue":{"url":"https://api.github.com/repos/codeready-toolchain/registration-service/issues/27","repository_url":"https://api.github.com/repos/codeready-toolchain/registration-service","labels_url":"https://api.github.com/repos/codeready-toolchain/registration-service/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/codeready-toolchain/registration-service/issues/27/comments","events_url":"https://api.github.com/repos/codeready-toolchain/registration-service/issues/27/events","html_url":"https://github.com/codeready-toolchain/registration-service/pull/27","id":495812023,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5Mjg3NDk2","number":27,"title":"Key and Token Manager","user":{"login":"michaelkleinhenz","id":7101098,"node_id":"MDQ6VXNlcjcxMDEwOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/7101098?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelkleinhenz","html_url":"https://github.com/michaelkleinhenz","followers_url":"https://api.github.com/users/michaelkleinhenz/followers","following_url":"https://api.github.com/users/michaelkleinhenz/following{/other_user}","gists_url":"https://api.github.com/users/michaelkleinhenz/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkleinhenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkleinhenz/subscriptions","organizations_url":"https://api.github.com/users/michaelkleinhenz/orgs","repos_url":"https://api.github.com/users/michaelkleinhenz/repos","events_url":"https://api.github.com/users/michaelkleinhenz/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkleinhenz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-09-19T13:48:46Z","updated_at":"2019-09-20T11:29:08Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/codeready-toolchain/registration-service/pulls/27","html_url":"https://github.com/codeready-toolchain/registration-service/pull/27","diff_url":"https://github.com/codeready-toolchain/registration-service/pull/27.diff","patch_url":"https://github.com/codeready-toolchain/registration-service/pull/27.patch"},"body":"This adds the Key and Token management with 3 components and associated tests:\r\n\r\n- `testutils.TokenManager` is a test utility that can create JWK keys and JWT tokens. It also provides a fake http key service mocking a keycloak key service.\r\n- `auth.KeyManager` fetches, parses, stores and provides the JWK keys pulled from a keycloak key service. This is used by other components for getting public keys for token validation. This is currently mainly used by `auth.TokenParser` to validate signed JWT tokens.\r\n- `auth.TokenParser` parses JWK tokens, validates them and provides the claims to calling components. This is the actual component that will be used by the gin middleware in #28 to verify an incoming token."},"comment":{"url":"https://api.github.com/repos/codeready-toolchain/registration-service/issues/comments/533515820","html_url":"https://github.com/codeready-toolchain/registration-service/pull/27#issuecomment-533515820","issue_url":"https://api.github.com/repos/codeready-toolchain/registration-service/issues/27","id":533515820,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMzUxNTgyMA==","user":{"login":"xcoulon","id":178502,"node_id":"MDQ6VXNlcjE3ODUwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/178502?v=4","gravatar_id":"","url":"https://api.github.com/users/xcoulon","html_url":"https://github.com/xcoulon","followers_url":"https://api.github.com/users/xcoulon/followers","following_url":"https://api.github.com/users/xcoulon/following{/other_user}","gists_url":"https://api.github.com/users/xcoulon/gists{/gist_id}","starred_url":"https://api.github.com/users/xcoulon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcoulon/subscriptions","organizations_url":"https://api.github.com/users/xcoulon/orgs","repos_url":"https://api.github.com/users/xcoulon/repos","events_url":"https://api.github.com/users/xcoulon/events{/privacy}","received_events_url":"https://api.github.com/users/xcoulon/received_events","type":"User","site_admin":false},"created_at":"2019-09-20T11:29:08Z","updated_at":"2019-09-20T11:29:08Z","author_association":"CONTRIBUTOR","body":"also, coverage drops by 4%. Is there any block of code that is not tested in this PR (besides the usual error checks)?"}}
other: {"actor":{"display_login":"xcoulon"}}