-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
2
-
False
-
None
-
False
-
OCPSTRAT-924 - Console: Customer Happiness (RFEs) for 4.16
-
-
-
HAC Infra OCP - Sprint 250
Add support for returning `response.header` in `consoleFetchCommon` function in the dynamic-plugin-sdk package
Problem:
The `consoleFetchCommon function in the dynamic-plugin-sdk package lack the support for retrieving HTTP `response.header`.
Justification:
The policy warning responses are visible in the `oc cli` but not visible on the console UI. The customer wants a similar behavior on the UI. The policy warning responses are returned in the HTTP `response.header` which is not implemented in the `consoleFetchCommon` function currently.
Proposed Solution
Add logic for extracting all `response.headers` along with `response.json` in the `consoleFetchCommon` function using `options` or something else.
A.C.
Add an option parameter to `consoleFetchCommon` to conditionally return full `response` or `response.json` so that the k8s functions like "K8sCreate` consume either, preventing breaking change for dynamic plugins
- blocks
-
CONSOLE-3939 Display a warning message from kube-apiserver when creating / updating workloads resource
- Closed
-
CONSOLE-3942 Display a warning message from kube-apiserver when updating resources in Console UI
- Closed
-
CONSOLE-3954 Display warning notifications from kube-apiserver when creating bulk resources in Console UI
- Closed
- links to