Repository navigation
|
Hello, Airflow Docker Image Does not move to triggerer: Moves to triggerer: In digging further, I see that HttpTrigger has no |
Replies: 2 comments 1 reply
|
I was migrating some While prototyping to test the concept, I managed to get it working with a less-than-ideal fix. I have a FastAPI app with an endpoint that raises a 404 error when the external condition is not met. Otherwise, it returns a simple string, resulting in a 200 status code. By implementing this fix and bypassing the response check in I don't know if I'll use it but meanwhile, it could work. |
|
In the source code, if However, I agree this seems less than ideal. The HttpTrigger should simply be waiting for some non-failing response and pass the response to the This seems like a reasonable change. I'll convert this to an issue. @bejota by all means, if you have an implementation in mind, you are more than welcome to do so. The more the merrier here in Airflow! |
In the source code, if
response_checkis specified, the HttpTrigger is not engaged.However, I agree this seems less than ideal. The HttpTrigger should simply be waiting for some non-failing response and pass the response to the
execute_complete()method in the sensor for evaluation (shouldresponse_checkbe configured for the task).This seems like a reasonable change. I'll convert this to an issue. @bejota by all means, if you have an implementation in mind, you are more than welcome to do so. The more the merrier here in Airflow!