<?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 NiFi registry commits templates to git with default email/author, where can I change that? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-registry-commits-templates-to-git-with-default-email/m-p/321648#M228498</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured Git as FlowPersisteceProvider for nifi registry.&lt;/P&gt;&lt;P&gt;Tested with test repo and worked fine, but now pointed to my company repo and getting error in push/commit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is due to the policy is set in my org git repo, it accepts push/commit from the accout with email as *@myorg.com only.&lt;/P&gt;&lt;P&gt;But Even though I configured my credentials (user &amp;amp; PAT) which belongs to my org for Git access from registry, NiFi registry pushes the code to Git with email as "nifiregistry@&amp;lt;hostname&amp;gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As its org level git repo ops team cant change this policy, so is there any way I can override this default&amp;nbsp;"nifiregistry@&amp;lt;hostname&amp;gt;" to "my-user@myorg.com" so that git push will not be rejected ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how nifi reg is pushing and comitting, Authored and Committed Identity should be changed from default&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="git-reg-commit.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31976i6BE4B6C1D33573FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="git-reg-commit.PNG" alt="git-reg-commit.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried this :&amp;nbsp;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.2.0/administering-nifi-registry/content/git-user-configuration.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.2.0/administering-nifi-registry/content/git-user-configuration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But did not solve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in registry log :&lt;/P&gt;&lt;P&gt;Caused by: org.eclipse.jgit.errors.TransportException: &lt;A href="https://o9git.visualstudio.com/CoreDev/_git/nifi-registry-dev" target="_blank" rel="noopener"&gt;https://o9git.visualstudio.com/CoreDev/_git/nifi-registry-dev&lt;/A&gt;: error occurred during unpacking on the remote end: error VS403702: The push was rejected because one or more commits contain author email 'nifiregistry@nifi-test-poc.*****.com' which does not match the policy-specified patterns.&lt;BR /&gt;at org.eclipse.jgit.transport.BasePackPushConnection.readStatusReport(BasePackPushConnection.java:382)&lt;BR /&gt;at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:222)&lt;BR /&gt;at org.eclipse.jgit.transport.TransportHttp$SmartHttpPushConnection.doPush(TransportHttp.java:1112)&lt;BR /&gt;at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:170)&lt;BR /&gt;at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:172)&lt;BR /&gt;at org.eclipse.jgit.transport.Transport.push(Transport.java:1344)&lt;BR /&gt;at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:169)&lt;BR /&gt;... 8 common frames omitted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 11:04:27 GMT</pubDate>
    <dc:creator>hegdemahendra</dc:creator>
    <dc:date>2021-07-28T11:04:27Z</dc:date>
    <item>
      <title>NiFi registry commits templates to git with default email/author, where can I change that?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-registry-commits-templates-to-git-with-default-email/m-p/321648#M228498</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured Git as FlowPersisteceProvider for nifi registry.&lt;/P&gt;&lt;P&gt;Tested with test repo and worked fine, but now pointed to my company repo and getting error in push/commit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is due to the policy is set in my org git repo, it accepts push/commit from the accout with email as *@myorg.com only.&lt;/P&gt;&lt;P&gt;But Even though I configured my credentials (user &amp;amp; PAT) which belongs to my org for Git access from registry, NiFi registry pushes the code to Git with email as "nifiregistry@&amp;lt;hostname&amp;gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As its org level git repo ops team cant change this policy, so is there any way I can override this default&amp;nbsp;"nifiregistry@&amp;lt;hostname&amp;gt;" to "my-user@myorg.com" so that git push will not be rejected ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how nifi reg is pushing and comitting, Authored and Committed Identity should be changed from default&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="git-reg-commit.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31976i6BE4B6C1D33573FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="git-reg-commit.PNG" alt="git-reg-commit.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried this :&amp;nbsp;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.2.0/administering-nifi-registry/content/git-user-configuration.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.2.0/administering-nifi-registry/content/git-user-configuration.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But did not solve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in registry log :&lt;/P&gt;&lt;P&gt;Caused by: org.eclipse.jgit.errors.TransportException: &lt;A href="https://o9git.visualstudio.com/CoreDev/_git/nifi-registry-dev" target="_blank" rel="noopener"&gt;https://o9git.visualstudio.com/CoreDev/_git/nifi-registry-dev&lt;/A&gt;: error occurred during unpacking on the remote end: error VS403702: The push was rejected because one or more commits contain author email 'nifiregistry@nifi-test-poc.*****.com' which does not match the policy-specified patterns.&lt;BR /&gt;at org.eclipse.jgit.transport.BasePackPushConnection.readStatusReport(BasePackPushConnection.java:382)&lt;BR /&gt;at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:222)&lt;BR /&gt;at org.eclipse.jgit.transport.TransportHttp$SmartHttpPushConnection.doPush(TransportHttp.java:1112)&lt;BR /&gt;at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:170)&lt;BR /&gt;at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:172)&lt;BR /&gt;at org.eclipse.jgit.transport.Transport.push(Transport.java:1344)&lt;BR /&gt;at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:169)&lt;BR /&gt;... 8 common frames omitted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 11:04:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-registry-commits-templates-to-git-with-default-email/m-p/321648#M228498</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2021-07-28T11:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi registry commits templates to git with default email/author, where can I change that?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-registry-commits-templates-to-git-with-default-email/m-p/321668#M228511</link>
      <description>&lt;P&gt;Update :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below commands worked :&amp;nbsp;&lt;/P&gt;&lt;P&gt;git config user.name "myemailuser"&lt;BR /&gt;git config user.email "myemail@myorg.com"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need to run this inside the cloned repo folder and then start nifi registry.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 11:42:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-registry-commits-templates-to-git-with-default-email/m-p/321668#M228511</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2021-07-28T11:42:49Z</dc:date>
    </item>
  </channel>
</rss>

