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

This closes #1766.

Signed-off-by: Bryan Bende <bbende@apache.org>
This commit is contained in:
joewitt 2017-05-05 19:44:20 -04:00 committed by Bryan Bende
parent 829c02b058
commit f4f174b899
No known key found for this signature in database
GPG Key ID: A0DDA9ED50711C39
4 changed files with 27 additions and 9 deletions

13
NOTICE
View File

@ -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

View File

@ -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,"

View File

@ -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 {
}
}
}

View File

@ -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
******************