Skip to content

Conversation

@ramitkataria
Copy link
Contributor

This PR adds AWS Managed Workflows for Apache Airflow (MWAA) integration to the Amazon Provider Package. The integration includes:

  1. MwaaTriggerDagRunOperator: Allows triggering DAGs in an MWAA environment
  2. MwaaHook: A generic hook to interact with MWAA environments via REST API

To run the example_mwaa system test, there needs to be an existing environment already created. In the future, when we add a CreateEnvironmentOperator, there will be a separate system test just for that operator. This approach was chosen due to the significant time required for MWAA environment creation.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg
Copy link

boring-cyborg bot commented Feb 8, 2025

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our pre-commits will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: dev@airflow.apache.org
    Slack: https://s.apache.org/airflow-slack

@ramitkataria ramitkataria marked this pull request as ready for review February 8, 2025 02:40
@ramitkataria ramitkataria changed the title Ramitkataria/triggerdag op Add MwaaTriggerDagRunOperator and MwaaHook Feb 8, 2025
@ramitkataria ramitkataria changed the title Add MwaaTriggerDagRunOperator and MwaaHook Add MwaaTriggerDagRunOperator and MwaaHook to Amazon Provider Package Feb 8, 2025
Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good job! LGTM!

@vincbeck vincbeck added the full tests needed We need to run full set of tests for this PR to merge label Feb 13, 2025
@vincbeck vincbeck closed this Feb 13, 2025
@vincbeck vincbeck reopened this Feb 13, 2025
@o-nikolas o-nikolas merged commit 9c22411 into apache:main Feb 13, 2025
145 of 149 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Feb 13, 2025

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@o-nikolas o-nikolas deleted the ramitkataria/triggerdag-op branch February 13, 2025 22:50
@wgervasio
Copy link

insane PR mate

alecsg77 pushed a commit to alecsg77/airflow that referenced this pull request Feb 14, 2025
…apache#46579)

Adds AWS Managed Workflows for Apache Airflow (MWAA) integration to the Amazon Provider Package. The integration includes:
- MwaaTriggerDagRunOperator: Allows triggering DAGs in an MWAA environment
- MwaaHook: A generic hook to interact with MWAA environments via REST API
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
…apache#46579)

Adds AWS Managed Workflows for Apache Airflow (MWAA) integration to the Amazon Provider Package. The integration includes:
- MwaaTriggerDagRunOperator: Allows triggering DAGs in an MWAA environment
- MwaaHook: A generic hook to interact with MWAA environments via REST API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers full tests needed We need to run full set of tests for this PR to merge kind:documentation provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants