<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ​NiFi / NiFi-Registry - Best approach for &amp;quot;Change version&amp;quot; of a processgroup used by many other processgroups in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236566#M198379</link>
    <description>&lt;P&gt;Glad it works. I just wrote the nifi template and the python script inside it. Thanks to the `nipyapi` module.&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2019 21:22:56 GMT</pubDate>
    <dc:creator>qq349074225</dc:creator>
    <dc:date>2019-05-14T21:22:56Z</dc:date>
    <item>
      <title>​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236562#M198375</link>
      <description>&lt;P&gt;Hi, I have a &lt;STRONG&gt;processgroup &lt;/STRONG&gt;which acts as a &lt;STRONG&gt;subroutine &lt;/STRONG&gt;for many other processgroups. 
I started &lt;STRONG&gt;version control &lt;/STRONG&gt;and &lt;STRONG&gt;imported &lt;/STRONG&gt;this version into the other processgroups.
Now I made changes which lead to a &lt;STRONG&gt;new version&lt;/STRONG&gt; which should be &lt;STRONG&gt;substituted &lt;/STRONG&gt;in &lt;STRONG&gt;all other processgroups&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;Found in "NiFi Summary" -&amp;gt; "PROCESS GROUPS" the possibility to&lt;STRONG&gt; find all affected processgroups&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;question &lt;/STRONG&gt;is: &lt;STRONG&gt;Is there an other possibility for substitution except going from here to every single processgroup for "Change version"?&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Using NiFi 1.6.0 &lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 16:50:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236562#M198375</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2018-11-21T16:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236563#M198376</link>
      <description>&lt;P&gt;It seems no such function yet. I currently move all my stuff in a 'root' group and version control it. For example, let's assume there are two environments - dev and prod. And I just import the same version-controlled 'root' group twice and named them 'dev' and 'prod'. When 'root' group version changed, all processes and groups inside - including version-controlled groups - changed too.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108584-1.jpg" style="width: 1008px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14369i1701079D4D0BAB35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108584-1.jpg" alt="108584-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;dev has 2 version-controlled groups inside and prod has 1 currently&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108621-2.jpg" style="width: 687px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14370iCBF13EB78BB97608/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108621-2.jpg" alt="108621-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;change prod version to 7 to sync&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108612-3.jpg" style="width: 1015px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14371i2397C2278F96B853/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108612-3.jpg" alt="108612-3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:30:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236563#M198376</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-08-17T23:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236564#M198377</link>
      <description>&lt;P&gt;&lt;A href="https://raw.githubusercontent.com/archongum/NiFi-templates/master/VersioningUpdateFlowVer.xml"&gt;https://raw.githubusercontent.com/archongum/NiFi-templates/master/VersioningUpdateFlowVer.xml&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Apply "change version" of all process groups which share the same version-control flow(bucket/flow)&lt;/P&gt;&lt;P&gt;Some input attributes: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;process group id, a parent group which contains all process groups which share the same version-control flow. Set to 'root' to loop all process groups but cost more time.&lt;/LI&gt;&lt;LI&gt;bucket name&lt;/LI&gt;&lt;LI&gt;flow name&lt;/LI&gt;&lt;LI&gt;target version&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This template based on &lt;A href="https://github.com/Chaffelson/nipyapi"&gt;https://github.com/Chaffelson/nipyapi&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 23:18:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236564#M198377</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-05-13T23:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236565#M198378</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074"&gt;@Archon Gum&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hi, thanks for this awsome information! Something like this I was looking for but could not find...&lt;/P&gt;&lt;P&gt;Did you develope this solution?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Tested it on my local installation (1.9.1) and it worked perfect.&lt;/P&gt;&lt;P&gt;Now I have to prepare my offical DEV-Sytem with python and test it there (Cluster with 1.9.2) with more extensive flows.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will let you know here whether the test was successfully.&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 13:52:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236565#M198378</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-05-14T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236566#M198379</link>
      <description>&lt;P&gt;Glad it works. I just wrote the nifi template and the python script inside it. Thanks to the `nipyapi` module.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 21:22:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236566#M198379</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-05-14T21:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236567#M198380</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074" target="_blank"&gt;@Archon Gum&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi, I was told Python 2.7.5 is already available on my DEV. Installed nipyapi and changed CommandPath in ExecuteStreamCommand. On execution this error happens:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108659-1557900281889.png" style="width: 1521px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14368i3D302EAF42FB03ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108659-1557900281889.png" alt="108659-1557900281889.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Question: Is it absolutely necessary having Python3.x or can you see another cause for this exception?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help and this solution!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:30:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236567#M198380</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-08-17T23:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236568#M198381</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074"&gt;@Archon Gum&lt;/A&gt;&lt;BR /&gt;do you mind if I ask you one more time for your help?&lt;BR /&gt;&lt;BR /&gt;I compared the bucket.py in Python37 (local) and Python275 (DEV-System with Cluster) but there is no difference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Maybe you could give me a hint to solve this problem? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 18:02:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236568#M198381</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-05-29T18:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236569#M198382</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I tried but I can't reproduce it:&lt;/P&gt;&lt;PRE&gt;# 1. set identifier to None
nipyapi.versioning.get_registry_bucket(identifier=None, identifier_type='name')
# return: TypeError: 'in &amp;lt;string&amp;gt;' requires string as left operand, not NoneType

# 2. empty all bucket in nifi-registry and try to get bucket
nipyapi.versioning.get_registry_bucket(identifier='test', identifier_type='name')
# return: None&lt;/PRE&gt;&lt;P&gt;I can't reach the code in quote:&lt;/P&gt;&lt;P&gt;1. If nifi-registry has buckets, each bucket's name will set to this 'name' parameter and can not be None at all.&lt;/P&gt;&lt;P&gt;2. If nifi-registry is empty(no bucket), the code won't be executed (because return a empty list)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109074-1559183972253.png" style="width: 930px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14367i7A7A059B7F0FE038/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109074-1559183972253.png" alt="109074-1559183972253.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My suggestions:&lt;/P&gt;&lt;P&gt;1. check `nipyapi.config.registry_config.host = 'http://your-server:18080/nifi-registry-api'` &lt;/P&gt;&lt;P&gt;2. try to use a new nifi-registry and run the code again to find out whether the error occurs. (I recommand using docker: &lt;A href="https://hub.docker.com/r/apache/nifi-registry" rel="nofollow noopener noreferrer" target="_blank"&gt;https://hub.docker.com/r/apache/nifi-registry&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;3. it seems python version is not the problem here.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:30:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236569#M198382</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-08-17T23:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236570#M198383</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074"&gt;@Archon Gum&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thank you so much for your answer and your efforts!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Refering to your &lt;STRONG&gt;suggestions&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; I checked the information and it is correct. BUT when I test to acces the REST-API of registry in an InvokeHTTP-Processor I have to type http&lt;STRONG&gt;s&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;So I changed this in "nipyapi.config.registry_config.host" and ended up with an certification failure. Here a part of it:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;AttributeError: 'module' object has no attribute 'X509_up_ref'
2019-06-04 05:40:24,709 WARNING Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),)': /nifi-registry-api/buckets
2019-06-04 05:40:24,709 WARNING Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),)': /nifi-registry-api/buckets
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),)': /nifi-registry-api/buckets
From cffi callback &amp;lt;function _verify_callback at 0x7f3a008085f0&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So I have to speak with the admin.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Because I'm not the "master of the installation" I can't do this just like that. But I will bear this in mind.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; I agree.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I get this work I will let you know. So long!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 13:20:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236570#M198383</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-06-04T13:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236571#M198384</link>
      <description>&lt;P&gt;Oh, Is it your NiFi-Registry using HTTPS instead of HTTP? I'm going to try nipyapi on HTTPS too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 13:43:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236571#M198384</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-06-04T13:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236572#M198385</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/98289/justenji.html" nodeid="98289" target="_blank"&gt;@ Justen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check this out.&lt;/P&gt;&lt;PRE&gt;import nipyapi
nipyapi.config.registry_config.host = 'https://localhost:18443/nifi-registry-api'

