nifi/nifi-nar-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/pom.xml

198 lines
7.9 KiB
XML
Raw Normal View History

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with this
work for additional information regarding copyright ownership. The ASF licenses
this file to You under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may obtain
a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License. -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-lookup-services-bundle</artifactId>
<version>1.12.1-SNAPSHOT</version>
</parent>
<artifactId>nifi-lookup-services</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-processor-utils</artifactId>
<version>1.12.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-lookup-service-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-distributed-cache-client-service-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-utils</artifactId>
<version>1.12.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record</artifactId>
</dependency>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-expression-language</artifactId>
<version>1.12.1-SNAPSHOT</version>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
<version>2.7</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
</dependency>
<dependency>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
<version>2.12.0</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-database-utils</artifactId>
<version>1.12.1-SNAPSHOT</version>
</dependency>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-serialization-service-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ssl-context-service-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-path</artifactId>
<version>1.12.1-SNAPSHOT</version>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-dbcp-service-api</artifactId>
<version>1.12.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.burgstaller</groupId>
<artifactId>okhttp-digest</artifactId>
<version>1.18</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mock</artifactId>
<version>1.12.1-SNAPSHOT</version>
<scope>test</scope>
</dependency>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mock-record-utils</artifactId>
<version>1.12.1-SNAPSHOT</version>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-proxy-configuration-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-serialization-services</artifactId>
<version>1.12.1-SNAPSHOT</version>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-schema-registry-service-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-web-test-utils</artifactId>
<version>1.12.1-SNAPSHOT</version>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.11.1.1</version>
<scope>test</scope>
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
</dependency>
NIFI-5254 Upgraded Groovy to version 2.5.4 Updated pom files regarding groovy dependencies. groovy-all was changed to a pom type dependency Added Groovy Bintray as a plugin repository in root pom Upgraded spock-core to version 1.3-groovy-2.5 and added exclusion of groovy dependencies to force spock to use the version from dependencyManagement Updated groovy-eclipse-batch to use the groovy.version property to determine the version Updated groovy-eclipse-compiler to 3.4.0-01 Updated maven-compiler-plugin to use maven.compiler.source and maven.compiler.target properties for source and target configuration properties Removed configuration and dependencies sections from nifi-toolkit-admin and nifi-toolkit-encrypt-config maven-compiler-plugin configurations so that the configuration from the root pom's maven-compiler-plugin is inherited Removed dependencyManagement from nifi-jetty module, version of groovy modules will be inherited from root pom Removed maven-compiler-plugin configuration from nifi-toolkit-api so that the configuration from the root pom's maven-compiler-plugin is inherited Updated spock-core dependencyManagement to 1.3-groovy-2.5 Fixed AESSensitivePropertyProviderTest issue with Groovy creating KEY_256_HEX slice of the wrong size due to BigDecimal being used as the result of the division; using intdiv to force an integer result creates the correctly sized array Added groovy-json test dependency to nifi-web-security Removed maven-compiler-plugin configuration from nifi-lookup-services, nifi-mock-record-utils, and nifi-web-utils so that the configuration from the root pom's maven-compiler-plugin is inherited Updated root pom pluginManagement to specify version 3.8.0 of maven-compiler-plugin Added maven-compiler-plugin config to nifi-toolkit-admin and nifi-toolkit-encrypt-config to use groovy-eclipse-compiler during the compile phase so that the groovy-based tools are compiled Addressed deprecated CliBuilder and OptionAccessor usage in nifi-toolkit-encrypt-config, those classes were moved from groovy.util to groovy.cli.commons Removed getInner() usage from nifi-toolkit-encrypt-config, method no longer exists causing the tests to crash Updated CryptographicHashAttributeTest to use java.time classes instead of java.util.Date Updated nifi root POM's groovy-test dependency to be test-scoped Added properties for specifying groovy versions for several modules: nifi, nifi-groovyx-bundle, nifi-scripting-bundle, nifi-toolkit Established dependency management for groovy-all:pom:2.5.4, and added that dependency to several modules: nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-admin, nifi-toolkit-encrypt-config Added groovy version property usage to several modules that established a dependency on a groovy submodule that was not listed in its own or inherited dependency management Removed unused build-helper-maven-plugin from nifi-toolkit-api's POM Removed unnecessary groovy-eclipse-compiler build plugin config from nifi-web-utils' POM to use the inherited config for that plugin Updated several modules' NOTICEs to include appropriate Groovy NOTICE content Updated to list groovy-all:pom:2.5.4 and its transitive submodule dependencies to nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, and nifi-toolkit-assembly NOTICEs Added missing groovy-all:jar:2.1.6 NOTICE to nifi-hive-nar and nifi-hive_1_1-nar NOTICEs Added missing groovy-all:jar:2.4.11 NOTICE to nifi-hive3-nar NOTICE Updated to list groovy-all:jar:2.4.16 nifi-other-graph-services-nar NOTICE Removed Groovy NOTICE content from nifi-record-serialization-services-nar NOTICE, no Groovy modules are included in the NAR NIFI-5254 Updated several modules' NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with Groovy modules which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-hive-nar, nifi-hive3-nar, nifi-hive_1_1-nar, nifi-other-graph-services-nar, nifi-scripting-nar, nifi-toolkit-assembly NIFI-5254 Updated NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with modules used by Groovy 2.5.4 which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-assembly. The following modules' LICENSE and NOTICE content were added: Apache Ant, Apache Commons CLI, JLine, JUnit Platform/Jupiter This closes #3547 Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2019-06-24 14:35:21 -04:00
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-json</artifactId>
<version>${nifi.groovy.version}</version>
<scope>test</scope>
</dependency>
NIFI-7407 Replaced SSLContextFactory references to "TLS" with "TLSv1.2" (in shared constant). Changed JettyServer default SSL initialization and updated unit test. Removed SecurityStoreTypes (unused). Added StringUtils inverted blank and empty checks. Added TlsConfiguration container object. Enhanced KeystoreType enum. Added clean #createSSLContext() method to serve as base method for special cases/other method signatures. Added utility methods in KeyStoreUtils. Added generic TlsException for callers that cannot resolve TLS-specific exceptions. Added utility methods for component object debugging. Enforced TLS protocol version on cluster comms socket creation. Added utility method for SSL server socket creation. Refactored (Server)SocketConfigurationFactoryBean to store relevant NiFiProperties in TlsConfiguration instead of stateful SSLContextFactory (Cluster comms now enforce modern TLS protocol version). Removed duplicate SSLContextFactory. Switched duplicate SslContextFactory to wrap shared SSLContextFactory. Refactored SslContextFactoryTest for clarity (will move any unique tests to nifi-security-utils class test). Added further validation & boundary checking in uses of TlsConfiguration. Provided SSLSocketFactory accessor in SslContextFactory. Refactored OkHttpReplicationClient tuple method. Refactored OcspCertificateValidator TLS logic. Added utility method to apply TLS configs to OkHttpClientBuilder. Removed references to duplicate SslContextFactory. Removed unnecessary SslContextFactory. Moved OkHttpClientUtils to nifi-web-util module. Updated module dependencies. Removed now empty nifi-security module. Enforced TLS protocol selection on LB server socket. Enforced TLS protocol selection on S2S server socket. Applied specified TLS protocol versions to S2S socket creation. Completed removal of legacy SSLContext creation methods from only remaining SslContextFactory. Replaced references to creation methods throughout codebase. Replaced references to unnecessary NiFiProperties file reads throughout tests. Removed duplicate ClientAuth enum from SSLContextService and changed all references to SslContextFactory.ClientAuth. Suppressed repeated TLS exceptions in cluster, S2S, and load balance socket listeners. Cleaned up legacy code. Added external timing check to timing test assertion. Made RestrictedSSLContextService TLS protocol versions allowable values explicit. Enabled TLSv1.3 on Java 11. Added explanations of TLS protocol versions in StandardSSLContextService and StandardRestrictedSSLContextService. Resolved additional Java 11 test failures for NiFi internal classes that don't support TLSv1.3. Filed NIFI-7468 as follow on task. This closes #4263. Signed-off-by: Nathan Gough <thenatog@gmail.com> Signed-off-by: Mark Payne <markap14@hotmail.com>
2020-04-28 20:03:13 -04:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-web-utils</artifactId>
<version>1.12.1-SNAPSHOT</version>
NIFI-7407 Replaced SSLContextFactory references to "TLS" with "TLSv1.2" (in shared constant). Changed JettyServer default SSL initialization and updated unit test. Removed SecurityStoreTypes (unused). Added StringUtils inverted blank and empty checks. Added TlsConfiguration container object. Enhanced KeystoreType enum. Added clean #createSSLContext() method to serve as base method for special cases/other method signatures. Added utility methods in KeyStoreUtils. Added generic TlsException for callers that cannot resolve TLS-specific exceptions. Added utility methods for component object debugging. Enforced TLS protocol version on cluster comms socket creation. Added utility method for SSL server socket creation. Refactored (Server)SocketConfigurationFactoryBean to store relevant NiFiProperties in TlsConfiguration instead of stateful SSLContextFactory (Cluster comms now enforce modern TLS protocol version). Removed duplicate SSLContextFactory. Switched duplicate SslContextFactory to wrap shared SSLContextFactory. Refactored SslContextFactoryTest for clarity (will move any unique tests to nifi-security-utils class test). Added further validation & boundary checking in uses of TlsConfiguration. Provided SSLSocketFactory accessor in SslContextFactory. Refactored OkHttpReplicationClient tuple method. Refactored OcspCertificateValidator TLS logic. Added utility method to apply TLS configs to OkHttpClientBuilder. Removed references to duplicate SslContextFactory. Removed unnecessary SslContextFactory. Moved OkHttpClientUtils to nifi-web-util module. Updated module dependencies. Removed now empty nifi-security module. Enforced TLS protocol selection on LB server socket. Enforced TLS protocol selection on S2S server socket. Applied specified TLS protocol versions to S2S socket creation. Completed removal of legacy SSLContext creation methods from only remaining SslContextFactory. Replaced references to creation methods throughout codebase. Replaced references to unnecessary NiFiProperties file reads throughout tests. Removed duplicate ClientAuth enum from SSLContextService and changed all references to SslContextFactory.ClientAuth. Suppressed repeated TLS exceptions in cluster, S2S, and load balance socket listeners. Cleaned up legacy code. Added external timing check to timing test assertion. Made RestrictedSSLContextService TLS protocol versions allowable values explicit. Enabled TLSv1.3 on Java 11. Added explanations of TLS protocol versions in StandardSSLContextService and StandardRestrictedSSLContextService. Resolved additional Java 11 test failures for NiFi internal classes that don't support TLSv1.3. Filed NIFI-7468 as follow on task. This closes #4263. Signed-off-by: Nathan Gough <thenatog@gmail.com> Signed-off-by: Mark Payne <markap14@hotmail.com>
2020-04-28 20:03:13 -04:00
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes combine.children="append">
NIFI-5214 Added REST LookupService NIFI-5214 Added support for the new ProxyConfigurationService NIFI-5214 Integration tests added. NIFI-5214 Added missing pom.xml and a change from a code review. NIFI-5214 Added another tag based on code review. NIFI-5214 Added user-defined header support. NIFI-5214 Added Basic Auth support. NIFI-5214 Moved documentation. NIFI-5214 Fixed checkstyle issues; added changes requested in a review. NIFI-5214 Added changes requested in a code review. NIFI-5214 Added verb test and @DynamicProperties NIFI-5214 Added templated URL support to RestLookupService. NIFI-5214 Fixed documentation based on code review changes. NIFI-5214 Changed RestLookupService to use a property descriptor. NIFI-5214 Updated documentation. NIFI-5214 Made changes requested in code review. NIFI-5214 Renamed nifi-standard-web-utils to reflect that it is for tests. NIFI-5214: Refactor RestLookupService. 1. Added 'Base URL' property to address environment specific part of URL. 2. Removed 'Record Path Property Name' property, because the name of a resulted record field of a record path can be obtained by field name. 3. Lower cased HTTP method name should be used throughout. 4. Added mimeType require check when body is specified. 5. Added debug log to print HTTP response code. 6. Prepare for NIFI-5287. 7. Fixed that mime.type being used regardless of whether body is specified or not, caused NullPointerException when 'mime.type' is not specified when it is not required. 8. Updated documentation. NIFI-5214 Fixed AWS processors that broke w/ change to TestServer location. NIFI-5214 Added changes requested in a code review. Refactored the way to evaluate EL for URL property - Use PropertyValue instead of PreparedQuery to utilize Variable Registry. - Removed BASE_URL because Variable Registry can be used at URL NIFI-5214 Rebased to use new LookupService method. This closes #2723. Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
2018-05-18 20:08:41 -04:00
<exclude>src/test/resources/complex.avsc</exclude>
<exclude>src/test/resources/simple.avsc</exclude>
<exclude>src/test/resources/test.csv</exclude>
<exclude>src/test/resources/test_Windows-31J.csv</exclude>
<exclude>src/test/resources/test.properties</exclude>
<exclude>src/test/resources/test.xml</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>