Commit 6d136734 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Merge branch 'azure_pipeline' of...

Merge branch 'azure_pipeline' of community.opengroup.org:osdu/platform/system/partition into azure_pipeline

* 'azure_pipeline' of community.opengroup.org:osdu/platform/system/partition:
  remove cosmosdb bootstrap settings
parents bfe6d98d 62f6613f
Pipeline #9607 failed with stage
in 2 minutes and 18 seconds
......@@ -14,8 +14,6 @@
package org.opengroup.osdu.partition.provider.azure.di;
import com.azure.security.keyvault.secrets.SecretClient;
import org.opengroup.osdu.partition.provider.azure.utils.KeyVaultFacade;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
......@@ -33,16 +31,4 @@ public class AzureBootstrapConfig {
public String keyVaultURL() {
return keyVaultURL;
}
@Bean
@Named("COSMOS_ENDPOINT")
public String cosmosEndpoint(SecretClient kv) {
return KeyVaultFacade.getKeyVaultSecret(kv, "cosmos-endpoint");
}
@Bean
@Named("COSMOS_KEY")
public String cosmosKey(SecretClient kv) {
return KeyVaultFacade.getKeyVaultSecret(kv, "cosmos-primary-key");
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment