From 35bdb1ba418561d689757c3662e8b37f6bfeff87 Mon Sep 17 00:00:00 2001 From: Arne Oslebo <arne.oslebo@uninett.no> Date: Mon, 9 Nov 2020 11:48:23 +0100 Subject: [PATCH] added howto file --- HOWTOS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 HOWTOS.md diff --git a/HOWTOS.md b/HOWTOS.md new file mode 100644 index 0000000..c2e44a0 --- /dev/null +++ b/HOWTOS.md @@ -0,0 +1,13 @@ +Howto's +======= + +Modify main NiFi pipeline +------------------------- + +To make modifications to the main NiFi pipeline and add it to the Ansible playbook, do the following in the soctool directory: + +* Make necesarry to the pipeline in the NiFi GUI +* Copy flow.xml.gz file from one of the NiFi containers: + `docker cp <CONTAINER ID>:/opt/nifi/nifi-current/conf/flow.xml.gz .` +* Convert flowx.xml.gz to new template + `utils/flow2template.py flow.xml.gz roles/nifi/templates/flow.xml.j2` -- GitLab