markap14 commented on a change in pull request #4669:
URL: https://github.com/apache/nifi/pull/4669#discussion_r525218088
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java
##########
@@ -109,6 +123,12 @@ public static ExtensionMapping unpackNars(final
NiFiProperties props, final Bund
// get the manifest for this nar
try (final JarFile nar = new JarFile(narFile)) {
BundleCoordinate bundleCoordinate =
createBundleCoordinate(nar.getManifest());
+
+ if (!narFilter.test(bundleCoordinate)) {
+ logger.info("Will not expand NAR {} because it
does not match the provided filter", bundleCoordinate);
Review comment:
No, that probably should be a DEBUG log. Thanks.
----------------------------------------------------------------
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:
[email protected]