-
Notifications
You must be signed in to change notification settings - Fork 27
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
Pure JDK Vault Client for Vault Config Source #235
Conversation
How are you setting up the proxy configuraiton for the JDK client? Also, wouldn't it be better to just merge #215? The only outstanding issue I ran into for using the JDK for configurtion in the new client was setting SSL and proxy to match the Vert.x implementation exactly. |
Merging 215 has the added advantage that we can close all but 1 PR 👍 |
6946538
to
b9042d1
Compare
this started as a POC. I would like to fix #226, as we are spending a lot of time trying to chase situations where dev mode does not work.
not done at this point.
yes. definitely if it is ready. is it? you could grab the ssl stuff from my PR? not sure about the proxy configuration (I did not do it). we have hit so many issues related to the fact that the vault config source was using quarkus stuff, that I would like to get that behind us. |
are we talking about this? |
For me #215 is ready, there are a couple feedback items unresolved that you might want to close or comment further on. I can move your SSL configuration into #215 easily and we can use the JDK client for configuration request. The proxy configuration is what was troublesome to me for using the JDK with Quarkus's configuration. |
Kind of. I saw no way of building a proxy selector using Vert.x proxy configuration items. |
I like better what you did to be honest. we need it to go through. |
one thing to consider is that we do not need to support an entire jdk vault client for the config source. if we do, good. but it is not a requirement. we just need login and read secret (v1 and v2). |
b9042d1
to
35ea051
Compare
The issue is, as I found it (I may be wrong), configuring a JDK HttpClient to work nearly identicaally to the Vert.x WebClient/HttpClient. I found most of the configuration to be easily transferrable or not required to produce similar functionality (e.g. timeouts just need to be correct in aggregrate). The two issues I ran into were configuring the JDK's Give this we have a few options:
Given that you have tackled the SSL configuration. The proxy configuration is the only remaining hurdle for both this PR and #215. This seems to mean that we are in agreement that whatever path we decide we should use #215. |
#215 does implement the entie thing and as noted is only block by the proxy configuration problem. There is no other reason not to use it's JDK client in Quarkus. |
Implemted via #215 |
Fixes #226