You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/04/01 13:41:50 UTC
[GitHub] [nifi] mcgilman commented on a change in pull request #4955: NIFI-8386: Ensure that we set (and merge) bulletins when creating Aff…
mcgilman commented on a change in pull request #4955:
URL: https://github.com/apache/nifi/pull/4955#discussion_r605641574
##########
File path: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java
##########
@@ -2857,7 +2857,14 @@ public AffectedComponentEntity createAffectedComponentEntity(final ComponentNode
}
}
- return entityFactory.createAffectedComponentEntity(affectedComponent, revision, permissions, groupNameDto);
+ final List<BulletinDTO> bulletins = createBulletins(componentNode);
+ return entityFactory.createAffectedComponentEntity(affectedComponent, revision, permissions, groupNameDto, bulletins);
+ }
+
+ private List<BulletinDTO> createBulletins(final ComponentNode componentNode) {
+ final PermissionsDTO permissions = createPermissionsDto(componentNode);
Review comment:
This is unused.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org