Re: Policies for root Process Group.

2018-02-27 Thread Daniel Chaffelson
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.

Re: Policies for root Process Group.

2018-02-27 Thread Bryan Bende
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

Re: Policies for root Process Group.

2018-02-26 Thread Daniel Hernandez
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 <

Re: Policies for root Process Group.

2018-02-26 Thread Bryan Bende
UI and to manage users, groups and > policies. But if that user wants to start modifying the flow, they need to > grant themselves policies for the root process group. The system is unable > to do this automatically because in a new flow the UUID of the root process > group is not

Re: Policies for root Process Group.

2018-02-26 Thread Matt Gilman
n Identity" gives that user access to get into the UI and to manage users, groups and policies. But if that user wants to start modifying the flow, they need to grant themselves policies for the root process group. The system is unable to do this automatically because in a new flow the UUID of t

Re: Policies for root Process Group.

2018-02-26 Thread Daniel Hernandez
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

Re: Policies for root Process Group.

2018-02-26 Thread Matt Gilman
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

Policies for root Process Group.

2018-02-26 Thread Daniel Hernandez
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