Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4623

Add support for optional Console plugin dependencies

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Dynamic Plugins
    • None
    • None
    • None
    • OCP Console - Sprint 274

      Use case: if both ACM and Kubevirt plugins are enabled, we want ACM plugin to load fully prior to loading Kubevirt plugin. However, if ACM plugin is absent but Kubevirt plugin is enabled, we still want the Kubevirt plugin to load as usual.

      Therefore, we would like to support plugins declaring optional dependencies on other plugins.

      The current implementation supports non-optional plugin dependencies only.

      We need to modify unavailablePluginNames handling - skip any optional-but-required plugins.

      AC: Add an optional dependency for a dynamic plugin to specify a dependent dynamic plugin.

              vszocs@redhat.com Vojtech Szocs
              vszocs@redhat.com Vojtech Szocs
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: