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

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: >

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

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

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

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:

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

答复: Airflow REST API proof of concept.

2018-05-11 Thread Song Liu
So that this Java REST API server is talking to the meta db directly ? 发件人: Luke Diment 发送时间: 2018年5月11日 12:22 收件人: dev@airflow.incubator.apache.org 主题: Fwd: Airflow REST API proof of concept. FYI. Sent from my iPhone Begin forwarded