{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc-java/issues/4902","repository_url":"https://api.github.com/repos/grpc/grpc-java","labels_url":"https://api.github.com/repos/grpc/grpc-java/issues/4902/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc-java/issues/4902/comments","events_url":"https://api.github.com/repos/grpc/grpc-java/issues/4902/events","html_url":"https://github.com/grpc/grpc-java/pull/4902","id":366131270,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5ODg1MDg1","number":4902,"title":"core: add CallCredentials2 and deprecate CallCredentials' old interface","user":{"login":"zhangkun83","id":9053690,"node_id":"MDQ6VXNlcjkwNTM2OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/9053690?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangkun83","html_url":"https://github.com/zhangkun83","followers_url":"https://api.github.com/users/zhangkun83/followers","following_url":"https://api.github.com/users/zhangkun83/following{/other_user}","gists_url":"https://api.github.com/users/zhangkun83/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangkun83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangkun83/subscriptions","organizations_url":"https://api.github.com/users/zhangkun83/orgs","repos_url":"https://api.github.com/users/zhangkun83/repos","events_url":"https://api.github.com/users/zhangkun83/events{/privacy}","received_events_url":"https://api.github.com/users/zhangkun83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-03T00:39:30Z","updated_at":"2018-10-05T21:16:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/grpc/grpc-java/pulls/4902","html_url":"https://github.com/grpc/grpc-java/pull/4902","diff_url":"https://github.com/grpc/grpc-java/pull/4902.diff","patch_url":"https://github.com/grpc/grpc-java/pull/4902.patch"},"body":"This is the first step of introducing the 2nd edition of CallCredentials API (#4901)\r\n\r\nSecurity level and authority are parameters required to be passed to\r\napplyRequestMetadata(). This change wraps them, along with\r\nMethodDescriptor and the transport attributes to RequestInfo, which is\r\nmore clear to the implementers.\r\n\r\nATTR_SECURITY_LEVEL is moved to the internal GrpcAttributes and\r\nannotated as TransportAttr, because transports are required to set it,\r\nbut no user is actually reading them from\r\n{Client,Server}Call.getAttributes().\r\n\r\nATTR_AUTHORITY is removed, because no transport is overriding it.\r\n\r\nAll involved interfaces are changed to abstract classes, as this will\r\nmake further API changes smoother.\r\n"},"comment":{"url":"https://api.github.com/repos/grpc/grpc-java/issues/comments/427501102","html_url":"https://github.com/grpc/grpc-java/pull/4902#issuecomment-427501102","issue_url":"https://api.github.com/repos/grpc/grpc-java/issues/4902","id":427501102,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzUwMTEwMg==","user":{"login":"igorbernstein2","id":23526194,"node_id":"MDQ6VXNlcjIzNTI2MTk0","avatar_url":"https://avatars3.githubusercontent.com/u/23526194?v=4","gravatar_id":"","url":"https://api.github.com/users/igorbernstein2","html_url":"https://github.com/igorbernstein2","followers_url":"https://api.github.com/users/igorbernstein2/followers","following_url":"https://api.github.com/users/igorbernstein2/following{/other_user}","gists_url":"https://api.github.com/users/igorbernstein2/gists{/gist_id}","starred_url":"https://api.github.com/users/igorbernstein2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorbernstein2/subscriptions","organizations_url":"https://api.github.com/users/igorbernstein2/orgs","repos_url":"https://api.github.com/users/igorbernstein2/repos","events_url":"https://api.github.com/users/igorbernstein2/events{/privacy}","received_events_url":"https://api.github.com/users/igorbernstein2/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T21:16:31Z","updated_at":"2018-10-05T21:16:31Z","author_association":"NONE","body":"@carl-mastrangelo I apologize for being dense, but can you clarify what you mean by “the grpc Context is available”? If I’m not mistaken,  the deadline needs to be available inside applyRequestMetadata so that it can be passed to the credentials.\r\n\r\nThanks"}}
{"actor":{"display_login":"igorbernstein2"}}