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

[BUG] The client properties of an http-based client is of type com.azure.spring.cloud.autoconfigure.properties.AzureGlobalProperties$GlobalClientCP #26190

Closed
3 tasks done
saragluna opened this issue Dec 27, 2021 · 1 comment
Assignees
Labels
azure-spring All azure-spring related issues Client This issue points to a problem in the data-plane of the library.

Comments

@saragluna
Copy link
Member

Describe the bug
When using DefaultAzureCredential with spring-cloud-azure-starter, it will print a warning log

2021-12-27 13:23:45.857  INFO 74279 --- [           main] AbstractAzureServiceClientBuilderFactory : Will configure the default credential for class com.azure.identity.DefaultAzureCredentialBuilder.
2021-12-27 13:23:45.857  WARN 74279 --- [           main] .f.AbstractAzureHttpClientBuilderFactory : The client properties of an http-based client is of type com.azure.spring.cloud.autoconfigure.properties.AzureGlobalProperties$GlobalClientCP
2021-12-27 13:23:45.858 ERROR 74279 --- [           main] c.azure.identity.EnvironmentCredential   : Azure Identity => ERROR in EnvironmentCredential: Missing required environment variable AZURE_CLIENT_ID
2021-12-27 13:23:45.867  INFO 74279 --- [           main] AbstractAzureServiceClientBuilderFactory : Will configure the default credential for class com.azure.security.keyvault.secrets.SecretClientBuilder.
2021-12-27 13:23:45.912  INFO 74279 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2021-12-27 13:23:45.934  INFO 74279 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2021-12-27 13:23:45.944  INFO 74279 --- [           main] c.a.s.k.s.s.m.p.s.SampleApplication      : Started SampleApplication in 7.368 seconds (JVM running for 7.6)

To Reproduce
Run any HTTP SDK client with spring-cloud-azure-starter and use the DefaultAzureCredential.

Expected behavior
No such warning log should print.

Setup (please complete the following information):

  • OS: MacOS
  • IDE: IntelliJ
  • Library/Libraries: spring-cloud-azure-starter
  • Java version: 8
  • App Server/Environment: local
  • Frameworks: Spring Boot

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
@saragluna saragluna added Client This issue points to a problem in the data-plane of the library. azure-spring All azure-spring related issues labels Dec 27, 2021
@saragluna saragluna added this to the Spring Cloud Azure 4.0 GA milestone Dec 27, 2021
@saragluna saragluna self-assigned this Dec 27, 2021
@saragluna saragluna moved this to Todo in Spring Cloud Azure Dec 27, 2021
@saragluna
Copy link
Member Author

Closed in #26192.

Repository owner moved this from Todo to Done in Spring Cloud Azure Dec 29, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
azure-spring All azure-spring related issues Client This issue points to a problem in the data-plane of the library.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant