Daniel,
What is your timeframe for needing this working?
I ask because the contributors to NiPyApi are very close to a release which
will provide by secured environment support, and wrappers to set this kind
of policy via a Python Client SDK for NiFi.
https://github.com/Chaffelson/nipyapi/tree/pr/4
Making a call to "/process-groups/root" should retrieve the root
process group which should then have an id element.
On Mon, Feb 26, 2018 at 5:20 PM, Daniel Hernandez
wrote:
> Thanks Matt,
>
> I get now what is the problem, in order to exhaust all my possibilities I
> may ask, is there a way usi
Thanks Matt,
I get now what is the problem, in order to exhaust all my possibilities I
may ask, is there a way using the API to get the root UUID from the
flow.xml.gz file? Because I see the file there after running the tests.
Thanks,
On Mon, Feb 26, 2018 at 3:26 PM, Daniel Hernandez <
daniel.h
You should be able to include a canned flow.xml.gz in your in your
container, just have nothing under the root group.
On Mon, Feb 26, 2018 at 3:50 PM, Matt Gilman wrote:
> Daniel,
>
> Unfortunately, there is no way to set this currently. This is ultimately a
> lifecycle issue. The UUID of the ro
Daniel,
Unfortunately, there is no way to set this currently. This is ultimately a
lifecycle issue. The UUID of the root group may be inherited from a cluster
or randomly generated if a node is standalone. From the admin guide:
"For a brand new secure flow, providing the "Initial Admin Identity"
Hi Matt,
Thanks for your answer.
Do you know if there is a way to preconfigure this value when running
Nifi's Docker image? I am making the calls from an integration test that
runs a docker container with the Nifi server. I already check and the value
under in the flow.xml.gz file changes everyt
Daniel,
The policy should use the UUID of the root Process Group.
If your seeding the authorizations.xml as part of your initial start-up,
these policies will be automatically applied to your initial admin if there
is an existing flow.xml.gz. If there is no flow.xml.gz, you'll need to
define thes
Hi,
I am currently working on calling the Nifi REST API to get the 'root'
process group and setting it as parent for a new process-group.
However I am getting the next messages:
Attempting GET request to: JerseyWebTarget {
https://127.0.0.1:8443/nifi-api/process-groups/root }
2018-02-26 11:06:55