[ https://issues.apache.org/jira/browse/NIFI-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648272#comment-16648272 ]
ASF subversion and git services commented on NIFI-5680: ------------------------------------------------------- Commit 02e0a16a681bea3a2bee6a90aa87baed2404a25e in nifi's branch refs/heads/master from [~bbende] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=02e0a16 ] NIFI-5680 Handling trailing slashes on URLs of registry clients This closes #3065. Signed-off-by: Mark Payne <marka...@hotmail.com> > Using inconsistent location URL for Registry Client on different NiFi > instances will break ability to import version controlled flows that contain > nested version controlled flows. > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: NIFI-5680 > URL: https://issues.apache.org/jira/browse/NIFI-5680 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 1.5.0, 1.6.0, 1.7.0 > Reporter: Matthew Clarke > Assignee: Bryan Bende > Priority: Major > > Using inconsistent location URL for Registry Client on different NiFi > instances will break ability to import version controlled flows that contain > nested version controlled flows. > For example: > on NiFi instance 1, configure "Registry Client" location URL with > https://<nifi-registry>:<port>/ > on NiFi instance 2, configure "Registry Client" location URL with > https://<nifi-registry>:<port> > notice that one contains a trailing "/" > On one of your NiFi instances, create a Process Group (PG). > Inside that PG, create another "sub-PG". > Start version control of sub-PG. > Go back to parent PG and also start version control on that "PG". > Go to your other NiFi instance and try to "import" the "PG" version > controlled flow. > Import will fail and throw following error in nifi-user.log: > o.a.n.w.a.c.IllegalArgumentExceptionMapper > java.lang.IllegalArgumentException: The Flow Registry with ID <UUID> reports > that no Flow exists with Bucket <UUID>, Flow <UUID, Version 2. Returning Bad > Request response. > Even though registry does include the referenced UUIDs in that log output. -- This message was sent by Atlassian JIRA (v7.6.3#76005)