Skip to content
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

Made secretsEnginePathMap public #156

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Conversation

gm2211
Copy link
Contributor

@gm2211 gm2211 commented Feb 24, 2019

  1. Made secretsEnginePathMap public
  2. Copying the map provided to secretsEnginePathMap - making it ConcurrentHashMap for consistency, though builders are usually modified within a single thread, so a concurrent hash map is not really necessary.
  3. Added convenience method putSecretsEngineVersionForPath for adding a single entry to the map

Also consider switching to https://immutables.github.io/ for builders - takes a lot of boiler-plate away and offers a lot of useful helper methods by default

@abedra
Copy link

abedra commented Apr 1, 2019

👍 please on this. It's currently impossible to set the secrets map if you add the option.

@piotr-sumo
Copy link

👍 I'd could find it extremely useful. Please merge this.

@steve-perkins
Copy link
Contributor

Thanks @gm2211!

@steve-perkins steve-perkins merged commit 0926aee into BetterCloud:master Jun 3, 2019
rimitchell pushed a commit to rimitchell/vault-java-driver that referenced this pull request Jul 22, 2019
Made secretsEnginePathMap public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants