-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
Enhance spring boot configuration metadata #13299
Comments
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 2, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 2, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 2, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 2, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 2, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 3, 2023
8 tasks
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 3, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 3, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 3, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 4, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 4, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Nov 4, 2023
AlbumenJ
pushed a commit
that referenced
this issue
Nov 6, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Mar 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why
Configuration beans of dubbo are located in the
dubbo-common
module, and it's not suitable to add spring boot dependencies.However, spring configuration metadata generation relies on read javadoc from the source code and cannot use the @NestedConfigurationProperty annotation.
This leads to missing comments and a lack of nested configuration options. Therefore, we use an independent module to copy the code and generate metadata.
Principles
org/apache/dubbo/config
fromdubbo-common
to thegenerated-sources
directory.@Nest
with@NestedConfigurationProperty
.DubboConfigurationProperties.java
fromautoconfigure
to thegenerated-sources
directory.spring-configuration-metadata.json
.autoconfigure
module compilation, will readspring-configuration-metadata.json
from this module.How to add a new configuration option
dubbo-common
.additional-spring-configuration-metadata.json
.Preview
spring-configuration-metadata.json
The text was updated successfully, but these errors were encountered: