pkedvessy commented on code in PR #9281:
URL: https://github.com/apache/nifi/pull/9281#discussion_r1770887686
##########
minifi/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-framework-core/src/main/java/org/apache/nifi/minifi/c2/C2NifiClientService.java:
##########
@@ -367,4 +368,27 @@ private List<ProcessorBulletin> getBulletins(int
processorBulletinLimit) {
}
return new ArrayList<>();
}
+
+ private List<ProcessorStatus> getProcessorStatus() {
+ return flowController.getEventAccess()
+ .getGroupStatus(ROOT_GROUP_ID)
+ .getProcessorStatus()
+ .stream()
+ .map(status -> {
+ ProcessorStatus processorStatus = new ProcessorStatus();
Review Comment:
I followed the patter what was used for 'queues' here as well but for sure
I can extract the initiation of ProcessorStatus into a separate method.
--
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]