In NiFi Registry, each of your NIFi servers must be defined as a user
with Proxy permissions.

To make production be read-only, give the production NiFi user only
Proxy - READ in NiFi Registry. This will cause it to fail
authorization if it ever attempted to save anything to registry.

Then give your dev NiFi Proxy - READ/WRITE/DELETE.

On Fri, Oct 7, 2022 at 9:22 AM Marel, J. van der (Jasper) via users
<[email protected]> wrote:
>
> Hi,
>
> Regarding read rights depends on nifi internal rights, cannot be set on 
> workflows itself. But that can be accomplished with a nipyapi calls.
>
> Regarding deployments, this is more a ci/cd setup with triggers
>
> With kind regards,
>
> Jasper
>
> Outlook voor Android downloaden
>
> ________________________________
> Van: Jorge Machado <[email protected]>
> Verstuurd: vrijdag 7 oktober 2022 15:07
> Aan: [email protected] <[email protected]>
> Onderwerp: Workflows deployments across environments
>
> Hello Nifi users,
>
>
> Question in the round. Let’s say I have 3 Nifi instances with dev, test and 
> prod. What is the recommend way of deploying specific workflows from one 
> environment to another ?
> We are using Nifi registry + GitHub as storage for the flows.
>
> What we want to achieve:
> * in production there should be only read rights
> * Deployment in prod should happen when a commit on master or a new git 
> release is created.
>
>
> I found this: 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchamila.dev%2Fblog%2F2021-07-17_ci-cd-for-apache-nifi-01-intro-and-setup%2F&amp;data=05%7C01%7CJasper.van.der.Marel%40ing.com%7Ccb499dffa57649fd0d0e08daa864e989%7C587b6ea13db94fe1a9d785d4c64ce5cc%7C0%7C0%7C638007448610342559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=04bmOAo7vZAajkGJRn31jwMpkRVqg9%2FIPmx4OiLwG9k%3D&amp;reserved=0
>  and 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftech-at-nordstrom%2Fbuilding-ci-cd-pipelines-with-apache-nifi-and-terraform-acedd653b356&amp;data=05%7C01%7CJasper.van.der.Marel%40ing.com%7Ccb499dffa57649fd0d0e08daa864e989%7C587b6ea13db94fe1a9d785d4c64ce5cc%7C0%7C0%7C638007448610342559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=2WLVMUD2zA2gPqfkU62mRZDa4ftzYuvgegJ70WUOtNU%3D&amp;reserved=0
>  both ways seems to be like custom made and there is not a standard way of 
> doing this.
> Would be great if we had a wiki page on nifi for this.
>
>
> Thx
> Jorge
>
>
> -----------------------------------------------------------------
> ATTENTION:
> The information in this e-mail is confidential and only meant for the 
> intended recipient. If you are not the intended recipient, don't use or 
> disclose it in any way. Please let the sender know and delete the message 
> immediately.
> -----------------------------------------------------------------

Reply via email to