# additional code for SSL(HTTPS)
nipyapi.security.set_service_ssl_context(service='registry',&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ca_file='G:/TEMP/ssl/localhost.cer',&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;client_cert_file='G:/TEMP/ssl/sys_admin.cer',&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;client_key_file='G:/TEMP/ssl/sys_admin.key',&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;client_key_password=None)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And it should works like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109211-snipaste-2019-06-04-17-01-41.jpg" style="width: 991px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14364iBC33F5BA2CA542E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109211-snipaste-2019-06-04-17-01-41.jpg" alt="109211-snipaste-2019-06-04-17-01-41.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So, we should know somethings like:&lt;/P&gt;&lt;P&gt;1. HTTPS: HTTP + SSL(TLS is deprecated)&lt;/P&gt;&lt;P&gt;2. SSL: Know about Certificate. &lt;A href="https://www.websecurity.symantec.com/security-topics/what-is-ssl-tls-https" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.websecurity.symantec.com/security-topics/what-is-ssl-tls-https&lt;/A&gt; &lt;/P&gt;&lt;P&gt;3. asymmetric public-private key cryptosystem: common use case is `ssh-keygen`. &lt;A href="https://en.wikipedia.org/wiki/RSA_%28cryptosystem%29" rel="nofollow noopener noreferrer" target="_blank"&gt;https://en.wikipedia.org/wiki/RSA_(cryptosystem)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;4. CA(&lt;STRONG&gt;certificate&lt;/STRONG&gt; authority): Everyone can create a Certificate but whose Certificate is safe or 'legal'? So CA is here. &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer nofollow noopener noreferrer" href="https://www.google.com/search?q=ca+certificate" target="_blank"&gt;https://www.google.com/search?q=ca+certificate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;5. (optional) To setup a nifi-registry in HTTPS: &lt;A href="https://www.youtube.com/watch?v=qD03ao3R-a4" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.youtube.com/watch?v=qD03ao3R-a4&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To learn that, just google it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In HTTPS-nifi-registry case, use this method to add &lt;STRONG&gt;certificate&lt;/STRONG&gt; to access HTTPS. &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer nofollow noopener noreferrer" href="https://nipyapi.readthedocs.io/en/latest/nipyapi-docs/nipyapi.html#module-nipyapi.security," target="_blank"&gt;https://nipyapi.readthedocs.io/en/latest/nipyapi-docs/nipyapi.html#module-nipyapi.security&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109221-snipaste-2019-06-04-17-26-09.jpg" style="width: 756px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14365iA7324E6A7DBCF75F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109221-snipaste-2019-06-04-17-26-09.jpg" alt="109221-snipaste-2019-06-04-17-26-09.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I setup a nifi-registry followed by the youtube video above. Use tools - &lt;A href="https://keystore-explorer.org/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://keystore-explorer.org/&lt;/A&gt; - and the &lt;STRONG&gt;certificates &lt;/STRONG&gt;should look like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109231-snipaste-2019-06-04-16-57-59.jpg" style="width: 495px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14366i025CEA49802C0874/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109231-snipaste-2019-06-04-16-57-59.jpg" alt="109231-snipaste-2019-06-04-16-57-59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;1. client_cert_file: the &lt;STRONG&gt;certificate &lt;/STRONG&gt;use to access nifi-registry, like 'username'&lt;/P&gt;&lt;P&gt;2. client_key_file: a private key for `client_cert_file`, 'password'&lt;/P&gt;&lt;P&gt;3. client_key_password: the password for private key - `client_key_file`, private key can be encrypted by a password or not be encrypted. In this case, the private key isn't encrypted so set to None.&lt;/P&gt;&lt;P&gt;4. ca_file: The CA who sign the `client_cert_file`. In this case, the CA file is created by ourselves too which is the 'localhost' &lt;STRONG&gt;certificate.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can have all those files by asking your admin guy.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope I explain clearly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:30:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236572#M198385</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-08-17T23:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236573#M198386</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html"&gt;@Archon Gum&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for this detailed and informative answer! So my admin solved the SSL-problem among others by installing Python3.6. &lt;/P&gt;&lt;P&gt;Now I come until this error: &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ExecuteStreamCommand[id=e0bc9898-7dfb-3992-9e35-46fd7e983658] Transferring flow file StandardFlowFileRecord[uuid=f680a1c1-5ba9-426e-8b4f-a1d89e1a3f30,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1560791493717-1, container=default, section=1], offset=646526, length=-1],offset=0,name=tmp_nifi_update_flow_ver.py,size=0] to nonzero status. 
Executable command /usr/bin/python3.6 ended in an error: Traceback (most recent call last): 
File "tmp_nifi_update_flow_ver.py", line 56, in &amp;lt;module&amp;gt; update_flow_ver(pg_id, bucket_name, flow_name, target_version) 
File "tmp_nifi_update_flow_ver.py", line 42, in update_flow_ver flow = nipyapi.versioning.get_flow_in_bucket(bucket_id=bucket.identifier, identifier=flow_name, identifier_type='name') 
AttributeError: 'NoneType' object has no attribute 'identifier'&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you give me some advice on this?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:48:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236573#M198386</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-06-19T13:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236574#M198387</link>
      <description>&lt;PRE&gt;bucket = nipyapi.versioning.get_registry_bucket(identifier=bucket_name, identifier_type='name')
# from: I should add some verification here
if bucket is None:
  print(f"ERROR: bucket is None which means {bucket_name} not exists")
  sys.exit(-1)
