-
Notifications
You must be signed in to change notification settings - Fork 662
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
SOLR-16859 Missing Proxy support for Http2SolrClient #1779
SOLR-16859 Missing Proxy support for Http2SolrClient #1779
Conversation
Sonatype Lift is retiringSonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console. |
Is this the type of integration test that would be easier to implement via .bats test?? |
@epugh would you mind adding a bit more detail? how would a bats test help |
I noticed that we have a |
eef363f
to
851e74e
Compare
no, we'd need a proxy server for testing ...unless there is some command line proxy server that is easy to integrate into a bats test. I manually installed a proxy (toxiproxy) on my local to smoke test this and was able to check http1 and http2 modes. @epugh would you say this is sufficient to push the code in? if there are bugs in more complex setups we can fix them as they come (as opposed to not having this feature in). I would hate to leave this PR open for much longer. |
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.
This looks great to me! Someday I hope we have some way of testing out ALL the various ways of running Solr, though I can imagine that the tooling to support that might be overwhelming too ;-). Merge it!
minor update. test is failing when the SSL context is enabled, which I did not know it can happen. I spent a bit of time on this and I can not figure out how to get the Solr SocketProxy to talk to the Solr node via https - in theory it has a flag, but I could not get it working, I must be missing some key info here. |
851e74e
to
1a5ff4a
Compare
1a5ff4a
to
b6a6438
Compare
re. SSL testing. it is very difficult to setup the exiting proxy server for this test, I think it does not actually support SSL. I've sent an email to dev list to ask for more help. @risdenk spent some time on this, thanks Kevin! I don't think it's worth while to sit on this much longer. if/when there is feedback that needs more fixes, we can address then, as needed. |
(cherry picked from commit 21740ac)
https://issues.apache.org/jira/browse/SOLR-16859
Description
Please provide a short description of the changes you're making with this pull request.
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.