@backstage/plugin-catalog-backend-module-puppetdb 0.0.0-nightly-20230801022410 → 0.0.0-nightly-20230802021600

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,15 +1,32 @@
1
1
  # @backstage/plugin-catalog-backend-module-puppetdb
2
2
 
3
- ## 0.0.0-nightly-20230801022410
3
+ ## 0.0.0-nightly-20230802021600
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 629cbd194a87: Use `coreServices.rootConfig` instead of `coreService.config`
7
8
  - 4b82382ed8c2: Fixed invalid configuration schema. The configuration schema may be more strict as a result.
8
9
  - Updated dependencies
9
- - @backstage/plugin-catalog-node@0.0.0-nightly-20230801022410
10
- - @backstage/backend-common@0.0.0-nightly-20230801022410
11
- - @backstage/backend-plugin-api@0.0.0-nightly-20230801022410
12
- - @backstage/backend-tasks@0.0.0-nightly-20230801022410
10
+ - @backstage/backend-common@0.0.0-nightly-20230802021600
11
+ - @backstage/plugin-catalog-node@0.0.0-nightly-20230802021600
12
+ - @backstage/backend-plugin-api@0.0.0-nightly-20230802021600
13
+ - @backstage/backend-tasks@0.0.0-nightly-20230802021600
14
+ - @backstage/catalog-model@1.4.1
15
+ - @backstage/config@1.0.8
16
+ - @backstage/errors@1.2.1
17
+ - @backstage/types@1.1.0
18
+
19
+ ## 0.1.5-next.1
20
+
21
+ ### Patch Changes
22
+
23
+ - 629cbd194a87: Use `coreServices.rootConfig` instead of `coreService.config`
24
+ - 4b82382ed8c2: Fixed invalid configuration schema. The configuration schema may be more strict as a result.
25
+ - Updated dependencies
26
+ - @backstage/backend-common@0.19.2-next.1
27
+ - @backstage/plugin-catalog-node@1.4.1-next.1
28
+ - @backstage/backend-plugin-api@0.6.0-next.1
29
+ - @backstage/backend-tasks@0.5.5-next.1
13
30
  - @backstage/catalog-model@1.4.1
14
31
  - @backstage/config@1.0.8
15
32
  - @backstage/errors@1.2.1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-puppetdb",
3
- "version": "0.0.0-nightly-20230801022410",
3
+ "version": "0.0.0-nightly-20230802021600",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -20,7 +20,7 @@ const catalogModulePuppetDbEntityProvider = backendPluginApi.createBackendModule
20
20
  env.registerInit({
21
21
  deps: {
22
22
  catalog: alpha.catalogProcessingExtensionPoint,
23
- config: backendPluginApi.coreServices.config,
23
+ config: backendPluginApi.coreServices.rootConfig,
24
24
  logger: backendPluginApi.coreServices.logger,
25
25
  scheduler: backendPluginApi.coreServices.scheduler
26
26
  },
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModulePuppetDbEntityProvider.ts"],"sourcesContent":["/*\n * Copyright 2022 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 */\n\nimport {\n createBackendModule,\n coreServices,\n} from '@backstage/backend-plugin-api';\nimport { loggerToWinstonLogger } from '@backstage/backend-common';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { PuppetDbEntityProvider } from '../providers/PuppetDbEntityProvider';\n\n/**\n * Registers the `PuppetDbEntityProvider` with the catalog processing extension point.\n *\n * @alpha\n */\nexport const catalogModulePuppetDbEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'puppetDbEntityProvider',\n register(env) {\n env.registerInit({\n deps: {\n catalog: catalogProcessingExtensionPoint,\n config: coreServices.config,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ catalog, config, logger, scheduler }) {\n catalog.addEntityProvider(\n PuppetDbEntityProvider.fromConfig(config, {\n logger: loggerToWinstonLogger(logger),\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","PuppetDbEntityProvider","loggerToWinstonLogger"],"mappings":";;;;;;;;;;;;;;;AA6BO,MAAM,sCAAsCA,oCAAoB,CAAA;AAAA,EACrE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,wBAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQC,6BAAa,CAAA,MAAA;AAAA,QACrB,QAAQA,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,SAAS,MAAQ,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNC,6CAAA,CAAuB,WAAW,MAAQ,EAAA;AAAA,YACxC,MAAA,EAAQC,oCAAsB,MAAM,CAAA;AAAA,YACpC,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModulePuppetDbEntityProvider.ts"],"sourcesContent":["/*\n * Copyright 2022 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 */\n\nimport {\n createBackendModule,\n coreServices,\n} from '@backstage/backend-plugin-api';\nimport { loggerToWinstonLogger } from '@backstage/backend-common';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { PuppetDbEntityProvider } from '../providers/PuppetDbEntityProvider';\n\n/**\n * Registers the `PuppetDbEntityProvider` with the catalog processing extension point.\n *\n * @alpha\n */\nexport const catalogModulePuppetDbEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'puppetDbEntityProvider',\n register(env) {\n env.registerInit({\n deps: {\n catalog: catalogProcessingExtensionPoint,\n config: coreServices.rootConfig,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ catalog, config, logger, scheduler }) {\n catalog.addEntityProvider(\n PuppetDbEntityProvider.fromConfig(config, {\n logger: loggerToWinstonLogger(logger),\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","PuppetDbEntityProvider","loggerToWinstonLogger"],"mappings":";;;;;;;;;;;;;;;AA6BO,MAAM,sCAAsCA,oCAAoB,CAAA;AAAA,EACrE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,wBAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,QAAQA,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,SAAS,MAAQ,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNC,6CAAA,CAAuB,WAAW,MAAQ,EAAA;AAAA,YACxC,MAAA,EAAQC,oCAAsB,MAAM,CAAA;AAAA,YACpC,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-puppetdb",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards PuppetDB",
4
- "version": "0.0.0-nightly-20230801022410",
4
+ "version": "0.0.0-nightly-20230802021600",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -45,13 +45,13 @@
45
45
  "postpack": "backstage-cli package postpack"
46
46
  },
47
47
  "dependencies": {
48
- "@backstage/backend-common": "^0.0.0-nightly-20230801022410",
49
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20230801022410",
50
- "@backstage/backend-tasks": "^0.0.0-nightly-20230801022410",
48
+ "@backstage/backend-common": "^0.0.0-nightly-20230802021600",
49
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20230802021600",
50
+ "@backstage/backend-tasks": "^0.0.0-nightly-20230802021600",
51
51
  "@backstage/catalog-model": "^1.4.1",
52
52
  "@backstage/config": "^1.0.8",
53
53
  "@backstage/errors": "^1.2.1",
54
- "@backstage/plugin-catalog-node": "^0.0.0-nightly-20230801022410",
54
+ "@backstage/plugin-catalog-node": "^0.0.0-nightly-20230802021600",
55
55
  "@backstage/types": "^1.1.0",
56
56
  "lodash": "^4.17.21",
57
57
  "luxon": "^3.0.0",
@@ -60,8 +60,8 @@
60
60
  "winston": "^3.2.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/backend-test-utils": "^0.0.0-nightly-20230801022410",
64
- "@backstage/cli": "^0.0.0-nightly-20230801022410",
63
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20230802021600",
64
+ "@backstage/cli": "^0.0.0-nightly-20230802021600",
65
65
  "@types/lodash": "^4.14.151",
66
66
  "msw": "^1.0.0"
67
67
  },