Add Apollo flow rule publisher sample in Sentinel dashboard - #535
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #535 +/- ##
============================================
+ Coverage 37.69% 38.24% +0.55%
- Complexity 1102 1116 +14
============================================
Files 259 259
Lines 8174 8174
Branches 1113 1113
============================================
+ Hits 3081 3126 +45
+ Misses 4695 4642 -53
- Partials 398 406 +8
Continue to review full report at Codecov.
|
sczyh30
reviewed
Mar 3, 2019
Member
|
Thanks for contributing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe what this PR does / why we need it
sentinel-dashboard 项目Test目录下新增数据源固化到Apollo实现
Does this pull request fix one issue?
Describe how you did it
通过官方的apollo-openapi实现数据源存取
Describe how to verify it
把sentinel-dashboard 项目Test目录下Apollo相关代码加载到项目中,然后在FlowControllerV2.java中修改
如下代码后,运行即可,此代码在实际项目中已运行
Special notes for reviews
因为用到了Apollo的OpenAPI,所以引用了apollo-openapi这个包来实现