-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
13
-
None
-
OCP Console - Sprint 281
This story describes Phase 2 of using OpenShift Dynamic Plugin SDK in Console.
This story is focused on plugin runtime infrastructure.
Console code should be updated as follows:
- add dependency on @openshift/dynamic-plugin-sdk
- replace Console PluginStore with one from OpenShift Dynamic Plugin SDK
- ensure PluginStore instance interops with Console feature flags
- replace Console TypeScript base types with ones from OpenShift Dynamic Plugin SDK
- replace Console hooks with ones from OpenShift Dynamic Plugin SDK
- useExtensions
- useResolvedExtensions
- useDynamicPluginInfo => usePluginInfo
- useFlag => useFeatureFlag
Generated @openshift-console/dynamic-plugin-sdk package should be updated as follows:
- add dependency on @openshift/dynamic-plugin-sdk
- ensure consistent usage of TypeScript base types from OpenShift Dynamic Plugin SDK
- ensure that updated Console dynamic demo plugin builds and runs without any issues
@openshift/dynamic-plugin-sdk package should be updated as follows:
- feature discrepancies between console and openshift SDK are resolved and console-only features are forward-ported
- CI is fixed
Both Console and OpenShift Dynamic Plugin SDK should be updated to address any discrepancies.
AC:
- Console should use @openshift/dynamic-plugin-sdk package for plugin runtime infra
- Console dynamic demo plugin should be successfully built and working as before
- Crontab plugin should be successfully built and working as before
- blocks
-
CONSOLE-4361 Show a dynamic plugin's supported OCP versions and make it clear when a plugin is disabled since its version range doesn't match the current OCP version
-
- To Do
-
-
CONSOLE-4363 Add display of extensions to Console plugins details page
-
- To Do
-
- depends on
-
CONSOLE-4910 Add static plugin support to `@openshift/dynamic-plugin-sdk`
-
- Closed
-
-
CONSOLE-4410 Use webpack 5 module federation support to init shared scope object
-
- Closed
-
-
CONSOLE-4840 Remove all plugin entry points
-
- Closed
-
-
CONSOLE-4841 Remove usage of CustomPluginInfo when detecting CSP violations and move it to redux store
-
- Closed
-
- is blocked by
-
CONSOLE-4621 Align dynamic-plugin-sdk and console/dynamic-plugin-sdk feature set
-
- Closed
-
- is cloned by
-
CONSOLE-4311 Use OpenShift Dynamic Plugin SDK in Console - Phase 2, Runtime Infra
-
- Closed
-
- relates to
-
CONSOLE-4621 Align dynamic-plugin-sdk and console/dynamic-plugin-sdk feature set
-
- Closed
-
- links to