B23admin / b23-flowlib

0 stars 0 forks source link

Allow users to define host aliases in .flowlibyaml so that they can target mutliple nifi instances #58

Open dbkegley opened 4 years ago

dbkegley commented 4 years ago

We should also write the host alias/endpoint to the generated docs so that we can see which instance was used to create the docs originally

dbkegley commented 4 years ago

zookeeper_root_node, zookeeper_acl, and zookeeper_connection should also be contained in this config block

For example:

flowlib --flow-yaml flow.yaml --env dev

environments:
  - name: dev
    endpoint: http://localhost:8080
    zookeeper: localhost:2181
    zookeeper_root_node: /nifi
    zookeeper_acl: open
  - name: prod
    endpoint: https://nifi-prod:8080
    zookeeper: zookeeper-prod:2181
    zookeeper_root_node: /nifi-prod
    zookeeper_acl: closed