From d7f87cd15cd10d373b074ba5a9fdda6d59f879d1 Mon Sep 17 00:00:00 2001 From: Aramis Sennyey Date: Mon, 18 Sep 2023 19:19:54 -0400 Subject: [PATCH] add a catalog-info file for the new module Signed-off-by: Aramis Sennyey --- app-config.yaml | 1 - .../catalog-info.yaml | 9 +++++++++ plugins/catalog-backend-module-openapi-spec/src/index.ts | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 plugins/catalog-backend-module-openapi-spec/catalog-info.yaml diff --git a/app-config.yaml b/app-config.yaml index e7b0a07483..0ae2a4aa6e 100644 --- a/app-config.yaml +++ b/app-config.yaml @@ -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 diff --git a/plugins/catalog-backend-module-openapi-spec/catalog-info.yaml b/plugins/catalog-backend-module-openapi-spec/catalog-info.yaml new file mode 100644 index 0000000000..6aa1223aa0 --- /dev/null +++ b/plugins/catalog-backend-module-openapi-spec/catalog-info.yaml @@ -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 diff --git a/plugins/catalog-backend-module-openapi-spec/src/index.ts b/plugins/catalog-backend-module-openapi-spec/src/index.ts index 9cc0cab6d3..226442666c 100644 --- a/plugins/catalog-backend-module-openapi-spec/src/index.ts +++ b/plugins/catalog-backend-module-openapi-spec/src/index.ts @@ -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,