0.4.4 • Published 1 year ago

bsmat-test v0.4.4

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

OpsLevel Maturity Plugin

This plugin helps you leverage OpsLevel's powerful maturity features with your existing Backstage catalog. An OpsLevel API Key is required to use this plugin.

npm.io npm.io

Install Plugin

yarn add backstage-plugin-opslevel-maturity

Update app-config.yaml to add a proxy for OpsLevel. Replace <your_OpsLevel_API_token> with a token from https://app.opslevel.com/api_tokens.

proxy:
  '/opslevel':
    target: 'https://app.opslevel.com'
    headers:
      X-Custom-Source: backstage
      Authorization: Bearer <your_OpsLevel_API_token>

If you're running Self-Hosted OpsLevel, replace target with your URL.

Add Route & Global nav

Update packages/app/src/App.tsx

import { OpslevelMaturityPage } from 'backstage-plugin-opslevel-maturity';
    <Route path="/opslevel-maturity" element={<OpslevelMaturityPage />}/>

Update packages/app/src/components/Root/Root.tsx

import CheckCircleOutlineIcon from '@material-ui/icons/CheckCircleOutline';
        <SidebarItem
          icon={CheckCircleOutlineIcon}
          to="opslevel-maturity"
          text="Maturity"
        />

Add Entity tab for Maturity

Add to the serviceEntityPage in packages/app/src/components/catalog/EntityPage.tsx

import { EntityOpsLevelMaturityContent } from 'backstage-plugin-opslevel-maturity';
    <EntityLayout.Route path="/maturity" title="Service Maturity">
      <EntityOpsLevelMaturityContent />
    </EntityLayout.Route>

Next Steps

Visit the Maturity tab in Backstage to get started.