pierrejeambrun opened a new pull request, #41798: URL: https://github.com/apache/airflow/pull/41798
This is the initial PR for AIP-84, setting up a very basic separate FastAPI API for UI purposes. I wanted to take that incrementally instead of opening a big PR latter. Some steps will require discussions on the implementation (I see different ways of handling things), and I don't want a gigantic PR getting blocked for days/weeks. The goal at the end of that is to have 1 `object` custom endpoint duplicated to the new `UI REST API` showing how such endpoint are developed and tested as part of the new API. At the time of airflow 3 release, old endpoint `/object` will simply be deleted, so we do not care at that time about duplication. (old endpoint contribution will be limited / filtered anyway). To test this very basic endpoint you can for now simply run airflow with breeze. Stop the webserver and start the new UI Rest API manually with `fastapi dev airflow/api_ui/main.py`. Then in another breeze terminal run `curl localhost:8000/ui/next_run_datasets/<your_dag_id_with_datasets>` Follow up PRs will come in the following days to: - INtegrate the new UI API to the CLI (most likely under a new command `airflow ui-api` or directly under `airflow webserver` ?) - Integrate the new UI API to Breeze (for developer experience) - Tests + CI integration (new test type, CI jobs etc.) - Add permissions and access control - Contributor documentation for this new API - dev tools to automatically generate front-end code (typescript types + react queries) based on the API spec -- 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]
