-
Notifications
You must be signed in to change notification settings - Fork 8k
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
upgrade nacos-client version and construct NacosDataSource by Properties #348
Conversation
…structor for NacosDataSource to support namespace, endpoint, ak, sk and so on
Codecov Report
@@ Coverage Diff @@
## master #348 +/- ##
============================================
+ Coverage 38.21% 38.22% +0.01%
Complexity 936 936
============================================
Files 218 218
Lines 6966 6966
Branches 948 948
============================================
+ Hits 2662 2663 +1
+ Misses 3966 3965 -1
Partials 338 338
Continue to review full report at Codecov.
|
Hi, could you please sign the CLA? |
Yes, done! |
...atasource-nacos/src/main/java/com/alibaba/csp/sentinel/datasource/nacos/NacosDataSource.java
Show resolved
Hide resolved
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.
LGTM
Thanks for your contribution! |
…ies (alibaba#348) * Polish alibaba#272: upgrade nacos-client version and create a new constructor for NacosDataSource to support namespace, endpoint, ak, sk and so on * check properties in NacosDataSource
Does this pull request fix one issue?
Resolves #272
Describe how you did it
constructor
ConfigService
byNacosFactory#createConfigService(Properties properties)
and add a new constructor forNacosDataSource
.Describe how to verify it
NacosDataSourceDemo
runs well.