kevdoran commented on code in PR #11330:
URL: https://github.com/apache/nifi/pull/11330#discussion_r3403960082


##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java:
##########
@@ -810,11 +810,12 @@ private FlowController(
         }
 
         eventAccess = new StandardEventAccess(flowManager, 
flowFileEventRepository, processScheduler, authorizer, provenanceRepository,
-                auditService, analyticsEngine, flowFileRepository, 
contentRepository);
+                auditService, analyticsEngine, flowFileRepository, 
contentRepository, connectorRepository);
 
         timerDrivenEngineRef.get().scheduleWithFixedDelay(() -> {
             try {
-                statusHistoryRepository.capture(getNodeStatusSnapshot(), 
eventAccess.getControllerStatus(), getGarbageCollectionStatus(), new Date());
+                statusHistoryRepository.capture(getNodeStatusSnapshot(), 
eventAccess.getControllerStatus(), eventAccess.getConnectorStatuses(),

Review Comment:
   Great question. I was considering a follow up, git it looks trivial so I 
will add it to this PR.



##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java:
##########
@@ -810,11 +810,12 @@ private FlowController(
         }
 
         eventAccess = new StandardEventAccess(flowManager, 
flowFileEventRepository, processScheduler, authorizer, provenanceRepository,
-                auditService, analyticsEngine, flowFileRepository, 
contentRepository);
+                auditService, analyticsEngine, flowFileRepository, 
contentRepository, connectorRepository);
 
         timerDrivenEngineRef.get().scheduleWithFixedDelay(() -> {
             try {
-                statusHistoryRepository.capture(getNodeStatusSnapshot(), 
eventAccess.getControllerStatus(), getGarbageCollectionStatus(), new Date());
+                statusHistoryRepository.capture(getNodeStatusSnapshot(), 
eventAccess.getControllerStatus(), eventAccess.getConnectorStatuses(),

Review Comment:
   Great question. I was considering a follow up, but it looks trivial so I 
will add it to this PR.



-- 
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