# end
flow = nipyapi.versioning.get_flow_in_bucket(bucket_id=bucket.identifier, identifier=flow_name, identifier_type='name')&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Nothing fatal, just check the "bucket" whether it exists or not.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:10:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236574#M198387</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-06-19T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236575#M198388</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074"&gt;@Archon Gum&lt;/A&gt;&lt;BR /&gt;I'm sorry, but the &lt;STRONG&gt;bucket definitely exists&lt;/STRONG&gt;! &lt;/P&gt;&lt;P&gt;Your solution came so close to my target... Do you have another idea?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;By the way. If I add your supplement this error occurs:&lt;/P&gt;&lt;PRE&gt;ExecuteStreamCommand[id=e0bc9898-7dfb-3992-9e35-46fd7e983658] Transferring flow file StandardFlowFileRecord[uuid=6a70ebcc-13a0-431b-aa85-014bf8fb825f,claim=StandardContentClaim&amp;nbsp;
[resourceClaim=StandardResourceClaim[id=1560791493717-1, container=default, section=1], offset=715298, length=59],offset=0,name=tmp_nifi_update_flow_ver.py,size=59] to nonzero status.&amp;nbsp;
Executable command /usr/bin/python3.6 ended in an error: Traceback (most recent call last):
&amp;nbsp; File "tmp_nifi_update_flow_ver.py", line 61, in &amp;lt;module&amp;gt;
&amp;nbsp; &amp;nbsp; update_flow_ver(pg_id, bucket_name, flow_name, target_version)
&amp;nbsp; File "tmp_nifi_update_flow_ver.py", line 45, in update_flow_ver
&amp;nbsp; &amp;nbsp; sys.exit(-1)
NameError: name 'sys' is not defined&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Jun 2019 15:38:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236575#M198388</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-06-19T15:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236576#M198389</link>
      <description>&lt;PRE&gt;import sys&lt;/PRE&gt;&lt;P&gt;import the 'sys' module&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 15:45:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236576#M198389</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-06-19T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236577#M198390</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074" target="_blank"&gt;@Archon Gum&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Embarrassing... OK, now this happens.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109442-1560934658063.png" style="width: 929px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14362iD035B293D31064CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109442-1560934658063.png" alt="109442-1560934658063.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attributes of nonzero status FF:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109451-1560934745186.png" style="width: 730px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14363i9978B930950019B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109451-1560934745186.png" alt="109451-1560934745186.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:30:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236577#M198390</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-08-17T23:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236578#M198391</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html" nodeid="113074"&gt;@Archon Gum&lt;/A&gt; , I know I'm very persistent but I see no other way than aksing you for help again.&lt;/P&gt;&lt;P&gt;Ran the script from shell and received the message you added:&lt;/P&gt;&lt;PRE&gt;python3.6 tmp_nifi_update_flow_ver.py --pg_id f5163735-016b-1000-0000-00002a32b939 --bucket_name Justen_Bucket --flow_name TEST_IJ_PG_1 --target_version latest
ERROR: bucket is None which means Justen_Bucket not exists&lt;/PRE&gt;&lt;P&gt;Even when I use &lt;STRONG&gt;another bucket&lt;/STRONG&gt; this message appears. &lt;/P&gt;&lt;P&gt;It seems the nipyapi.versioning.get_registry_bucket(identifier=bucket_name, identifier_type='name') doesn't return the real buckets in registry.&lt;/P&gt;&lt;P&gt;Is it possible to test this in another way? Could it be an authorization problem again?&lt;/P&gt;&lt;P&gt;Sorry, but I see no way to solve this problem myself.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It would be a pity if all your efforts were in vain&lt;/STRONG&gt;... Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 14:51:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236578#M198391</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-07-16T14:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236579#M198392</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98289/justenji.html" nodeid="98289"&gt;@ Justen&lt;/A&gt; Do you use slack? Leave your email address and I invite you to my channel, we discuss there.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 13:05:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236579#M198392</guid>
      <dc:creator>qq349074225</dc:creator>
      <dc:date>2019-07-17T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236580#M198393</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113074/qq349074225.html"&gt;@Archon Gum&lt;/A&gt; I'm glad you answered!&lt;/P&gt;&lt;P&gt;Yes, I'm using slack - since about 5 minutes... ;-))&lt;/P&gt;&lt;P&gt;Here's my email address which I will remove in about 2 hours: &lt;EM&gt;removed&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'm looking forward to receive an appointment for our discussion because sometimes I'm not available, sorry!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 14:42:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/236580#M198393</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-07-17T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: ​NiFi / NiFi-Registry - Best approach for "Change version" of a processgroup used by many other processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/379205#M243805</link>
      <description>&lt;P&gt;Hi You have changed the version of prod from 5 to 7 manually by going to Ui, is it possible to do the same through nifi cli ? If yes then please share i dont want the manual intervention here to upgrade the version of process group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:02:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-NiFi-Registry-Best-approach-for-quot-Change-version/m-p/379205#M243805</guid>
      <dc:creator>amitgupta</dc:creator>
      <dc:date>2023-11-20T06:02:37Z</dc:date>
    </item>
  </channel>
</rss>

