@openchoreo/backstage-plugin-catalog-backend-module
v1.3.1
Published
The openchoreo backend module for the catalog plugin.
Readme
catalog-backend-module-openchoreo
This is the OpenChoreo backend module for the Backstage catalog plugin.
Installation
Add the module to your Backstage backend:
yarn add @internal/plugin-catalog-backend-module-openchoreoConfiguration
Add the OpenChoreo configuration to your app-config.yaml:
openchoreo:
baseUrl: http://localhost:8080/api/v1
token: ${OPENCHOREO_TOKEN} # optional: for authenticationUsage
Register the module in your backend:
// packages/backend/src/index.ts
import { createBackend } from '@backstage/backend-defaults';
const backend = createBackend();
// ... other plugins
// Add the OpenChoreo catalog module
backend.add(import('@internal/plugin-catalog-backend-module-openchoreo'));
backend.start();Features
- Entity Provider: Automatically discovers and ingests projects from OpenChoreo API as Backstage System entities
- Scheduled Updates: Runs every 30 minutes to keep entities in sync
- Configuration-based: Uses Backstage configuration system for API connection details
Entity Mapping
The module translates OpenChoreo projects to Backstage entities as follows:
- OpenChoreo Project → Backstage System
- Project metadata becomes system metadata
- Projects are tagged with
openchoreoandproject - Entities are annotated with OpenChoreo-specific information
Development
To work on this module:
# Start in development mode
yarn start
# Run tests
yarn test
# Build for production
yarn build