-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SpringBoot 2.3] Upgrade to Spring Data Elasticsearch 4.0 and Elasticsearch 7.6 #11683
[SpringBoot 2.3] Upgrade to Spring Data Elasticsearch 4.0 and Elasticsearch 7.6 #11683
Conversation
We should make sure this works with Heroku. One of the reasons I switched to Jest is because it did not. See #7810 (comment) for more info. |
8b101a0
to
3ca37ca
Compare
@mraible : thanks for the comment, it helped me realize that I forgot to clean up our deployments subgenerators (kubernetes, openshift, heroku, ...). I did some tests, and in fact I was not able to have a working application with heroku and master of generator-jhipster. I guess it's related to jest not supporting ES 7. |
@murdos Do you think this is a breaking change? If so, maybe we should start a v7 branch? |
As a workaround can't we parse the url ourselfs and set username/password manually? I once did something similar using dokku, which does not populate a jdbc url to parse the database url and create a valid jdbc url from it. |
Which change?
As you can see in |
The breaking change for me is my app with ES will no longer work on Heroku. If we can fix that, I'm 😎 with merging to 6.x.
IMO, we should keep upgrading Spring Boot (even to 2.3) on 6.x. The only reason I can see waiting for 2.3 in v7 is if we're closed to finished with v7.
… On May 2, 2020, at 15:06, Aurélien Mino ***@***.***> wrote:
@murdos Do you think this is a breaking change? If so, maybe we should start a v7 branch?
Which change?
The only constraint I can think of is the requirement of version >= 7.6 of Elasticsearch since the Java High Level REST Client is only guaranteed to be able to communicate with any Elasticsearch node running on the same major version and greater or equal minor version.
But I'm not sure this requires switching to a v7 branch.
@murdos @mraible : do you want me to release v6.9.0 ? then, we'll start the v7 branch from v6.9.0 and we can continue to release v6 branch when needed ?
As you can see in cleanup.js I was expecting that a 6.9.0 version will indeed be released before the version including Spring Boot 2.3, and I was targeting a 6.10.0 version for SB2.3. But depending on discussion SB2.3 might end on v7 😉
Anyway, there's no emergency for a 6.9.0 for me, but since there a bit of new features in master, that might be interesting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
329190c
to
2a5443d
Compare
1f3496d
to
ff7f3b0
Compare
…arch 7.6 Remove Jest since Spring Data now fully support RestHighLevelClient. Fixes #10003
…sticsearch.home.path Spring Boot does not support starting embedded node since version 2.0
7ae806b
to
1d020b9
Compare
1d020b9
to
afecc89
Compare
FYI I'm going to merge this PR (in the |
agree @murdos, go ahead |
Yes saw it 2 days ago... |
replace Jest with RestHighLevelClient. Jest still does not support Elasticsearch 7 and is not supported anymore by SpringBoot. This also perfectly align with Policy Make Grunt work correctly #1
remove configuration related to embedded node server, since it's not supported by Elasticsearch and Spring Boot since 2.0
All continuous integration tests are green
Tests are added where necessary
Documentation is added/updated where necessary
Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed