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
Feat: SpringCloud subscribe strategy and Adapter add enabled config #425
Feat: SpringCloud subscribe strategy and Adapter add enabled config #425
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #425 +/- ##
===========================================
+ Coverage 37.58% 37.64% +0.06%
===========================================
Files 55 55
Lines 3720 3743 +23
===========================================
+ Hits 1398 1409 +11
- Misses 2166 2176 +10
- Partials 156 158 +2
Continue to review full report at Codecov.
|
Good job |
Config map[string]interface{} `yaml:"config" json:"config" mapstructure:"config"` // Config adapter config | ||
ID string `yaml:"id" json:"id"` | ||
Name string `yaml:"name" json:"name"` // Name the adapter unique name | ||
Enabled string `yaml:"enabled" json:"enabled" default:"true"` |
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.
'Enabled' why not bool?
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.
启动时,加载配置时 默认值函数(default.Set)会吧自定义的值覆盖了
Feat: SpringCloud subscribe strategy and Adapter add enabled config
What this PR does:
Which issue(s) this PR fixes:
Fixes #
#410
Special notes for your reviewer:
Does this PR introduce a user-facing change?: