Write Nifi CLI Script(s) for first run experience

Description

We will use the Nifi CLI to automate the interaction with Nifi as part of the first run experience. The first run experience focuses on connecting Nifi to the Nifi registry and downloading the appropriate flows. This ticket focuses on writing a CLI script that performs the following:

  • Create a Nifi Registry Controller Service that connects to the OpenLMIS Nifi registry

  • Enable the connection to the registry

  • Connect to the Registry and download a particular flow

  • Start that flow

  • Define a mechanism to only do this if it's the first run experience so we don't duplicate these steps every time Docker is started

Acceptance Criteria:

  • Scripts are run and committed to GitHub

  • First run experience is tested and successful

Assignee

Jason Rogena

Reporter

Craig Appl

Labels

Story Points

5

Epic Link

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure