In case my images didn't come through, here is a link that shows what I'd
like to remove (in red) and add (in green)

https://docs.google.com/drawings/d/1Ux8qGQUdRp2L6YWgqayliIzFiJv1nwev4JaG2rR7oiQ/edit?usp=sharing


On Thu, Jan 31, 2019 at 8:21 PM David Cavaletto <[email protected]>
wrote:

> Hello,
>
> While trying to refactor the Connection API (both REST and CLI) I've
> discovered the CLI has the ability to make REST API calls. The flow looks
> like this:
> [image: Apache Airflow API flow.jpg]
>
> In a discussion with Ash in Slack, he said this architecture is so that a
> user can use a local installation of Airflow (like on their laptop) to
> issue CLI commands to a remote installation of Airflow. Examples would
> include a cluster running Fargate, where docker exec and ssh are not
> available, and so no CLI commands can be run on the installation.
>
> I'd like to propose that we simplify this entire structure, removing the
> boxes highlighted in red, like this:
> [image: Apache Airflow API flow (1).jpg]
>
> Users needing to issue REST commands to a cluster would use a REST client
> (Postman, curl, etc) to issue the commands to the cluster, allowing us to
> simplify this implementation of the APIs in Airflow.
>
> Thoughts? Is there some other use case I've overlooked?
>
> -Dave
>

Reply via email to