-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add metadata for spring.datasource.azure.passwordless-enabled
#31976
Conversation
API change check API changes are not detected in this pull request. |
{ | ||
"name": "spring.datasource.azure.passwordless-enabled", | ||
"type": "java.lang.Boolean", | ||
"description": "Whether to enable supporting Azure identity token credentials.", |
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.
"description": "Whether to enable supporting Azure identity token credentials.", | |
"description": "Whether to enable passwordless connections to Azure databases by using Azure Active Directory token credentials.", |
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.
Good point, I think we need to update our docs, codes as well.
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.
Should we add OAuth2
before the token credentials
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.
I hava updated this description to "Whether to enable passwordless connections to Azure databases by using OAuth2 Azure Active Directory token credentials." ,check here.
"name": "spring.datasource.azure.passwordless-enabled", | ||
"type": "java.lang.Boolean", | ||
"description": "Whether to enable supporting Azure identity token credentials.", | ||
"sourceType": "com.azure.spring.cloud.service.implementation.passwordless.AzurePasswordlessProperties", |
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.
Do you think we can skip this sourceType here?
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.
If users can still jump to AzurePasswordlessProperties from IDE, then I think we can remove it.
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.
But what can the users benefit from the jumping?
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.
But what can the users benefit from the jumping?
The point here is what's the expectation of users, I think by default users will have the expectation that it would be able to jump to a property class.
metadata of
spring.datasource.azure.passwordless-enabled
can't be generated by spring-boot, we should add these metadata manully.Follow-up issue #32124.