I have configured Git as FlowPersisteceProvider for nifi registry.
Tested with test repo and worked fine, but now pointed to my company repo and getting error in push/commit.
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.
But Even though I configured my credentials (user & PAT) which belongs to my org for Git access from registry, NiFi registry pushes the code to Git with email as "nifiregistry@<hostname>".
As its org level git repo ops team cant change this policy, so is there any way I can override this default "nifiregistry@<hostname>" to "email@example.com" so that git push will not be rejected ?
This is how nifi reg is pushing and comitting, Authored and Committed Identity should be changed from default
Tried this : https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.2.0/administering-nifi-registry/content/git-user-c...
But did not solve
Error in registry log :
Caused by: org.eclipse.jgit.errors.TransportException: https://o9git.visualstudio.com/CoreDev/_git/nifi-registry-dev: 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.
... 8 common frames omitted