-
Notifications
You must be signed in to change notification settings - Fork 529
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
feat: support plugin config #1509
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1509 +/- ##
==========================================
- Coverage 70.12% 62.09% -8.03%
==========================================
Files 129 130 +1
Lines 5231 5340 +109
Branches 549 549
==========================================
- Hits 3668 3316 -352
- Misses 1323 1723 +400
- Partials 240 301 +61
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Headers: map[string]string{"Authorization": base.GetToken()}, | ||
ExpectStatus: http.StatusOK, | ||
}), | ||
table.Entry("create plugin config", base.HttpTestCase{ |
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.
It seems create plugin config
=> get plugin config
.
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.
fixed.
}), | ||
table.Entry("create plugin config", base.HttpTestCase{ | ||
Object: base.ManagerApiExpect(), | ||
Path: "/apisix/admin/plugin_configs/1", |
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.
Need to test list
function.
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.
fixed.
E2E test failed |
@@ -302,6 +333,14 @@ func TestLabel(t *testing.T) { | |||
Headers: map[string]string{"Authorization": token}, | |||
ExpectStatus: http.StatusOK, | |||
}, | |||
{ |
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.
Can plugin_config
be updated? If so, we should also add update test suites.
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.
updated.
Please answer these questions before submitting a pull request
support plugin config in Manager API
related pr in APISIX apache/apisix#3567