0.1.0 • Published 9 months ago
@facets-cloud/backstage-plugin-backend v0.1.0
@facets-cloud/backstage-plugin-backend
@facets-cloud/backstage-plugin-backend is a plugin for the Backstage backend app. It provides a route that @facets-cloud/backstage-plugin will use to connect to Facets.cloud API.
Installation
- Install
@facets-cloud/backstage-plugin-backendplugin with,
yarn workspace backend add @facets-cloud/backstage-plugin-backend- Add the plugin in
./packages/backend/src/index.tsto your backend,
+ backend.add(import('@facets-cloud/backstage-plugin-backend'));
backend.start();- Add
proxyandfacets-cloudconfiguration toapp-config.yaml. Note that adding auth in config is not recommended and it should be configured at user level in Facets.cloud settings. If there is no auth configured for user, and there is auth configured inapp-config.yaml, this common authentication will be used for making api calls to Facets.cloud
proxy:
endpoints:
'/facets/api':
target: ${FACETS_CONTROL_PLANE_URL}
facets-cloud:
controlPlaneUrl: ${FACETS_CONTROL_PLANE_URL}
auth:
username: ${FACETS_USER_NAME}
accessToken: ${FACETS_ACCESS_TOKEN}0.1.0
9 months ago