Azure specific variable in core code
A Bean in core code requires azure.keyvault.url variable to be set. Without it, the application fails to start.
`import javax.inject.Named;
@Configuration @ComponentScan("org.opengroup.osdu.core.common") public class LibraryBeanConfiguration {
@Value("${azure.keyvault.url}")
private String keyVaultURL;
@Bean
public IHttpClient getHttpClient() {
return new HttpClient();
}
@Bean
@Named("KEY_VAULT_URL")
public String keyVaultURL() {
return keyVaultURL;
}
} `