ferruzzi opened a new pull request, #25413:
URL: https://github.com/apache/airflow/pull/25413
The current EcsOperator is monolithic, does not have a hook, nor any
sensors. This PR adds an ECS hook, modifies the existing EcsOperator to use
it, adds a handful of other operators and sensors. The functionality of the
existing EcsOperator was changed as little as possible. A future refactor of
that operator might not be a bad idea, but adding the hook and sensors is the
main goal of this PR.
Other changes:
- Moved some methods from the EcsOperator module into the new EcsHook
module as that felt like a better home for them.
- Removes some old code that has been deprecated for multiple major
releases.
- `airflow/contrib/operators/ecs_operator.py` was deprecated over 2 years
ago
- `tests/providers/amazon/aws/operators/test_ecs_system.py` is also a few
years old and not a proper system test by current standards.
- Deprecates the name `EcsOperator` in favor of `EcsRunTaskOperator` to
match the standard naming conventions since there are now multiple ECS-related
operators.
closes: https://github.com/apache/airflow/issues/24826
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]