You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by "Byers, Steven K (Steve) CTR USARMY MEDCOM JMLFDC (US)" <st...@mail.mil> on 2017/08/16 19:00:38 UTC
RE: [Non-DoD Source] Re: NiFi Workflow deployment
Andy,
Thank you for your reply. I have come up with a scheme which should meet our needs. It involves using a key/value approach similar to the idea behind the Variable Registry but is file based. Key/value pairs are stored in JSON files for each template and I have a Python program which matches the keys in the templates and substitutes the value. This allows me to target configurations for each server we will be deploying to.
Thank you,
Steven K. Byers
DXC Technology - Contractor
Software Developer - Joint Medical Logistics Functional Development Center (JMLFDC)
Defense Health Agency (DHA)/ Health Information Technology (HIT) Directorate/ Solution Delivery Division (SDD)/Clinical Support Branch/JMLFDC
1681 Nelson Street, Fort Detrick, MD 21702
(443) 538-7575 | (410) 872-4923
Email: steven.k.byers.ctr@mail.mil
From: Andy LoPresto [mailto:alopresto@apache.org]
Sent: Tuesday, August 15, 2017 3:02 PM
To: dev@nifi.apache.org
Subject: [Non-DoD Source] Re: NiFi Workflow deployment
All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
_____
Hi Steven,
This is a common problem which we are actively working to improve. Currently, the “Variable Registry” [1] feature is a stop-gap solution in conjunction with publishing and loading templates [2] into the various environments. The new Flow Registry [3] feature will make this much easier and automate the process for you. You can read about the feature roadmap and if you search these mailing lists [4][5] for “SDLC” or “flow registry” you can find many other users discussing their solutions and tips for similar experiences. Hope this helps.
[1] Caution-https://cwiki.apache.org/confluence/display/NIFI/Variable+Registry < Caution-https://cwiki.apache.org/confluence/display/NIFI/Variable+Registry >
[2] Caution-https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#templates < Caution-https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#templates >
[3] Caution-https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows < Caution-https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows >
[4] Caution-https://lists.apache.org/list.html?dev@nifi.apache.org < Caution-https://lists.apache.org/list.html?dev@nifi.apache.org >
[5] Caution-https://lists.apache.org/list.html?users@nifi.apache.org < Caution-https://lists.apache.org/list.html?users@nifi.apache.org >
Andy LoPresto
alopresto@apache.org < Caution-mailto:alopresto@apache.org >
alopresto.apache@gmail.com < Caution-mailto:alopresto.apache@gmail.com >
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69
On Aug 15, 2017, at 2:50 PM, Byers, Steven K (Steve) CTR USARMY MEDCOM JMLFDC (US) <steven.k.byers.ctr@mail.mil < Caution-mailto:steven.k.byers.ctr@mail.mil > > wrote:
Hi.
Can someone describe the best way to maintain, configure and deploy
workflows to various NiFi instances? The project I work on has three DEV
and three TEST instances. Our workflows have host-specific values and
flow-specific values so we want to be able to automate configuring the flows
and deploying them to the various servers. NiFi out of the box doesn't seem
to support doing what we need to do.
We are, currently, using NiFi 1.1.2.
Any suggestions would be greatly appreciated!
Thank you,
Steven K. Byers