Re: 答复: Airflow REST API proof of concept.

2018-05-21 Thread Maxime Beauchemin
Personally I think we should keep the architecture as simple as possible and use the same web server for REST and UI. As mentioned FAB (Flask App Builder) manages authentication and RBAC, so we can have consistent access rights in the UI and CLI. Max On Fri, May 11, 2018 at 5:42 AM Luke Diment w

Re: 答复: Airflow REST API proof of concept.

2018-05-11 Thread Luke Diment
Ok thanks that’s awesome we will have a look and check it out thanks... 🙂 Sent from my iPhone > On 12/05/2018, at 12:38 AM, Driesprong, Fokko wrote: > > Hi Luke, > > This is the REST api for the new UI: > https://github.com/apache/incubator-airflow/blob/master/airflow/www_rbac/api/experimental/

Re: 答复: Airflow REST API proof of concept.

2018-05-11 Thread Driesprong, Fokko
Hi Luke, This is the REST api for the new UI: https://github.com/apache/incubator-airflow/blob/master/airflow/www_rbac/api/experimental/endpoints.py RBAC = Role Based Access Control, the fine grained security model based on the fabmanager. Recently we've added some endpoints to it. In the end als

Re: 答复: Airflow REST API proof of concept.

2018-05-11 Thread Luke Diment
I’m just wondering if the rest api should be built in java or python...?? Remember rest is best...! Sent from my iPhone > On 12/05/2018, at 12:36 AM, Luke Diment wrote: > > I can happily share our code...for our rest api...! > > Sent from my iPhone > >> On 12/05/2018, at 12:35 AM, Luke Diment

Re: 答复: Airflow REST API proof of concept.

2018-05-11 Thread Luke Diment
I can happily share our code...for our rest api...! Sent from my iPhone > On 12/05/2018, at 12:35 AM, Luke Diment wrote: > > Our build pipeline uses Jenkinsfile with Docker kubernetes and helm...we > orchestrate deployment against our rest api and use junit to assert our > results...fully prog

Re: 答复: Airflow REST API proof of concept.

2018-05-11 Thread Luke Diment
Our build pipeline uses Jenkinsfile with Docker kubernetes and helm...we orchestrate deployment against our rest api and use junit to assert our results...fully programmatically against airflow...! Sent from my iPhone > On 12/05/2018, at 12:31 AM, Luke Diment wrote: > > No it executes the back

Re: 答复: Airflow REST API proof of concept.

2018-05-11 Thread Luke Diment
No it executes the backend airflow command line over HTTP giving developers room to freely interact with airflow programmatically...hence you can easily integration test your business logic... Sent from my iPhone > On 12/05/2018, at 12:27 AM, Song Liu wrote: > > So that this Java REST API serv