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

Generalised key vault config #948

Merged
merged 6 commits into from
Dec 30, 2019
Merged

Generalised key vault config #948

merged 6 commits into from
Dec 30, 2019

Conversation

melowe
Copy link
Contributor

@melowe melowe commented Dec 24, 2019

Add generalised key vault config that contains a map of generalised properties.

Add validator for key vault config that is aware of vault type and is able to apply validations for
that given type. Deprecate the Hashicorp and Azurekey vault config. Service factories use KeyVaultConfig rather than its deprecated implementations.

This provides room to add other key vaults such as the AWS one in #947.

…roperties.

Add validator for key vault config that is aware of vault type and is able to apply validations for
that given type. Deprecate the Hashicorp and Azurekey vault config. Service factories use KeyVaultConfig
rather than its deprecated implementations
@codecov-io
Copy link

codecov-io commented Dec 24, 2019

Codecov Report

Merging #948 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #948      +/-   ##
============================================
+ Coverage     99.28%   99.31%   +0.02%     
- Complexity     2050     2087      +37     
============================================
  Files           316      320       +4     
  Lines          5622     5709      +87     
  Branches        318      328      +10     
============================================
+ Hits           5582     5670      +88     
  Misses            5        5              
+ Partials         35       34       -1
Impacted Files Coverage Δ Complexity Δ
...com/quorum/tessera/config/AzureKeyVaultConfig.java 100% <ø> (ø) 5 <0> (ø) ⬇️
.../java/com/quorum/tessera/config/util/JaxbUtil.java 100% <ø> (ø) 14 <0> (ø) ⬇️
...quorum/tessera/config/HashicorpKeyVaultConfig.java 100% <100%> (ø) 12 <3> (ø) ⬇️
...quorum/tessera/config/KeyVaultConfigConverter.java 100% <100%> (ø) 4 <4> (?)
...ult/hashicorp/HashicorpKeyVaultServiceFactory.java 100% <100%> (ø) 10 <1> (ø) ⬇️
...java/com/quorum/tessera/config/KeyVaultConfig.java 100% <100%> (ø) 5 <5> (?)
...m/quorum/tessera/config/DefaultKeyVaultConfig.java 100% <100%> (ø) 6 <6> (?)
...hashicorp/HashicorpKeyVaultServiceFactoryUtil.java 100% <100%> (+3.33%) 13 <6> (+3) ⬆️
.../tessera/key/vault/azure/AzureKeyVaultService.java 100% <100%> (ø) 6 <2> (+1) ⬆️
...a/key/vault/azure/AzureKeyVaultServiceFactory.java 92.85% <100%> (ø) 5 <0> (ø) ⬇️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54dcf99...644cbd3. Read the comment docs.

Krish1979
Krish1979 previously approved these changes Dec 30, 2019
@Krish1979 Krish1979 merged commit f7fd8b8 into master Dec 30, 2019
@chris-j-h
Copy link
Collaborator

Resolves #959

@Krish1979 Krish1979 added 0.10.3 0.10.3 enhancement Non-user code enhancements labels Feb 3, 2020
@prd-fox prd-fox deleted the improvement/keyvault_config branch March 9, 2020 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.10.3 0.10.3 enhancement Non-user code enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants