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

keycloak-backend: Migrate to New Backend and Fix Deprecations

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.4.0
    • 1.4.0
    • Build, Plugins
    • None
    • RHDH Plugins 3263

      Migration and Deprecation Checklist:

      • Remove `src/run.ts` and associated files
      • Update `dev/index.ts` to use the new backend system
      • Delete the `src/dynamic` directory
      • Delete the `src/alpha.ts` file
      • If applicable, update `src/index.ts` to export the plugin/module as `default`
        • If there are multiple modules/plugins in a package, reference the `ocm-backend` PR. Please notify pschultz@redhat.com as well.
      • Remove all references to `alpha` in `package.json`
      • If applicable, remove the `@backstage/backend-dynamic-feature-service` dependency
      • Remove all references to `backstage/backend-common` and remove the dependency
      • Update tests to use `startTestBackend` (if applicable)
        • Update module/plugin-specific tests to use `startTestBackend`
        • Do not migrate provider-specific tests to `startTestBackend`
        • Examples provided in referenced PRs
      • Update providers (if applicable) to use `deps` for required services and `options` for optional args
      • Use `backstage/errors` when applicable
      • Update `config.d.ts`
      • Move test/type-only dependencies to `devDependencies` in `package.json`
      • Clean up unused dependencies in `package.json`
      • Remove `express-service-static-core` and `express-promise-router`
        • Replace `import { Request } from 'express-serve-static-core';` with `import { Request } from 'express';`
        • Replace `import Router from "express-promise-router";` with `import { Router } from 'express';` and change the types to `Promise<Router>`
      • Run `yarn export-dynamic --clean` if applicable
      • Remove legacy backend references in `README.md`

       

      Example PRs:

              rh-ee-dzemanov Dominika Zemanovicova
              pschultz@redhat.com Paul Schultz
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: