You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/14 19:54:00 UTC

[jira] [Commented] (AIRFLOW-2110) Enhance Http Hook to use a header in passed in the "extra" argument and add tenacity retry

    [ https://issues.apache.org/jira/browse/AIRFLOW-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474725#comment-16474725 ] 

ASF subversion and git services commented on AIRFLOW-2110:
----------------------------------------------------------

Commit 6c19468e0b3b938249acc43e4b833a753d093efc in incubator-airflow's branch refs/heads/master from alberto.calderari
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=6c19468 ]

[AIRFLOW-2110][AIRFLOW-2122] Enhance Http Hook

- Use a header in passed in the "extra" argument and
  add tenacity retry
- Fix the tests with proper mocking

Closes #3071 from albertocalderari/master


> Enhance Http Hook to use a header in passed in the "extra" argument and add tenacity retry
> ------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-2110
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2110
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>    Affects Versions: Airflow 1.8
>            Reporter: Alberto Calderari
>            Assignee: Alberto Calderari
>            Priority: Minor
>             Fix For: Airflow 2.0
>
>
> Add possibility to add a jsonĀ headerĀ in the "extra" field in the connection:
> {"Authorization": "Bearer Here1sMyT0k3N"}
> Also add tenacity retry so the operator won't fall over in case of a bad handshake.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)