airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diogo Franco (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1470) Generic BashSensor
Date Thu, 27 Jul 2017 15:20:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Diogo Franco updated AIRFLOW-1470:
----------------------------------
    Description: 
I propose a generic BashSensor operator where the poke method looks at the return code of
a bash command.

The implementation would be similar to the execute method of the BashOperator, except returning
True/False based on the command's return code being 0 or not.

This allows the user to easily add custom sensing logic into a DAG.

  was:
I propose a generic BashSensor operator where the poke method looks at the return code of
a bash command.

The implementation would be similar to the execute method of the BashOperator, except returning
True/False based on the command's return code being 0 or not.

This allows the user to easily add custom sensing logic into a DAG by calling her own scripts.


> Generic BashSensor
> ------------------
>
>                 Key: AIRFLOW-1470
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1470
>             Project: Apache Airflow
>          Issue Type: Wish
>            Reporter: Diogo Franco
>            Priority: Minor
>
> I propose a generic BashSensor operator where the poke method looks at the return code
of a bash command.
> The implementation would be similar to the execute method of the BashOperator, except
returning True/False based on the command's return code being 0 or not.
> This allows the user to easily add custom sensing logic into a DAG.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message