Simon Bence created NIFI-12176:
----------------------------------
Summary: Registry client id handling
Key: NIFI-12176
URL: https://issues.apache.org/jira/browse/NIFI-12176
Project: Apache NiFi
Issue Type: Bug
Reporter: Simon Bence
Assignee: Simon Bence
Fix For: 2.latest
As discovered in [PR7661|https://github.com/apache/nifi/pull/7661], due to the
support of the previous iteration, the id handling of registry clients are
duplicated (supporting id, identifier and instance identifier). Because of
this, there are some discrapencies with the JSON based flow synchronization
might lead to the following error:
`Proposed Flow is not inheritable by the flow controller because of differences
in missing components: Current flow has missing components that are not
considered missing in the proposed flow
(65b71b80-016e-1000-7131-40b0976ac45966)`
In order to close this gap, id handling of registry clients should be cleaned
up. The main focus of this story is to remove the deprecated id field from
`VersionedFlowRegistryClient` and the usage of the field. Also, it needs to be
checked if the JSON based flow synchronization works properly afterward.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)