NIFI-5292 Renamed ElasticSearch client service impl to show it is for…#2782
NIFI-5292 Renamed ElasticSearch client service impl to show it is for…#2782MikeThomsen wants to merge 4 commits intoapache:masterfrom
Conversation
|
Looked over the transitive dependencies and HdrHistogram (license info; appears public domain), Spatial4J (ASL v2) and SnakeYaml (ASL, unknown copyright) appear to be the only two needed to be added to the NOTICE for the v6 version. |
|
Hey @MikeThomsen when we discussed the renaming on the mailing list, I was under the impression that the Elasticsearch Client Service was new for 1.7.0. But it appears that it already has been released in 1.6.0. We need to avoid changing the names of components once they have been released because doing so would break users' flows. I think we need to keep the name nifi-elasticsearch-client-service and then we can use the name nifi-elasticsearch-client-service-6, etc. for the new one. Then we'd just document the old one to indicate that it was designed to work against Elasticsearch 5.x. Sorry for the confusion! We do need to ensure that we keep existing flows stable, though, and we only want to break a flow if there's no feasible way around it. |
|
@markap14 Ok, that's fair. I think the general issue has to be addressed, but the easy route is obviously blocked. So what I'm going to do to try to head this is off is:
|
|
@markap14 I cleaned it up and got most of what I suggested done. Couldn't figure out a good way to detect the protocol ranges, but this should do. |
|
@zenfenan can you review? It's mostly copy pasta from the ES v5 client. |
2120e46 to
a9fceb4
Compare
a9fceb4 to
9425d81
Compare
|
@MikeThomsen Did you close this due to inactivity, or did you move the changes into a different PR, or something else? |
|
I don't even remember closing it, that's the weird part. |
| <dependency> | ||
| <groupId>org.apache.nifi</groupId> | ||
| <artifactId>nifi-elasticsearch-client-service-6x-nar</artifactId> | ||
| <version>1.8.0-SNAPSHOT</version> |
There was a problem hiding this comment.
These should all be updated to 1.11.0-SNAPSHOT, that might be what's causing the non-cached Maven build failures in Travis.
|
Going to follow @markap14 's original guidance and close this as it would constitute a breaking change. Plus, we don't technically need this since the most recent changes to this bundle merged in preliminary support for ES 7 |
… 5x.
NIFI-5292 Added 6.X ES Client.
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:
Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
Has your PR been rebased against the latest commit within the target branch (typically master)?
Is your initial contribution a single, squashed commit?
For code changes:
For documentation related changes:
Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.