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

upgrade nacos-client version and construct NacosDataSource by Properties #348

Merged
merged 2 commits into from
Dec 27, 2018

Conversation

fangjian0423
Copy link
Contributor

@fangjian0423 fangjian0423 commented Dec 27, 2018

Does this pull request fix one issue?

Resolves #272

Describe how you did it

constructor ConfigService by NacosFactory#createConfigService(Properties properties) and add a new constructor for NacosDataSource.

Describe how to verify it

NacosDataSourceDemo runs well.

…structor for NacosDataSource to support namespace, endpoint, ak, sk and so on
@CLAassistant
Copy link

CLAassistant commented Dec 27, 2018

CLA assistant check
All committers have signed the CLA.

@sczyh30 sczyh30 added the to-review To review label Dec 27, 2018
@codecov-io
Copy link

codecov-io commented Dec 27, 2018

Codecov Report

Merging #348 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ Complexity Δ
...a/csp/sentinel/slots/statistic/base/LeapArray.java 65.82% <0%> (+1.26%) 23% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af33609...d917ae5. Read the comment docs.

@sczyh30
Copy link
Member

sczyh30 commented Dec 27, 2018

Hi, could you please sign the CLA?

@fangjian0423
Copy link
Contributor Author

Yes, done!

Copy link
Member

@sczyh30 sczyh30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sczyh30 sczyh30 merged commit 4592c45 into alibaba:master Dec 27, 2018
@sczyh30
Copy link
Member

sczyh30 commented Dec 27, 2018

Thanks for your contribution!

@sczyh30 sczyh30 removed the to-review To review label Dec 27, 2018
Arlmls pushed a commit to Arlmls/Sentinel that referenced this pull request Jan 8, 2019
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NacosDataSource 对象缺少 Nacos 的 namespace 参数
4 participants