-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
[plugin-azure-key-vault] Add ability to read property values from Azure KeyVault #5182
base: master
Are you sure you want to change the base?
[plugin-azure-key-vault] Add ability to read property values from Azure KeyVault #5182
Conversation
vividus-engine/src/main/java/org/vividus/configuration/AbstractPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
vividus-plugin-azure-resource-manager/src/main/resources/vividus-plugin/spring.xml
Outdated
Show resolved
Hide resolved
vividus/src/main/resources/org/vividus/spring-configuration.xml
Outdated
Show resolved
Hide resolved
...r/src/main/resources/META-INF/services/org.vividus.configuration.AbstractPropertiesProcessor
Outdated
Show resolved
Hide resolved
d0b999d
to
11780c8
Compare
f90dacf
to
8894a51
Compare
...us-plugin-azure-resource-manager/src/main/java/org/vividus/azure/client/AzureHttpClient.java
Outdated
Show resolved
Hide resolved
...us-plugin-azure-resource-manager/src/main/java/org/vividus/azure/client/AzureHttpClient.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...ger/src/test/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessorTests.java
Outdated
Show resolved
Hide resolved
vividus/src/main/java/org/vividus/configuration/ConfigurationResolver.java
Outdated
Show resolved
Hide resolved
vividus/src/main/java/org/vividus/configuration/VaultStoredPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
d1b4dc5
to
af601b7
Compare
d2e5046
to
949e7fc
Compare
9f2c652
to
4078900
Compare
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...zure-resource-manager/src/main/java/org/vividus/azure/client/AzureResourceManagerClient.java
Outdated
Show resolved
Hide resolved
4389314
to
c136357
Compare
b8eb72e
to
eaff0e6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5182 +/- ##
============================================
- Coverage 97.63% 97.54% -0.10%
- Complexity 7005 7013 +8
============================================
Files 969 971 +2
Lines 20330 20359 +29
Branches 1329 1330 +1
============================================
+ Hits 19850 19859 +9
- Misses 368 387 +19
- Partials 112 113 +1 ☔ View full report in Codecov by Sentry. |
eaff0e6
to
aa556e4
Compare
Consumer<String> errorCallback = error -> { throw new RuntimeException(error); }; | ||
if (softAssert != null) | ||
{ | ||
errorCallback = softAssert::recordFailedAssertion; | ||
} |
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 logic should be provided by code invoking this method
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
...-manager/src/main/java/org/vividus/azure/configuration/AzureKeyVaultPropertiesProcessor.java
Outdated
Show resolved
Hide resolved
client.executeHttpRequest(HttpMethod.GET, | ||
String.format("https://%s%s/secrets/%s?api-version=%s", keyVaultName, | ||
azureEnvironment.getKeyVaultDnsSuffix(), secretName, apiVersion), Optional.empty(), | ||
response -> value[0] = JsonPathUtils.getData(response, "$.value")); |
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.
client should be updated to use not Consumer
, but Function
for response body handling
aa556e4
to
24f1c45
Compare
24f1c45
to
8f9ba4e
Compare
No description provided.