You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2025/08/25 16:19:25 UTC

(nifi) branch main updated: NIFI-14902 Add flow name and registry info to RegisteredFlowSnapshotMetadata in AbstractEventAccess (#10240)

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

exceptionfactory 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 814298ba87 NIFI-14902 Add flow name and registry info to RegisteredFlowSnapshotMetadata in AbstractEventAccess (#10240)
814298ba87 is described below

commit 814298ba8755e5894798682a0a79d6bd29e2c8b2
Author: Pierre Villard <pi...@gmail.com>
AuthorDate: Mon Aug 25 18:19:20 2025 +0200

    NIFI-14902 Add flow name and registry info to RegisteredFlowSnapshotMetadata in AbstractEventAccess (#10240)
    
    Signed-off-by: David Handermann <ex...@apache.org>
---
 .../src/main/java/org/apache/nifi/reporting/AbstractEventAccess.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/reporting/AbstractEventAccess.java b/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/reporting/AbstractEventAccess.java
index 1d0df564f0..c0281fb8bd 100644
--- a/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/reporting/AbstractEventAccess.java
+++ b/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/reporting/AbstractEventAccess.java
@@ -546,6 +546,9 @@ public abstract class AbstractEventAccess implements EventAccess {
             registeredFlowSnapshotMetadata.setBucketIdentifier(vci.getBucketIdentifier());
             registeredFlowSnapshotMetadata.setFlowIdentifier(vci.getFlowIdentifier());
             registeredFlowSnapshotMetadata.setVersion(vci.getVersion());
+            registeredFlowSnapshotMetadata.setFlowName(vci.getFlowName());
+            registeredFlowSnapshotMetadata.setRegistryIdentifier(vci.getRegistryIdentifier());
+            registeredFlowSnapshotMetadata.setRegistryName(vci.getRegistryName());
             status.setRegisteredFlowSnapshotMetadata(registeredFlowSnapshotMetadata);
             try {
                 final VersionedFlowStatus flowStatus = vci.getStatus();