nifi/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-s.../pom.xml

364 lines
15 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-elasticsearch-bundle</artifactId>
<version>1.16.0-SNAPSHOT</version>
</parent>
<artifactId>nifi-elasticsearch-client-service</artifactId>
<packaging>jar</packaging>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
<properties>
<!-- use with integration-tests only -->
<es.int.version>5.6.16</es.int.version>
<es.int.script.name>setup-5.script</es.int.script.name>
<es.int.type.name>faketype</es.int.type.name>
<es.int.path.conf>src/test/resources/conf-5/</es.int.path.conf>
<es.int.clusterName>testCluster</es.int.clusterName>
<es.int.transportPort>9500</es.int.transportPort>
<es.int.httpPort>9400</es.int.httpPort>
<es.int.timeout>90</es.int.timeout>
<es.int.logLevel>ERROR</es.int.logLevel>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
</properties>
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-lookup-service-api</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-utils</artifactId>
<version>1.16.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-distributed-cache-client-service-api</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ssl-context-service-api</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-proxy-configuration-api</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-elasticsearch-client-service-api</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-avro-record-utils</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-schema-registry-service-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-path</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.github.stephenc.findbugs</groupId>
<artifactId>findbugs-annotations</artifactId>
<version>1.3.9-1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<!-- stopped at 7.13.4 as it is the last version prior to Elastic forcing the client to check it is connecting
to an Elastic-provided Elasticsearch instead of an instance provided by someone else (e.g. AWS OpenSearch)
see: https://opensearch.org/blog/community/2021/08/community-clients/ for more info.
Note: the low-level elasticsearch-rest-client remains licensed with Apache 2.0
(https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_license.html) even after the move
of the main Elasticsearch product and elasticsearch-rest-high-level-client to Elastic 2.0/SSPL 1.0 in v7.11.0+ -->
<version>7.13.4</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-web-test-utils</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-security-utils</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mock</artifactId>
<version>1.16.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ssl-context-service</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>3.6.3</version>
<scope>test</scope>
</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>
</dependencies>
<profiles>
<profile>
<id>integration-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<!-- use 3.0.0-M3 due to a classpath/class loader issue in -M5, expected to be fixed in M6+ -->
<version>3.0.0-M3</version>
</plugin>
<plugin>
<groupId>com.github.alexcojocaru</groupId>
<artifactId>elasticsearch-maven-plugin</artifactId>
<version>6.19</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
<profile>
<!-- use with elasticsearch-oss only (-default can be used if x-pack-ml permissions fixed) -->
<id>elasticsearch-6</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
<properties>
<es.int.version>6.8.19</es.int.version>
<es.int.type.name>_doc</es.int.type.name>
<es.int.script.name>setup-6.script</es.int.script.name>
<es.int.path.conf />
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
</properties>
</profile>
<profile>
<!-- use with elasticsearch-oss or elasticsearch-default -->
<id>elasticsearch-7</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
<properties>
<es.int.version>7.10.2</es.int.version>
<es.int.script.name>setup-7.script</es.int.script.name>
<es.int.type.name />
<es.int.path.conf />
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
</properties>
</profile>
<profile>
<!-- OSS Elasticsearch (no XPack features); required for ES 5.x or < 6.3-->
<id>elasticsearch-oss</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<type_name>${es.int.type.name}</type_name>
<es_version>${es.int.version}</es_version>
<es_flavour>oss</es_flavour>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>com.github.alexcojocaru</groupId>
<artifactId>elasticsearch-maven-plugin</artifactId>
<configuration>
<clusterName>${es.int.clusterName}</clusterName>
<transportPort>${es.int.transportPort}</transportPort>
<httpPort>${es.int.httpPort}</httpPort>
<version>${es.int.version}</version>
<timeout>${es.int.timeout}</timeout>
<logLevel>${es.int.logLevel}</logLevel>
<pathInitScript>${project.basedir}/src/test/resources/${es.int.script.name}</pathInitScript>
<keepExistingData>false</keepExistingData>
<pathConf>${es.int.path.conf}</pathConf>
</configuration>
<executions>
<execution>
<id>start-elasticsearch</id>
<phase>pre-integration-test</phase>
<goals>
<goal>runforked</goal>
</goals>
</execution>
<execution>
<id>stop-elasticsearch</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Elasticsearch (default) with XPack (only for ES 6.3+ although there are XPack permission problems in 6.x startup) -->
<id>elasticsearch-default</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<type_name>${es.int.type.name}</type_name>
<es_version>${es.int.version}</es_version>
<es_flavour>default</es_flavour>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>com.github.alexcojocaru</groupId>
<artifactId>elasticsearch-maven-plugin</artifactId>
<configuration>
<flavour>default</flavour>
<clusterName>${es.int.clusterName}</clusterName>
<transportPort>${es.int.transportPort}</transportPort>
<httpPort>${es.int.httpPort}</httpPort>
NIFI-5248 Added new Elasticsearch processors. NIFI-5248 Fixed a few stray 1.7.0 references. NIFI-5248 Removed build helper plugin. NIFI-5248 Made changes requested in a review. NIFI-5248 Updated dummy service. NIFI-5248 Made a few changes from a code review. NIFI-5248 Added logic for removing nulls so record paths can be removed when no longer needed. NIFI-5248 Switched from variable registry to flowfile level EL. NIFI-5248 Added JsonPath code to remove index, id and type path statements. NIFI-5248 Updated validation. NIFI-5248 Set the field to null instead of empty string when nulling records. NIFI-5248 Fixed TestElasticSearchClientService. NIFI-5248 Removed high level client and switched over to low level client for everything. NIFI-5248 Added profiles for ES 6 and ES 7 integration testing. NIFI-5248 Updated integration tests to support 5 and 6. NIFI-5248 Fixed some style check breaks. NIFI-5248 Added create operation type. NIFI-5248 Updated documentation. NIFI-5248 Added error handling to PutElasticsearchRecord. NIFI-5248 Added error logging to PutElasticsearchJson. NIFI-5248 Added split failed records option to PutElasticsearchJson. NIFI-5248 Added documentation for PutElasticsearchRecord. NIFI-5248 Updated import to not use * import. NIFI-5248 Removed processor that is no longer relevant due to schema inference. NIFI-5248 Renamed ElasticSearch instances to Elasticsearch where we can within API guidelines. NIFI-5248 Added groovy-json test dependency. NIFI-5248 Updated PutElasticsearchRecord to only do index operations. NIFI-5248 Added batch size property and refactored the way relationships and properties are added. NIFI-5248 Added batch processing support. NIFI-5248 Updated error handling. NIFI-5248 Updated to 1.11.0-SNAPSHOT. NIFI-5248 Made changes requested in a code review. NIFI-5248 Made a few more changes from a code review. Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #2861
2018-07-08 14:51:12 -04:00
<version>${es.int.version}</version>
<timeout>${es.int.timeout}</timeout>
<logLevel>${es.int.logLevel}</logLevel>
<pathInitScript>${project.basedir}/src/test/resources/${es.int.script.name}</pathInitScript>
<keepExistingData>false</keepExistingData>
</configuration>
<executions>
<execution>
<id>start-elasticsearch</id>
<phase>pre-integration-test</phase>
<goals>
<goal>runforked</goal>
</goals>
</execution>
<execution>
<id>stop-elasticsearch</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>