pvillard31 commented on code in PR #10696:
URL: https://github.com/apache/nifi/pull/10696#discussion_r2653340585


##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/audit/ProcessGroupAuditor.java:
##########
@@ -273,6 +276,21 @@ private List<Action> getComponentActions(final String 
groupId, final Collection<
             port = processGroup.findOutputPort(componentId);
             if (port != null) {
                 actions.add(generateUpdateConnectableAction(port, operation, 
Component.OutputPort));
+                continue;
+            }
+
+            ProcessGroup internalProcessGroup = 
processGroup.findProcessGroup(componentId);
+            if (internalProcessGroup != null) {
+                
actions.add(generateUpdateProcessGroupAction(internalProcessGroup, operation));
+                continue;
+            }
+
+            RemoteGroupPort remoteGroupPort = 
processGroup.findRemoteGroupPort(componentId);
+            if (remoteGroupPort != null) {
+                RemoteProcessGroup remoteProcessGroup = 
remoteGroupPort.getRemoteProcessGroup();
+                if (remoteProcessGroup != null) {
+                    
actions.add(generateUpdateRemoteProcessGroupAction(remoteProcessGroup, 
operation));
+                }
             }

Review Comment:
   Thanks for the references, that makes sense



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to