feat(extensions): replace disabled with enabled field in plugin configuration#3536
feat(extensions): replace disabled with enabled field in plugin configuration#3536hopehadfield wants to merge 2 commits into
Conversation
…guration Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
|
This pull request adds a new top-level directory under |
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
|
PR Summary by Qodofeat(extensions): adopt Description
Diagram
High-Level Assessment
Files changed (23)
|
Code Review by Qodo
Context used✅ Tickets:
RHIDP-14727 1. Invalid enabled silently ignored
|



Hey, I just made a Pull Request!
Summary
Replaces the
disabledfield withenabledin the extensions plugin UI and backend, per RHIDP-14727 and RHIDP-11983. The backend API accepts both fields for backward compatibility (enabledtakes precedence), but the UI and storage layer exclusively useenabled.Changes
extensions-common — Added enablePackage/enablePlugin to the API interface and backend client. Removed disablePackage/disablePlugin.
extensions-backend — Router accepts both {enabled} and {disabled} in request body via
resolveEnabledField(), withenabledtaking precedence. Storage writesenabledto YAML. Validation accepts both fields.extensions (frontend) —
useEnablePluginhook and all components send {enabled} exclusively. YAML generation templates useenabled: true/false.Backward compatibility
✔️ Checklist