{"action":"opened","number":3479,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-airflow/pulls/3479","id":193477441,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDc3NDQx","html_url":"https://github.com/apache/incubator-airflow/pull/3479","diff_url":"https://github.com/apache/incubator-airflow/pull/3479.diff","patch_url":"https://github.com/apache/incubator-airflow/pull/3479.patch","issue_url":"https://api.github.com/repos/apache/incubator-airflow/issues/3479","number":3479,"state":"open","locked":false,"title":"Adding option to use proxies in JiraHook","user":{"login":"arashrai","id":10970791,"node_id":"MDQ6VXNlcjEwOTcwNzkx","avatar_url":"https://avatars2.githubusercontent.com/u/10970791?v=4","gravatar_id":"","url":"https://api.github.com/users/arashrai","html_url":"https://github.com/arashrai","followers_url":"https://api.github.com/users/arashrai/followers","following_url":"https://api.github.com/users/arashrai/following{/other_user}","gists_url":"https://api.github.com/users/arashrai/gists{/gist_id}","starred_url":"https://api.github.com/users/arashrai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arashrai/subscriptions","organizations_url":"https://api.github.com/users/arashrai/orgs","repos_url":"https://api.github.com/users/arashrai/repos","events_url":"https://api.github.com/users/arashrai/events{/privacy}","received_events_url":"https://api.github.com/users/arashrai/received_events","type":"User","site_admin":false},"body":"### Description\r\nSometimes the Jira API is not directly accessible on certain machines for security reasons. Proxies can be used to get around that and the Python Jira library offers support for that. This PR simply adds the option to include proxies when creating the JiraHook.\r\n\r\n### Tests\r\n- [x] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:\r\nDifficult to test since we'd have to set up test environment with no access to a Jira host except through a proxy + since default params are used this has no impact on anybody's existing usage of the JiraHook.\r\n\r\n### Code Quality\r\n- [x] Passes `git diff upstream/master -u -- \"*.py\" | flake8 --diff`\r\n\r\n@pahwaranger @saguziel \r\n","created_at":"2018-06-07T23:57:52Z","updated_at":"2018-06-07T23:57:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/3479/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/3479/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/3479/comments","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/1baee2e87ab36a63fac22073b00e8d6d63ea900e","head":{"label":"arashrai:master","ref":"master","sha":"1baee2e87ab36a63fac22073b00e8d6d63ea900e","user":{"login":"arashrai","id":10970791,"node_id":"MDQ6VXNlcjEwOTcwNzkx","avatar_url":"https://avatars2.githubusercontent.com/u/10970791?v=4","gravatar_id":"","url":"https://api.github.com/users/arashrai","html_url":"https://github.com/arashrai","followers_url":"https://api.github.com/users/arashrai/followers","following_url":"https://api.github.com/users/arashrai/following{/other_user}","gists_url":"https://api.github.com/users/arashrai/gists{/gist_id}","starred_url":"https://api.github.com/users/arashrai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arashrai/subscriptions","organizations_url":"https://api.github.com/users/arashrai/orgs","repos_url":"https://api.github.com/users/arashrai/repos","events_url":"https://api.github.com/users/arashrai/events{/privacy}","received_events_url":"https://api.github.com/users/arashrai/received_events","type":"User","site_admin":false},"repo":{"id":136542876,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1NDI4NzY=","name":"incubator-airflow","full_name":"arashrai/incubator-airflow","owner":{"login":"arashrai","id":10970791,"node_id":"MDQ6VXNlcjEwOTcwNzkx","avatar_url":"https://avatars2.githubusercontent.com/u/10970791?v=4","gravatar_id":"","url":"https://api.github.com/users/arashrai","html_url":"https://github.com/arashrai","followers_url":"https://api.github.com/users/arashrai/followers","following_url":"https://api.github.com/users/arashrai/following{/other_user}","gists_url":"https://api.github.com/users/arashrai/gists{/gist_id}","starred_url":"https://api.github.com/users/arashrai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arashrai/subscriptions","organizations_url":"https://api.github.com/users/arashrai/orgs","repos_url":"https://api.github.com/users/arashrai/repos","events_url":"https://api.github.com/users/arashrai/events{/privacy}","received_events_url":"https://api.github.com/users/arashrai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arashrai/incubator-airflow","description":"Apache Airflow (Incubating)","fork":true,"url":"https://api.github.com/repos/arashrai/incubator-airflow","forks_url":"https://api.github.com/repos/arashrai/incubator-airflow/forks","keys_url":"https://api.github.com/repos/arashrai/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arashrai/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arashrai/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/arashrai/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/arashrai/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/arashrai/incubator-airflow/events","assignees_url":"https://api.github.com/repos/arashrai/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/arashrai/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/arashrai/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/arashrai/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arashrai/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arashrai/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/arashrai/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arashrai/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/arashrai/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/arashrai/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/arashrai/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/arashrai/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/arashrai/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/arashrai/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/arashrai/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/arashrai/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/arashrai/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/arashrai/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/arashrai/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arashrai/incubator-airflow/merges","archive_url":"https://api.github.com/repos/arashrai/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arashrai/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/arashrai/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/arashrai/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/arashrai/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/arashrai/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arashrai/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/arashrai/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/arashrai/incubator-airflow/deployments","created_at":"2018-06-07T23:44:24Z","updated_at":"2018-06-07T23:49:46Z","pushed_at":"2018-06-07T23:49:44Z","git_url":"git://github.com/arashrai/incubator-airflow.git","ssh_url":"git@github.com:arashrai/incubator-airflow.git","clone_url":"https://github.com/arashrai/incubator-airflow.git","svn_url":"https://github.com/arashrai/incubator-airflow","homepage":"","size":20443,"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":"9c67ee84296b649ccb998e5b85187b956df9a757","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","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},"private":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-06-07T22:00:00Z","pushed_at":"2018-06-07T23:43:05Z","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":"","size":20443,"stargazers_count":8339,"watchers_count":8339,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2674,"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":2674,"open_issues":313,"watchers":8339,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/3479"},"html":{"href":"https://github.com/apache/incubator-airflow/pull/3479"},"issue":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/3479"},"comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/3479/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/3479/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/3479/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-airflow/statuses/1baee2e87ab36a63fac22073b00e8d6d63ea900e"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"arashrai"}}