metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattf-horton <...@git.apache.org>
Subject [GitHub] metron issue #530: METRON-777 Metron Extension System and Parser Extensions
Date Thu, 27 Jul 2017 21:06:00 GMT
Github user mattf-horton commented on the issue:

    https://github.com/apache/metron/pull/530
  
    In bundles-lib/, possibly incorrect usages of nar, which should -> bundle:
    ```
    bundles-lib//src/main/java/org/apache/metron/bundles/bundle/BundleDetails.java:     *
Builder for NarDetails.
    bundles-lib//src/main/java/org/apache/metron/bundles/BundleClassLoaders.java:        
   // load the bundle details which includes and nar dependencies [grammar?]
    bundles-lib//src/main/java/org/apache/metron/bundles/BundleClassLoaders.java:        
logger.warn(String.format("While loading '%s' unable to locate exact NAR dependency '%s'.
Only found one possible match '%s'. Continuing...",
    bundles-lib//src/main/java/org/apache/metron/bundles/ExtensionManager.java:          
 // The NAR system uses the ServiceLoader, but this chokes on abstract classes, because for
some
    ```
    Test subdirectory:
    ```
    bundles-lib//src/test/java/org/apache/metron/bundles/BundleUtilTest.java:        assertEquals("nifi-hadoop-nar",
bundleDetails.getCoordinate().getId());
    bundles-lib//src/test/java/org/apache/metron/bundles/BundleUtilTest.java:        assertEquals("nifi-hadoop-libraries-nar",
bundleDetails.getDependencyCoordinate().getId());
    bundles-lib//src/test/java/org/apache/metron/bundles/BundleUtilTest.java:        assertEquals("nifi-hadoop-nar",
bundleDetails.getCoordinate().getId());
    bundles-lib//src/test/java/org/apache/metron/bundles/BundleUtilTest.java:        assertEquals("nifi-hadoop-libraries-nar",
bundleDetails.getDependencyCoordinate().getId());
    bundles-lib//src/test/java/org/apache/metron/bundles/BundleUtilTest.java:        assertEquals("nifi-hadoop-nar",
bundleDetails.getCoordinate().getId());
    bundles-lib//src/test/resources/bundle.properties:bundle.meta.id.prefix=Nar
    bundles-lib//src/test/resources/BundleUnpacker/conf/bundle.properties:bundle.meta.id.prefix=Nar
    bundles-lib//src/test/resources/utils-bundles/bundle-with-versioning/META-INF/MANIFEST.MF:Nar-Group:
org.apache.nifi
    bundles-lib//src/test/resources/utils-bundles/bundle-with-versioning/META-INF/MANIFEST.MF:Nar-Id:
nifi-hadoop-nar
    bundles-lib//src/test/resources/utils-bundles/bundle-with-versioning/META-INF/MANIFEST.MF:Nar-Version:
1.2.0
    bundles-lib//src/test/resources/utils-bundles/bundle-with-versioning/META-INF/MANIFEST.MF:Nar-Dependency-Group:
org.apache.nifi.hadoop
    bundles-lib//src/test/resources/utils-bundles/bundle-with-versioning/META-INF/MANIFEST.MF:Nar-Dependency-Id:
nifi-hadoop-libraries-nar
    bundles-lib//src/test/resources/utils-bundles/bundle-with-versioning/META-INF/MANIFEST.MF:Nar-Dependency-Version:
1.2.1
    bundles-lib//src/test/resources/utils-bundles/bundle-without-dependency/META-INF/MANIFEST.MF:Nar-Group:
org.apache.nifi
    bundles-lib//src/test/resources/utils-bundles/bundle-without-dependency/META-INF/MANIFEST.MF:Nar-Id:
nifi-hadoop-nar
    bundles-lib//src/test/resources/utils-bundles/bundle-without-dependency/META-INF/MANIFEST.MF:Nar-Version:
1.2.0
    bundles-lib//src/test/resources/utils-bundles/bundle-without-versioning/META-INF/MANIFEST.MF:Nar-Id:
nifi-hadoop-nar
    bundles-lib//src/test/resources/utils-bundles/bundle-without-versioning/META-INF/MANIFEST.MF:Nar-Dependency-Id:
nifi-hadoop-libraries-nar
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message