add a catalog-info file for the new module

Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
This commit is contained in:
Aramis Sennyey
2023-09-18 19:19:54 -04:00
parent 51bd64ee5e
commit d7f87cd15c
3 changed files with 9 additions and 2 deletions
-1
View File
@@ -50,7 +50,6 @@ backend:
allow:
- host: example.com
- host: '*.mozilla.org'
- host: localhost:7007
# workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir
# See README.md in the proxy-backend plugin for information on the configuration format
@@ -0,0 +1,9 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: backstage-plugin-catalog-backend-module-openapi-spec
title: '@backstage/plugin-catalog-backend-module-openapi-spec'
spec:
lifecycle: experimental
type: backstage-backend-plugin-module
owner: maintainers
@@ -46,7 +46,6 @@ export const catalogModuleInternalOpenApiSpec = createBackendModule({
logger: coreServices.logger,
},
async init({ catalog, config, discovery, scheduler, logger }) {
console.log('testing');
catalog.addEntityProvider(
InternalOpenApiDocumentationProvider.fromConfig(config, {
discovery,