{"action":"reopened","number":4101,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-airflow/pulls/4101","id":226167097,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MTY3MDk3","html_url":"https://github.com/apache/incubator-airflow/pull/4101","diff_url":"https://github.com/apache/incubator-airflow/pull/4101.diff","patch_url":"https://github.com/apache/incubator-airflow/pull/4101.patch","issue_url":"https://api.github.com/repos/apache/incubator-airflow/issues/4101","number":4101,"state":"open","locked":false,"title":"[AIRFLOW-3272] Add base grpc hook","user":{"login":"morgendave","id":11638842,"node_id":"MDQ6VXNlcjExNjM4ODQy","avatar_url":"https://avatars1.githubusercontent.com/u/11638842?v=4","gravatar_id":"","url":"https://api.github.com/users/morgendave","html_url":"https://github.com/morgendave","followers_url":"https://api.github.com/users/morgendave/followers","following_url":"https://api.github.com/users/morgendave/following{/other_user}","gists_url":"https://api.github.com/users/morgendave/gists{/gist_id}","starred_url":"https://api.github.com/users/morgendave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgendave/subscriptions","organizations_url":"https://api.github.com/users/morgendave/orgs","repos_url":"https://api.github.com/users/morgendave/repos","events_url":"https://api.github.com/users/morgendave/events{/privacy}","received_events_url":"https://api.github.com/users/morgendave/received_events","type":"User","site_admin":false},"body":"Make sure you have checked all steps below.\r\n\r\nJira\r\n  My PR addresses the following Airflow Jira issues and references them in the PR title. For example, \"[AIRFLOW-3272] My Airflow PR\"\r\nhttps://issues.apache.org/jira/browse/AIRFLOW-3272\r\nDescription\r\n  Add support for gRPC connection in airflow. \r\n\r\nIn Airflow there are use cases of calling gPRC services, so instead of each time create the channel in a PythonOperator, there should be a basic GrpcHook to take care of it. The hook needs to take care of the authentication.\r\n\r\nTests\r\n  My PR adds the following unit tests OR does not need testing for this extremely good reason:\r\nCommits\r\n  My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from \"How to write a good git commit message\":\r\nSubject is separated from body by a blank line\r\nSubject is limited to 50 characters (not including Jira issue reference)\r\nSubject does not end with a period\r\nSubject uses the imperative mood (\"add\", not \"adding\")\r\nBody wraps at 72 characters\r\nBody explains \"what\" and \"why\", not \"how\"\r\nDocumentation\r\n  In case of new functionality, my PR adds documentation that describes how to use it.\r\nWhen adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.\r\nCode Quality\r\n  Passes flake8","created_at":"2018-10-26T17:10:44Z","updated_at":"2018-11-05T22:10:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9b4d25c9df5c5f798af576905abd322157d24ba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/4101/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/4101/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/issues/4101/comments","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/674f5e22e7b17ae03946797b9afc5c8f6dde186d","head":{"label":"morgendave:add-grpc-hook","ref":"add-grpc-hook","sha":"674f5e22e7b17ae03946797b9afc5c8f6dde186d","user":{"login":"morgendave","id":11638842,"node_id":"MDQ6VXNlcjExNjM4ODQy","avatar_url":"https://avatars1.githubusercontent.com/u/11638842?v=4","gravatar_id":"","url":"https://api.github.com/users/morgendave","html_url":"https://github.com/morgendave","followers_url":"https://api.github.com/users/morgendave/followers","following_url":"https://api.github.com/users/morgendave/following{/other_user}","gists_url":"https://api.github.com/users/morgendave/gists{/gist_id}","starred_url":"https://api.github.com/users/morgendave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgendave/subscriptions","organizations_url":"https://api.github.com/users/morgendave/orgs","repos_url":"https://api.github.com/users/morgendave/repos","events_url":"https://api.github.com/users/morgendave/events{/privacy}","received_events_url":"https://api.github.com/users/morgendave/received_events","type":"User","site_admin":false},"repo":{"id":123639064,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM2MzkwNjQ=","name":"incubator-airflow","full_name":"morgendave/incubator-airflow","private":false,"owner":{"login":"morgendave","id":11638842,"node_id":"MDQ6VXNlcjExNjM4ODQy","avatar_url":"https://avatars1.githubusercontent.com/u/11638842?v=4","gravatar_id":"","url":"https://api.github.com/users/morgendave","html_url":"https://github.com/morgendave","followers_url":"https://api.github.com/users/morgendave/followers","following_url":"https://api.github.com/users/morgendave/following{/other_user}","gists_url":"https://api.github.com/users/morgendave/gists{/gist_id}","starred_url":"https://api.github.com/users/morgendave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morgendave/subscriptions","organizations_url":"https://api.github.com/users/morgendave/orgs","repos_url":"https://api.github.com/users/morgendave/repos","events_url":"https://api.github.com/users/morgendave/events{/privacy}","received_events_url":"https://api.github.com/users/morgendave/received_events","type":"User","site_admin":false},"html_url":"https://github.com/morgendave/incubator-airflow","description":"Apache Airflow (Incubating)","fork":true,"url":"https://api.github.com/repos/morgendave/incubator-airflow","forks_url":"https://api.github.com/repos/morgendave/incubator-airflow/forks","keys_url":"https://api.github.com/repos/morgendave/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morgendave/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morgendave/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/morgendave/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/morgendave/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/morgendave/incubator-airflow/events","assignees_url":"https://api.github.com/repos/morgendave/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/morgendave/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/morgendave/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/morgendave/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morgendave/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morgendave/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/morgendave/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morgendave/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/morgendave/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/morgendave/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/morgendave/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/morgendave/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/morgendave/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/morgendave/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/morgendave/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/morgendave/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/morgendave/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/morgendave/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/morgendave/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morgendave/incubator-airflow/merges","archive_url":"https://api.github.com/repos/morgendave/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morgendave/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/morgendave/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/morgendave/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/morgendave/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/morgendave/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morgendave/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/morgendave/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/morgendave/incubator-airflow/deployments","created_at":"2018-03-02T22:49:47Z","updated_at":"2018-03-02T22:49:51Z","pushed_at":"2018-11-05T18:50:47Z","git_url":"git://github.com/morgendave/incubator-airflow.git","ssh_url":"git@github.com:morgendave/incubator-airflow.git","clone_url":"https://github.com/morgendave/incubator-airflow.git","svn_url":"https://github.com/morgendave/incubator-airflow","homepage":"","size":26406,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"44c43363f326d7c04411ad796ce58d30bce64fd7","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":33884891,"node_id":"MDEwOlJlcG9zaXRvcnkzMzg4NDg5MQ==","name":"incubator-airflow","full_name":"apache/incubator-airflow","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/incubator-airflow","description":"Apache Airflow (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-airflow","forks_url":"https://api.github.com/repos/apache/incubator-airflow/forks","keys_url":"https://api.github.com/repos/apache/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/apache/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-airflow/events","assignees_url":"https://api.github.com/repos/apache/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/apache/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/apache/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-airflow/merges","archive_url":"https://api.github.com/repos/apache/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/apache/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-airflow/deployments","created_at":"2015-04-13T18:04:58Z","updated_at":"2018-11-05T20:43:13Z","pushed_at":"2018-11-05T22:00:33Z","git_url":"git://github.com/apache/incubator-airflow.git","ssh_url":"git@github.com:apache/incubator-airflow.git","clone_url":"https://github.com/apache/incubator-airflow.git","svn_url":"https://github.com/apache/incubator-airflow","homepage":"https://airflow.apache.org","size":26847,"stargazers_count":9798,"watchers_count":9798,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3406,"mirror_url":null,"archived":false,"open_issues_count":313,"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":3406,"open_issues":313,"watchers":9798,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/4101"},"html":{"href":"https://github.com/apache/incubator-airflow/pull/4101"},"issue":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/4101"},"comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/4101/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/4101/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/4101/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-airflow/statuses/674f5e22e7b17ae03946797b9afc5c8f6dde186d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":7,"review_comments":17,"maintainer_can_modify":true,"commits":3,"additions":135,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"morgendave"}}