nifi/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-s...
exceptionfactory 6039095625
NIFI-9267 Replaced nifi-standard-web-test-utils with mockwebserver
- Replaced instances of custom Jetty TestServer with OkHttp MockWebServer
- Removed integration tests referencing nifi-standard-web-test-utils SslContextUtils
- Removed nifi-standard-web-test-utils

Signed-off-by: Joe Gresock <jgresock@gmail.com>

This closes #5620.
2022-01-09 05:25:32 -05:00
..
src NIFI-9267 Replaced nifi-standard-web-test-utils with mockwebserver 2022-01-09 05:25:32 -05:00
README.md NIFI-8002: 2021-10-04 19:27:12 -04:00
pom.xml NIFI-9267 Replaced nifi-standard-web-test-utils with mockwebserver 2022-01-09 05:25:32 -05:00

README.md

Elasticsearch Client Service

Integration Tests

The nifi-elasticsearch-client-service component build allows for optional Integration Tests to be executed to verify additional functionality.

The Integration Tests create an in-memory instance of Elasticsearch, populate it with known data, perform operations upon the instance and verify the results.

These can be activated by running the following build commands:

Elasticsearch 5

Test integration with Elasticsearch 5.x:

mvn -P integration-tests,elasticsearch-oss clean verify

Elasticsearch 6

Test integration with Elasticsearch 6.x:

mvn -P integration-tests,elasticsearch-oss,elasticsearch-6 clean verify

Elasticsearch 7

Test integration with Elasticsearch 7.x:

With X-Pack

Allows for testing of some X-Pack only features such as "Point in Time" querying:

mvn -P integration-tests,elasticsearch-default,elasticsearch-7 clean verify

Without X-Pack

mvn -P integration-tests,elasticsearch-oss,elasticsearch-7 clean verify