feature:expands grayscale publishing capabilities to support dimensio…#4013
feature:expands grayscale publishing capabilities to support dimensio…#4013nobodyiam merged 10 commits intoapolloconfig:masterfrom
Conversation
…ns other than IP fix apolloconfig#2932
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
Is i.e {
"ip": "10.240.50.100",
"appId": "my-app-id"
} |
Codecov Report
@@ Coverage Diff @@
## master #4013 +/- ##
============================================
+ Coverage 51.46% 51.54% +0.08%
- Complexity 2524 2533 +9
============================================
Files 484 484
Lines 14798 14839 +41
Branches 1532 1537 +5
============================================
+ Hits 7616 7649 +33
- Misses 6652 6658 +6
- Partials 530 532 +2
Continue to review full report at Codecov.
|
nobodyiam
left a comment
There was a problem hiding this comment.
This feature looks great! Please find some comments below.
BTW, there are some bugs regarding the grayscale rule setup for public namespaces. I fixed 2 of them in the comments and there is one bug left to you to fix.
Yes, the storage format of |
|
BTW, please also update the CHANGES.md |
…ns other than IP fix apolloconfig#2932
Thank you for your review, I have modified according to your comments. |
Looks great now! |
…ns other than IP fix apolloconfig#2932
…ns other than IP fix apolloconfig#2932
|
How about use config apollo.labels.ip=xxx
apollo.labels.zone=beijing
apollo.labels.bu=payto represent {
"ip": "xxx",
"zone": "beijing",
"bu": "pay"
}i.e User can write multiple lines instead of write all in one line. One line is represent a key value pair. In spring, the properties class is labels will load on runtime. We can manually load it without spring. |
Sorry, the previous question was answered incorrectly, |
|
The implementation of the summer 2021 task is a little different from what we previously discussed:
The above 2 differences might make the rules not that powerful but I think it's acceptable since it also makes the rules easy to maintain and understand. What do you think? |
A single label also can implement the function which multiple custom labels have. And it's acceptable and very easy to maintain and understand. Multiple custom labels seems a little complex. I agree that. |
# Conflicts: # CHANGES.md
# Conflicts: # CHANGES.md
Thank you very much for your review. I am very honored to choose Apollo in the |






What's the purpose of this PR
Add new feature:
Which issue(s) this PR fixes:
Fixes #2932
Brief changelog
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean testto make sure this pull request doesn't break anything.CHANGESlog.