[ 
https://issues.apache.org/jira/browse/NIFI-9678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498547#comment-17498547
 ] 

Chris Sampson commented on NIFI-9678:
-------------------------------------

The maven plugin currently in use may no longer be an option (linked issue 
comments suggest it may not be updated).

Unfortunately, Elastic don't currently provide much guidance on integration 
testing for (external) application testers, having removed what they previously 
documented and opened an issue to add something back in, but that was a couple 
of years ago - https://github.com/elastic/elasticsearch/issues/55258. The 
discussion does include a few suggested links, including to the plugin that is 
already used.

The likely alternative would be TestContainers and Docker, but that means 
introducing the requirement for Docker for anyone wanting to run these 
integration tests within nifi, which would be unfortunate but not the only 
place using docker within the framework.

> Elasticsearch REST API processors should support Elasticsearch 8.x
> ------------------------------------------------------------------
>
>                 Key: NIFI-9678
>                 URL: https://issues.apache.org/jira/browse/NIFI-9678
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Chris Sampson
>            Priority: Major
>
> [Elasticsearch 8.0.0 was released 
> 10/02/2022|https://www.elastic.co/blog/whats-new-elastic-8-0-0].
> The {{nifi-elasticsearch-restapi-processors}} should be checked for 
> compatibility and updated if there are any problems (supporting backwards 
> compatibility to at least Elasticsearch 7.x and ideally 6.x).
> If nothing else, the [integration 
> tests|https://github.com/apache/nifi/tree/main/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/test/groovy/org/apache/nifi/elasticsearch/integration]
>  should be [updated to run against the new Elasticsearch 
> version|https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/pom.xml#L243]
>  and checked for success.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to