This is an automated email from the ASF dual-hosted git repository.

mattyb149 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 61e1a37d2e NIFI-10228: parse json flow using instanceIdentifier as the 
UUID
61e1a37d2e is described below

commit 61e1a37d2ef5cf6c9cba33b6c3f2d203d5b7e42c
Author: Mark Bean <[email protected]>
AuthorDate: Wed Jul 13 19:27:45 2022 -0400

    NIFI-10228: parse json flow using instanceIdentifier as the UUID
    
    Signed-off-by: Matthew Burgess <[email protected]>
    
    This closes #6217
---
 .../src/main/java/org/apache/nifi/util/FlowParser.java                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/FlowParser.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/FlowParser.java
index a1302500e5..1918e33840 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/FlowParser.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/FlowParser.java
@@ -180,7 +180,7 @@ public class FlowParser {
         mapPorts(rootGroup.getInputPorts(), ports);
         mapPorts(rootGroup.getOutputPorts(), ports);
 
-        return new FlowInfo(rootGroup.getIdentifier(), ports);
+        return new FlowInfo(rootGroup.getInstanceIdentifier(), ports);
     }
 
     private void mapPorts(final Set<VersionedPort> versionedPorts, final 
List<PortDTO> portDtos) {

Reply via email to