-
Notifications
You must be signed in to change notification settings - Fork 183
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
Migrate client transports to Apache HttpClient / Core 5.x #246
Conversation
b40a3bd
to
4631ea8
Compare
de4a8d5
to
32fd130
Compare
@@ -51,10 +51,10 @@ public void testArrayPathParameter() { | |||
assertEquals("/a/_refresh", RefreshRequest._ENDPOINT.requestUrl(req)); | |||
|
|||
req = RefreshRequest.of(b -> b.index("a", "b")); | |||
assertEquals("/a,b/_refresh", RefreshRequest._ENDPOINT.requestUrl(req)); | |||
assertEquals("/a%2Cb/_refresh", RefreshRequest._ENDPOINT.requestUrl(req)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The encoding path segments implementation has changed in Apache HttpClient 5
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@VachaShah when do you plan to branch off |
@reta So this is a breaking change for 3.0? If so, we can create a 2.x now - you should be able to do it. If not there's no need for a major version increment AFAIK. |
Thanks @dblock !
Yes
Yes, I can do it, just wanted to sync up with @VachaShah if that's planned already |
Hi @reta, you can go ahead and create a 2.x. Thank you! |
@VachaShah |
@VachaShah @reta @dblock can we get this PR in? Build has been failing on SDK repo as it is using java-client
cc: @joshpalis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @reta!
systemProp.version = 3.0.0-SNAPSHOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reta We should remove the "-SNAPSHOT" from the system property and opensearch versions since this is already appended when published to sonatype.
Currently, 3.0.0 snapshots are being published incorrectly :
CC : @VachaShah
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshpalis check please #254
This looks like it could work as an option alongside the previous protocol in the opensearch-java 2.x line. As in, this could be added as a feature without forcing a major version upgrade. Thoughts? |
Not really, the |
Signed-off-by: Andriy Redko andriy.redko@aiven.io
Description
Migrate client transports to Apache HttpClient / Core 5.x
Issues Resolved
Closes #245
Check List
docs
folderBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.