You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by bb...@apache.org on 2017/05/06 00:00:45 UTC

nifi git commit: NIFI-3826 added proper NOTICE entries for apache calcite and maxmind source

Repository: nifi
Updated Branches:
  refs/heads/master 829c02b05 -> f4f174b89


NIFI-3826 added proper NOTICE entries for apache calcite and maxmind source

This closes #1766.

Signed-off-by: Bryan Bende <bb...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/f4f174b8
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/f4f174b8
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/f4f174b8

Branch: refs/heads/master
Commit: f4f174b899bd1278dffea343c688cab7b07851fd
Parents: 829c02b
Author: joewitt <jo...@apache.org>
Authored: Fri May 5 19:44:20 2017 -0400
Committer: Bryan Bende <bb...@apache.org>
Committed: Fri May 5 20:00:22 2017 -0400

----------------------------------------------------------------------
 NOTICE                                                 | 13 +++++++++++++
 .../org/apache/nifi/processors/TestGeoEnrichIP.java    | 12 ++++++------
 .../org/apache/nifi/processors/TestISPEnrichIP.java    |  3 ---
 .../src/main/resources/META-INF/NOTICE                 |  8 ++++++++
 4 files changed, 27 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/f4f174b8/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index b681274..c75371e 100644
--- a/NOTICE
+++ b/NOTICE
@@ -37,3 +37,16 @@ This includes derived works from Elastic Logstash (https://github.com/elastic/lo
   Copyright 2014 Anthony Corbacho, and contributors.
   The derived work consists in modifications from patterns/grok-patterns
   and can be found in the file nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/resources/TestExtractGrok/patterns
+
+This includes derived works from Maxmind GeoIP2 Java available under Apache Software License V2.  Portions of test code found in
+  https://github.com/maxmind/GeoIP2-java/blob/v2.2.0/src/test/java/com/maxmind/geoip2/TestTransport.java
+  Copyright (c) 2013 by MaxMind, Inc.
+  Are used in unit tests found in nifi/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java
+
+This includes derived works from Apache Calcite available under Apache Software License V2.  Portions of code found in 
+  https://github.com/apache/calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvProjectTableScanRule.java
+  and 
+  https://github.com/apache/calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableScan.java
+  Copyright 2012-2017 The Apache Software Foundation
+  The code can be found in nifi-nar-bundles/nifi-standard-nar/nifi-standard-processors/../FlowFileProjectTableScanRule
+  and nifi-nar-bundles/nifi-standard-nar/nifi-standard-processors/../FlowFileTableScan

http://git-wip-us.apache.org/repos/asf/nifi/blob/f4f174b8/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java
index e3e86dc..62a8f1e 100644
--- a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java
+++ b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java
@@ -286,12 +286,12 @@ public class TestGeoEnrichIP {
 
     private CityResponse getFullCityResponse() throws Exception {
         // Taken from MaxMind unit tests.
-        final String maxMindCityResponse = "{" + "\"city\":{" + "\"confidence\":76,"
-            + "\"geoname_id\":9876," + "\"names\":{" + "\"en\":\"Minneapolis\""
-            + "}" + "}," + "\"continent\":{" + "\"code\":\"NA\","
-            + "\"geoname_id\":42," + "\"names\":{" + "\"en\":\"North America\""
-            + "}" + "}," + "\"country\":{" + "\"confidence\":99,"
-            + "\"iso_code\":\"US\"," + "\"geoname_id\":1," + "\"names\":{"
+        final String maxMindCityResponse = "{\"city\":{\"confidence\":76,"
+            + "\"geoname_id\":9876,\"names\":{\"en\":\"Minneapolis\""
+            + "}},\"continent\":{\"code\":\"NA\","
+            + "\"geoname_id\":42,\"names\":{" + "\"en\":\"North America\""
+            + "}},\"country\":{\"confidence\":99,"
+            + "\"iso_code\":\"US\",\"geoname_id\":1,\"names\":{"
             + "\"en\":\"United States of America\"" + "}" + "},"
             + "\"location\":{" + "\"accuracy_radius\":1500,"
             + "\"latitude\":44.98," + "\"longitude\":93.2636,"

http://git-wip-us.apache.org/repos/asf/nifi/blob/f4f174b8/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestISPEnrichIP.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestISPEnrichIP.java b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestISPEnrichIP.java
index d1dcf9c..0b1c06e 100644
--- a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestISPEnrichIP.java
+++ b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestISPEnrichIP.java
@@ -270,7 +270,6 @@ public class TestISPEnrichIP {
     }
 
     private IspResponse getIspResponse() throws Exception {
-        // Taken from MaxMind unit tests.
         final String maxMindIspResponse = "{\n" +
             "         \"isp\" : \"Apache NiFi - Test ISP\",\n" +
             "         \"organization\" : \"Apache NiFi - Test Organization\",\n" +
@@ -286,7 +285,6 @@ public class TestISPEnrichIP {
         return new ObjectMapper().reader(IspResponse.class).with(inject).readValue(maxMindIspResponse);
 
     }    private IspResponse getIspResponseWithoutASNDetail() throws Exception {
-        // Taken from MaxMind unit tests.
         final String maxMindIspResponse = "{\n" +
             "         \"isp\" : \"Apache NiFi - Test ISP\",\n" +
             "         \"organization\" : \"Apache NiFi - Test Organization\",\n" +
@@ -310,5 +308,4 @@ public class TestISPEnrichIP {
         }
     }
 
-
 }

http://git-wip-us.apache.org/repos/asf/nifi/blob/f4f174b8/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-nar/src/main/resources/META-INF/NOTICE
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-nar/src/main/resources/META-INF/NOTICE b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-nar/src/main/resources/META-INF/NOTICE
index 6a88d5f..05a1482 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-nar/src/main/resources/META-INF/NOTICE
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-nar/src/main/resources/META-INF/NOTICE
@@ -12,6 +12,14 @@ This includes derived works from the Apache Software License V2 library Jolt (ht
   The derived work is adapted from com.bazaarvoice.jolt.chainr.ChainrBuilder.java, com.bazaarvoice.jolt.chainr.spec.ChainrSpec.java,
   com.bazaarvoice.jolt.chainr.spec.ChainrEntry.java and can be found in the org.apache.nifi.processors.standard.util.jolt.TransformFactory.java class.
 
+This includes derived works from Apache Calcite available under Apache Software License V2.  Portions of code found in 
+  https://github.com/apache/calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvProjectTableScanRule.java
+  and 
+  https://github.com/apache/calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableScan.java
+  Copyright 2012-2017 The Apache Software Foundation
+  The code can be found in nifi-nar-bundles/nifi-standard-nar/nifi-standard-processors/../FlowFileProjectTableScanRule
+  and nifi-nar-bundles/nifi-standard-nar/nifi-standard-processors/../FlowFileTableScan
+
 ******************
 Apache Software License v2
 ******************