1.7.0 • Published 9 months ago

@janus-idp/backstage-plugin-bulk-import v1.7.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Bulk import frontend plugin for Backstage

This plugin allows bulk import of multiple catalog entities into the catalog.

For administrators

Installation

Installing as a dynamic plugin?

The sections below are relevant for static plugins. If the plugin is expected to be installed as a dynamic one:

Prerequisites

  • Follow the Bulk import backend plugin README to integrate bulk import in your Backstage instance.

  • Follow the GitHub Locations to integrate GitHub integrations in your Backstage instance. For now, the plugin only supports loading catalog entities from github.com or GitHub Enterprise.


NOTE

  • When RBAC permission framework is enabled, for non-admin users to access bulk import UI, the role associated with your user should have the following permission policies associated with it. Add the following in your permission policies configuration file:
p, role:default/team_a, bulk.import, use, allow
p, role:default/team_a, catalog-entity.read, read, allow
p, role:default/team_a, catalog-entity.create, create, allow
g, user:default/<login-id/user-name>, role:default/team_a

Procedure

  1. Install the Bulk import UI plugin using the following command:

    yarn workspace app add @janus-idp/backstage-plugin-bulk-import
  2. Add Route in packages/app/src/App.tsx:

    /* highlight-add-next-line */
    import { BulkImportPage } from '@janus-idp/backstage-plugin-bulk-import';
    ...
    /* highlight-add-start */
    <Route
         path="/bulk-import"
         element={<Navigate to="repositories" />}
     />
     <Route
         path="/bulk-import/repositories"
         element={<BulkImportPage />}
     />
     /* highlight-add-end */
    ...
  3. Add Bulk import Sidebar Item in packages/app/src/components/Root/Root.tsx:

    /* highlight-add-next-line */
    import { BulkImportSidebarItem } from '@janus-idp/backstage-plugin-bulk-import';
    
    export const Root = ({ children }: PropsWithChildren<{}>) => (
     <SidebarPage>
       <Sidebar>
       ...
       /* highlight-add-next-line */
       <BulkImportSidebarItem />
       ...
     </SidebarPage>
    );
1.7.0

9 months ago

1.6.1

9 months ago

1.4.11

9 months ago

1.6.0

9 months ago

1.5.5

9 months ago

1.5.4

9 months ago

1.5.3

10 months ago

1.5.2

10 months ago

1.5.7

9 months ago

1.5.6

9 months ago

1.4.6

10 months ago

1.4.5

10 months ago

1.4.4

10 months ago

1.4.3

10 months ago

1.5.1

10 months ago

1.4.2

10 months ago

1.5.0

10 months ago

1.4.1

11 months ago

1.4.0

11 months ago

1.4.9

10 months ago

1.4.8

10 months ago

1.4.10

10 months ago

1.4.7

10 months ago

1.2.0

11 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.1.5

12 months ago

1.0.6

12 months ago

1.2.3

11 months ago

1.1.4

12 months ago

1.2.2

11 months ago

1.1.3

12 months ago

1.3.0

11 months ago

1.2.1

11 months ago

1.1.2

12 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago