-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
fix #3124 . move RegistryDataConfig configuration into RegistryConfig… #3129
Conversation
…Config and remove RegistryDataConfig
Codecov Report
@@ Coverage Diff @@
## 2.7.0-release #3129 +/- ##
===================================================
+ Coverage 62.53% 63.68% +1.14%
Complexity 75 75
===================================================
Files 674 651 -23
Lines 30172 28150 -2022
Branches 5070 4774 -296
===================================================
- Hits 18868 17926 -942
+ Misses 8940 7981 -959
+ Partials 2364 2243 -121
Continue to review full report at Codecov.
|
String[] paramsToRegistry = getParamsToRegistry(DEFAULT_REGISTER_CONSUMER_KEYS, | ||
registryUrl.getParameter(EXTRA_CONSUMER_CONFIG_KEYS_KEY, new String[0])); | ||
return URL.valueOf(consumerUrl, paramsToRegistry, null).addParameters( | ||
return URL.valueOf(consumerUrl, DEFAULT_REGISTER_CONSUMER_KEYS, null).addParameters( |
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.
@cvictory would it be possible to bit explain it bit here, what we are doing here?
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.
@khanimteyaz in 2.7.0
we hope to simplify URL put into the registry center.
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.
ok. 👍
* @since 2.7.0 | ||
*/ | ||
public static final String SIMPLE_CONSUMER_CONFIG_KEY = "simple.consumer.config"; | ||
public static final String SIMPLIFIED_KEY = "simplified"; |
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.
in the future, we should categorize such constants into groups, for this case, it'd be better and more clear if we move it into RegistryConstants. @cvictory, would you mind to file one issue against this suggestion?
fix #3124