@backstage/plugin-catalog-backend-module-openapi 0.1.0-next.1 → 0.1.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @backstage/plugin-catalog-backend-module-openapi
2
2
 
3
+ ## 0.1.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-common@0.15.0-next.0
9
+ - @backstage/integration@1.3.0-next.0
10
+ - @backstage/plugin-catalog-backend@1.3.1-next.0
11
+
12
+ ## 0.1.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 67503d159e: Add basic OpenAPI \$ref support.
17
+
18
+ For more information see [here](https://github.com/backstage/backstage/tree/master/plugins/catalog-backend-module-openapi).
19
+
20
+ ### Patch Changes
21
+
22
+ - 4881dc4c84: Updated dependency `openapi-types` to `^12.0.0`.
23
+ - Updated dependencies
24
+ - @backstage/plugin-catalog-backend@1.3.0
25
+ - @backstage/backend-common@0.14.1
26
+ - @backstage/catalog-model@1.1.0
27
+ - @backstage/integration@1.2.2
28
+
29
+ ## 0.1.0-next.2
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+ - @backstage/plugin-catalog-backend@1.3.0-next.3
35
+ - @backstage/backend-common@0.14.1-next.3
36
+ - @backstage/integration@1.2.2-next.3
37
+ - @backstage/catalog-model@1.1.0-next.3
38
+
3
39
  ## 0.1.0-next.1
4
40
 
5
41
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -98,7 +98,12 @@ class OpenApiRefProcessor {
98
98
  }
99
99
  this.logger.debug(`Bundling OpenAPI specification from ${location.target}`);
100
100
  try {
101
- const bundledSpec = await bundleOpenApiSpecification((_a = entity.spec.definition) == null ? void 0 : _a.toString(), location.target, this.reader, scmIntegration);
101
+ const bundledSpec = await bundleOpenApiSpecification(
102
+ (_a = entity.spec.definition) == null ? void 0 : _a.toString(),
103
+ location.target,
104
+ this.reader,
105
+ scmIntegration
106
+ );
102
107
  return {
103
108
  ...entity,
104
109
  spec: { ...entity.spec, definition: bundledSpec }
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../src/lib/bundle.ts","../src/OpenApiRefProcessor.ts"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { UrlReader } from '@backstage/backend-common';\nimport { ScmIntegration } from '@backstage/integration';\nimport SwaggerParser from '@apidevtools/swagger-parser';\nimport { parse, stringify } from 'yaml';\nimport * as path from 'path';\n\nconst protocolPattern = /^(\\w{2,}):\\/\\//i;\nconst getProtocol = (refPath: string) => {\n const match = protocolPattern.exec(refPath);\n if (match) {\n return match[1].toLowerCase();\n }\n return undefined;\n};\n\nexport async function bundleOpenApiSpecification(\n specification: string | undefined,\n targetUrl: string,\n reader: UrlReader,\n scmIntegration: ScmIntegration,\n): Promise<string | undefined> {\n const fileUrlReaderResolver: SwaggerParser.ResolverOptions = {\n canRead: file => {\n const protocol = getProtocol(file.url);\n return protocol === undefined || protocol === 'file';\n },\n read: async file => {\n const relativePath = path.relative('.', file.url);\n const url = scmIntegration.resolveUrl({\n base: targetUrl,\n url: relativePath,\n });\n if (reader.readUrl) {\n const data = await reader.readUrl(url);\n return data.buffer();\n }\n throw new Error('UrlReader has no readUrl method defined');\n },\n };\n\n if (!specification) {\n return undefined;\n }\n\n const options: SwaggerParser.Options = {\n resolve: {\n file: fileUrlReaderResolver,\n http: true,\n },\n };\n const specObject = parse(specification);\n const bundledSpec = await SwaggerParser.bundle(specObject, options);\n return stringify(bundledSpec);\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { UrlReader } from '@backstage/backend-common';\nimport { Entity } from '@backstage/catalog-model';\nimport { Config } from '@backstage/config';\nimport { ScmIntegrations } from '@backstage/integration';\nimport {\n CatalogProcessor,\n LocationSpec,\n} from '@backstage/plugin-catalog-backend';\nimport { bundleOpenApiSpecification } from './lib';\nimport { Logger } from 'winston';\n\n/** @public */\nexport class OpenApiRefProcessor implements CatalogProcessor {\n private readonly integrations: ScmIntegrations;\n private readonly logger: Logger;\n private readonly reader: UrlReader;\n\n static fromConfig(\n config: Config,\n options: { logger: Logger; reader: UrlReader },\n ) {\n const integrations = ScmIntegrations.fromConfig(config);\n\n return new OpenApiRefProcessor({\n ...options,\n integrations,\n });\n }\n\n constructor(options: {\n integrations: ScmIntegrations;\n logger: Logger;\n reader: UrlReader;\n }) {\n this.integrations = options.integrations;\n this.logger = options.logger;\n this.reader = options.reader;\n }\n\n getProcessorName(): string {\n return 'OpenApiRefProcessor';\n }\n\n async preProcessEntity(\n entity: Entity,\n location: LocationSpec,\n ): Promise<Entity> {\n if (\n !entity ||\n entity.kind !== 'API' ||\n (entity.spec && entity.spec.type !== 'openapi')\n ) {\n return entity;\n }\n\n const scmIntegration = this.integrations.byUrl(location.target);\n if (!scmIntegration) {\n return entity;\n }\n\n this.logger.debug(`Bundling OpenAPI specification from ${location.target}`);\n try {\n const bundledSpec = await bundleOpenApiSpecification(\n entity.spec!.definition?.toString(),\n location.target,\n this.reader,\n scmIntegration,\n );\n\n return {\n ...entity,\n spec: { ...entity.spec, definition: bundledSpec },\n };\n } catch (error) {\n this.logger.error(`Unable to bundle OpenAPI specification`, error);\n return entity;\n }\n }\n}\n"],"names":["path","parse","SwaggerParser","stringify","ScmIntegrations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAC1C,MAAM,WAAW,GAAG,CAAC,OAAO,KAAK;AACjC,EAAE,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC9C,EAAE,IAAI,KAAK,EAAE;AACb,IAAI,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAClC,GAAG;AACH,EAAE,OAAO,KAAK,CAAC,CAAC;AAChB,CAAC,CAAC;AACK,eAAe,0BAA0B,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE;AACnG,EAAE,MAAM,qBAAqB,GAAG;AAChC,IAAI,OAAO,EAAE,CAAC,IAAI,KAAK;AACvB,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7C,MAAM,OAAO,QAAQ,KAAK,KAAK,CAAC,IAAI,QAAQ,KAAK,MAAM,CAAC;AACxD,KAAK;AACL,IAAI,IAAI,EAAE,OAAO,IAAI,KAAK;AAC1B,MAAM,MAAM,YAAY,GAAGA,eAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;AACxD,MAAM,MAAM,GAAG,GAAG,cAAc,CAAC,UAAU,CAAC;AAC5C,QAAQ,IAAI,EAAE,SAAS;AACvB,QAAQ,GAAG,EAAE,YAAY;AACzB,OAAO,CAAC,CAAC;AACT,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE;AAC1B,QAAQ,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAC/C,QAAQ,OAAO,IAAI,CAAC,M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AC,MAAM,IAAI,MAAM,CAAC,IAAI,KAAK,KAAK,IAAI,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;AAC3F,MAAM,OAAO,MAAM,CAAC;AACpB,KAAK;AACL,IAAI,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AACpE,IAAI,IAAI,CAAC,cAAc,EAAE;AACzB,MAAM,OAAO,MAAM,CAAC;AACpB,KAAK;AACL,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,oCAAoC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAChF,IAAI,IAAI;AACR,MAAM,MAAM,WAAW,GAAG,MAAM,0BAA0B,CAAC,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AACzK,MAAM,OAAO;AACb,QAAQ,GAAG,MAAM;AACjB,QAAQ,IAAI,EAAE,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE;AACzD,OAAO,CAAC;AACR,KAAK,CAAC,OAAO,KAAK,EAAE;AACpB,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,sCAAsC,CAAC,EAAE,KAAK,CAAC,CAAC;AACzE,MAAM,OAAO,MAAM,CAAC;AACpB,KAAK;AACL,GAAG;AACH;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/lib/bundle.ts","../src/OpenApiRefProcessor.ts"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { UrlReader } from '@backstage/backend-common';\nimport { ScmIntegration } from '@backstage/integration';\nimport SwaggerParser from '@apidevtools/swagger-parser';\nimport { parse, stringify } from 'yaml';\nimport * as path from 'path';\n\nconst protocolPattern = /^(\\w{2,}):\\/\\//i;\nconst getProtocol = (refPath: string) => {\n const match = protocolPattern.exec(refPath);\n if (match) {\n return match[1].toLowerCase();\n }\n return undefined;\n};\n\nexport async function bundleOpenApiSpecification(\n specification: string | undefined,\n targetUrl: string,\n reader: UrlReader,\n scmIntegration: ScmIntegration,\n): Promise<string | undefined> {\n const fileUrlReaderResolver: SwaggerParser.ResolverOptions = {\n canRead: file => {\n const protocol = getProtocol(file.url);\n return protocol === undefined || protocol === 'file';\n },\n read: async file => {\n const relativePath = path.relative('.', file.url);\n const url = scmIntegration.resolveUrl({\n base: targetUrl,\n url: relativePath,\n });\n if (reader.readUrl) {\n const data = await reader.readUrl(url);\n return data.buffer();\n }\n throw new Error('UrlReader has no readUrl method defined');\n },\n };\n\n if (!specification) {\n return undefined;\n }\n\n const options: SwaggerParser.Options = {\n resolve: {\n file: fileUrlReaderResolver,\n http: true,\n },\n };\n const specObject = parse(specification);\n const bundledSpec = await SwaggerParser.bundle(specObject, options);\n return stringify(bundledSpec);\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { UrlReader } from '@backstage/backend-common';\nimport { Entity } from '@backstage/catalog-model';\nimport { Config } from '@backstage/config';\nimport { ScmIntegrations } from '@backstage/integration';\nimport {\n CatalogProcessor,\n LocationSpec,\n} from '@backstage/plugin-catalog-backend';\nimport { bundleOpenApiSpecification } from './lib';\nimport { Logger } from 'winston';\n\n/** @public */\nexport class OpenApiRefProcessor implements CatalogProcessor {\n private readonly integrations: ScmIntegrations;\n private readonly logger: Logger;\n private readonly reader: UrlReader;\n\n static fromConfig(\n config: Config,\n options: { logger: Logger; reader: UrlReader },\n ) {\n const integrations = ScmIntegrations.fromConfig(config);\n\n return new OpenApiRefProcessor({\n ...options,\n integrations,\n });\n }\n\n constructor(options: {\n integrations: ScmIntegrations;\n logger: Logger;\n reader: UrlReader;\n }) {\n this.integrations = options.integrations;\n this.logger = options.logger;\n this.reader = options.reader;\n }\n\n getProcessorName(): string {\n return 'OpenApiRefProcessor';\n }\n\n async preProcessEntity(\n entity: Entity,\n location: LocationSpec,\n ): Promise<Entity> {\n if (\n !entity ||\n entity.kind !== 'API' ||\n (entity.spec && entity.spec.type !== 'openapi')\n ) {\n return entity;\n }\n\n const scmIntegration = this.integrations.byUrl(location.target);\n if (!scmIntegration) {\n return entity;\n }\n\n this.logger.debug(`Bundling OpenAPI specification from ${location.target}`);\n try {\n const bundledSpec = await bundleOpenApiSpecification(\n entity.spec!.definition?.toString(),\n location.target,\n this.reader,\n scmIntegration,\n );\n\n return {\n ...entity,\n spec: { ...entity.spec, definition: bundledSpec },\n };\n } catch (error) {\n this.logger.error(`Unable to bundle OpenAPI specification`, error);\n return entity;\n }\n }\n}\n"],"names":["path","parse","SwaggerParser","stringify","ScmIntegrations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAC1C,MAAM,WAAW,GAAG,CAAC,OAAO,KAAK;AACjC,EAAE,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CA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zB,MAAM,OAAO,MAAM,CAAC;AACpB,KAAK;AACL,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,oCAAoC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAChF,IAAI,IAAI;AACR,MAAM,MAAM,WAAW,GAAG,MAAM,0BAA0B;AAC1D,QAAQ,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;AACtE,QAAQ,QAAQ,CAAC,MAAM;AACvB,QAAQ,IAAI,CAAC,MAAM;AACnB,QAAQ,cAAc;AACtB,OAAO,CAAC;AACR,MAAM,OAAO;AACb,QAAQ,GAAG,MAAM;AACjB,QAAQ,IAAI,EAAE,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE;AACzD,OAAO,CAAC;AACR,KAAK,CAAC,OAAO,KAAK,EAAE;AACpB,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,sCAAsC,CAAC,EAAE,KAAK,CAAC,CAAC;AACzE,MAAM,OAAO,MAAM,CAAC;AACpB,KAAK;AACL,GAAG;AACH;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-openapi",
3
3
  "description": "A Backstage catalog backend module that helps with OpenAPI specifications",
4
- "version": "0.1.0-next.1",
4
+ "version": "0.1.1-next.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,21 +34,21 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@apidevtools/swagger-parser": "^10.1.0",
37
- "@backstage/backend-common": "^0.14.1-next.2",
38
- "@backstage/catalog-model": "^1.1.0-next.2",
37
+ "@backstage/backend-common": "^0.15.0-next.0",
38
+ "@backstage/catalog-model": "^1.1.0",
39
39
  "@backstage/config": "^1.0.1",
40
- "@backstage/integration": "^1.2.2-next.2",
41
- "@backstage/plugin-catalog-backend": "^1.2.1-next.2",
40
+ "@backstage/integration": "^1.3.0-next.0",
41
+ "@backstage/plugin-catalog-backend": "^1.3.1-next.0",
42
42
  "winston": "^3.2.1",
43
43
  "yaml": "^2.1.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/backend-test-utils": "^0.1.26-next.2",
47
- "@backstage/cli": "^0.18.0-next.2",
46
+ "@backstage/backend-test-utils": "^0.1.27-next.0",
47
+ "@backstage/cli": "^0.18.1-next.0",
48
48
  "openapi-types": "^12.0.0"
49
49
  },
50
50
  "files": [
51
51
  "dist"
52
52
  ],
53
- "gitHead": "3eddfb061dd0abe711f4b88d2e0fb4b99e692978"
53
+ "gitHead": "fc3229c49caf6eced02ed9516199015bf4682664"
54
54
  }