Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-5309

Migrate or remove dependencies to @janus-idp/shared-react package

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Normal Normal
    • 1.8.0
    • None
    • Documentation, UI
    • None
    • Migrate or remove dependencies to @janus-idp/shared-react package
    • M
    • False
    • Hide

      None

      Show
      None
    • False
    • RHIDP-3227Sunset Janus IDP
    • In Progress
    • RHIDP-3227 - Sunset Janus IDP
    • QE Needed, Docs Needed, TE Needed, Customer Facing, PX Needed
    • 0% To Do, 0% In Progress, 100% Done
    • Hide
      = Argo CD, Tekton, and Topology plugins require the Kubernetes Frontend and Kubernetes Backend plugins

      With this update, the Argo CD, Tekton, and Topology plugins requires the Kubernetes Frontend and Kubernetes Backend plugins. Before this update, these plugins depended only on the Kubernetes Backend plugin, and the feature provided by the Kubernetes Frontend plugin where provided by the removed `@janus-idp/shared-react` package.

      .Procedure
      . Enable the Kubernetes Frontend and Kubernetes Backend plugins.
      +
      [source,yaml]
      ----
      global:
        dynamic:
          plugins:
            - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes
              disabled: false
            - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes-backend-dynamic
              disabled: false
      ----

      . The Kubernetes Frontend plugin shows automatically a *Kubernetes* tab for Software Catalog entities with the annotation `backstage.io/kubernetes-id` or `backstage.io/kubernetes-namespace`.
      +
      Optionally, to hide the *Kubernetes* tab in the Software Catalog, disable the feature with this dynamic plugin configuration:
      +
      [source,yaml]
      ----
      global:
        dynamic:
          plugins:
            - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes
              disabled: false
              pluginConfig:
                dynamicPlugins:
                  frontend:
                    backstage.plugin-kubernetes:
                      mountPoints: []
            - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes-backend-dynamic
              disabled: false
      ----
      Show
      = Argo CD, Tekton, and Topology plugins require the Kubernetes Frontend and Kubernetes Backend plugins With this update, the Argo CD, Tekton, and Topology plugins requires the Kubernetes Frontend and Kubernetes Backend plugins. Before this update, these plugins depended only on the Kubernetes Backend plugin, and the feature provided by the Kubernetes Frontend plugin where provided by the removed `@janus-idp/shared-react` package. .Procedure . Enable the Kubernetes Frontend and Kubernetes Backend plugins. + [source,yaml] ---- global:   dynamic:     plugins:       - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes         disabled: false       - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes-backend-dynamic         disabled: false ---- . The Kubernetes Frontend plugin shows automatically a *Kubernetes* tab for Software Catalog entities with the annotation `backstage.io/kubernetes-id` or `backstage.io/kubernetes-namespace`. + Optionally, to hide the *Kubernetes* tab in the Software Catalog, disable the feature with this dynamic plugin configuration: + [source,yaml] ---- global:   dynamic:     plugins:       - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes         disabled: false         pluginConfig:           dynamicPlugins:             frontend:               backstage.plugin-kubernetes:                 mountPoints: []       - package: ./dynamic-plugins/dist/backstage-plugin-kubernetes-backend-dynamic         disabled: false ----
    • Deprecated Functionality
    • Done

      EPIC Goal

      We deprecated the complete https://github.com/janus-idp/backstage-plugins repository and that should also include the package @janus-idp/shared-react package from https://github.com/janus-idp/backstage-plugins/tree/main/plugins/shared-react

      This package includes common and pipelines (Tekton) related components and utilities.

      We should rethink/reevaluate which components.

      • We can/want duplicate into the plugins itself (if it's just a few lines of code, for example, or esp. when it's used by just one plugin )
      • of if we want to migrate the code to a new / another shared package like:
        1. A new BCP or rhdh-plugins workspace with just the shared code?
        2. Can it live as a shared package in one workspace that another workspace is using via npm
        3. Should we move code to https://github.com/redhat-developer/aonic-ui (maybe a good candidate for the pipelines code since there is already a pipelines package)

      Why is this important?

      We want to deprecate and remove all Janus-IDP references.

      User Scenarios

      None

      Dependencies (internal and external)

      1. Technically none
      2. Some plugins are now owned by the RHTAP team

      Acceptance Criteria

      There is no dependency from any BCP or rhdh-plugin code to @janus-idp/shared-react

              dsantra12 Debsmita Santra
              cjerolim Christoph Jerolimov
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: