-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 When the namespace does not exist, it is still possible to create configuration items #12890
base: develop
Are you sure you want to change the base?
Conversation
Thanks for your this PR. 🙏 感谢您提交的PR。 🙏 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #12890 +/- ##
=============================================
- Coverage 72.29% 72.26% -0.03%
- Complexity 9930 9932 +2
=============================================
Files 1302 1303 +1
Lines 41751 41770 +19
Branches 4392 4396 +4
=============================================
+ Hits 30182 30185 +3
- Misses 9461 9477 +16
Partials 2108 2108
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
|
|
|
@fuhouyu would you please fix namespace existing checking on naming module together on this pr ? |
Ok, I will move the logic of this empty tenant check to the naming module over the weekend |
I see that the parameter validation in the code is placed in the core module, so the validation logic of this namespace is placed under the remoteFilter and paramFilter in the core module. |
|
|
|
|
|
Test is error, I will be fix it later |
|
|
|
|
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
resolve #12889
FIX When the namespace does not exist, configuration items can still be created.
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean package apache-rat:check findbugs:findbugs -Dmaven.test.skip=true
to make sure basic checks pass. Runmvn clean install -DskipITs
to make sure unit-test pass. Runmvn clean test-compile failsafe:integration-test
to make sure integration-test pass.