-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Add support for patching extensions #6031
Conversation
Quality Gate passedIssues Measures |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6031 +/- ##
============================================
- Coverage 56.91% 56.36% -0.55%
- Complexity 3319 3570 +251
============================================
Files 587 627 +40
Lines 18968 21132 +2164
Branches 1401 1491 +90
============================================
+ Hits 10795 11912 +1117
- Misses 7594 8614 +1020
- Partials 579 606 +27 ☔ View full report in Codecov by Sentry. |
Signed-off-by: JohnNiang <[email protected]>
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.
/lgtm
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: guqing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
#### What type of PR is this? /area ui /kind improvement /milestone 2.17.x #### What this PR does / why we need it: 使用新的 [patch](#6031) 接口重构附件的移动功能。 #### Special notes for your reviewer: 1. 测试附件移动至其他分组的功能是否正常。 2. 测试删除附件分组,选择 **删除并将附件移动至未分组** 选项,观察删除分组之后,其中的附件是否已经移动到未分组。 #### Does this PR introduce a user-facing change? ```release-note None ```
What type of PR is this?
/kind feature
/area core
/milestone 2.17.x
What this PR does / why we need it:
This PR adds patch method for all extensions API.
Patch example:
http -a admin:admin PATCH http://localhost:8090/apis/plugin.halo.run/v1alpha1/plugins/app-store-integration \ Content-Type:application/json-patch+json \ --raw='[{"op": "replace", "path": "/spec/enabled", "value": false}]'
Which issue(s) this PR fixes:
Fixes #2311
Does this PR introduce a user-facing change?