@backstage/plugin-catalog-backend-module-puppetdb 0.2.13 → 0.2.14-next.1
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 +16 -0
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/module/catalogModulePuppetDbEntityProvider.cjs.js.map +1 -1
- package/package.json +11 -19
- package/dist/alpha.cjs.js +0 -10
- package/dist/alpha.cjs.js.map +0 -1
- package/dist/alpha.d.ts +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-puppetdb
|
|
2
2
|
|
|
3
|
+
## 0.2.14-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- afd368e: **BREAKING ALPHA**: The module has been moved from the `/alpha` export to the root of the package.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-catalog-node@1.19.0-next.1
|
|
10
|
+
|
|
11
|
+
## 0.2.14-next.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @backstage/backend-plugin-api@1.4.3-next.0
|
|
17
|
+
- @backstage/plugin-catalog-node@1.18.1-next.0
|
|
18
|
+
|
|
3
19
|
## 0.2.13
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var PuppetDbEntityProvider = require('./providers/PuppetDbEntityProvider.cjs.js');
|
|
4
6
|
var constants = require('./providers/constants.cjs.js');
|
|
5
7
|
var constants$1 = require('./puppet/constants.cjs.js');
|
|
6
8
|
var transformers = require('./puppet/transformers.cjs.js');
|
|
9
|
+
var catalogModulePuppetDbEntityProvider = require('./module/catalogModulePuppetDbEntityProvider.cjs.js');
|
|
7
10
|
|
|
8
11
|
|
|
9
12
|
|
|
@@ -11,4 +14,5 @@ exports.PuppetDbEntityProvider = PuppetDbEntityProvider.PuppetDbEntityProvider;
|
|
|
11
14
|
exports.DEFAULT_PROVIDER_ID = constants.DEFAULT_PROVIDER_ID;
|
|
12
15
|
exports.ANNOTATION_PUPPET_CERTNAME = constants$1.ANNOTATION_PUPPET_CERTNAME;
|
|
13
16
|
exports.defaultResourceTransformer = transformers.defaultResourceTransformer;
|
|
17
|
+
exports.default = catalogModulePuppetDbEntityProvider.catalogModulePuppetDbEntityProvider;
|
|
14
18
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { EntityProvider, EntityProviderConnection } from '@backstage/plugin-cata
|
|
|
2
2
|
import { Config } from '@backstage/config';
|
|
3
3
|
import { ResourceEntity } from '@backstage/catalog-model';
|
|
4
4
|
import { JsonValue } from '@backstage/types';
|
|
5
|
+
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
5
6
|
import { SchedulerServiceTaskScheduleDefinition, LoggerService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -189,4 +190,11 @@ declare class PuppetDbEntityProvider implements EntityProvider {
|
|
|
189
190
|
*/
|
|
190
191
|
declare const DEFAULT_PROVIDER_ID = "default";
|
|
191
192
|
|
|
192
|
-
|
|
193
|
+
/**
|
|
194
|
+
* Registers the `PuppetDbEntityProvider` with the catalog processing extension point.
|
|
195
|
+
*
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
declare const catalogModulePuppetDbEntityProvider: _backstage_backend_plugin_api.BackendFeature;
|
|
199
|
+
|
|
200
|
+
export { ANNOTATION_PUPPET_CERTNAME, DEFAULT_PROVIDER_ID, PuppetDbEntityProvider, type PuppetDbEntityProviderConfig, type PuppetFact, type PuppetFactSet, type PuppetNode, type ResourceTransformer, catalogModulePuppetDbEntityProvider as default, defaultResourceTransformer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogModulePuppetDbEntityProvider.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 coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\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 * @
|
|
1
|
+
{"version":3,"file":"catalogModulePuppetDbEntityProvider.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 coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\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 * @public\n */\nexport const catalogModulePuppetDbEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'puppetdb-entity-provider',\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,\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","PuppetDbEntityProvider"],"mappings":";;;;;;AA4BO,MAAM,sCAAsCA,oCAAA,CAAoB;AAAA,EACrE,QAAA,EAAU,SAAA;AAAA,EACV,QAAA,EAAU,0BAAA;AAAA,EACV,SAAS,GAAA,EAAK;AACZ,IAAA,GAAA,CAAI,YAAA,CAAa;AAAA,MACf,IAAA,EAAM;AAAA,QACJ,OAAA,EAASC,qCAAA;AAAA,QACT,QAAQC,6BAAA,CAAa,UAAA;AAAA,QACrB,QAAQA,6BAAA,CAAa,MAAA;AAAA,QACrB,WAAWA,6BAAA,CAAa;AAAA,OAC1B;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,SAAS,MAAA,EAAQ,MAAA,EAAQ,WAAU,EAAG;AACjD,QAAA,OAAA,CAAQ,iBAAA;AAAA,UACNC,6CAAA,CAAuB,WAAW,MAAA,EAAQ;AAAA,YACxC,MAAA;AAAA,YACA;AAAA,WACD;AAAA,SACH;AAAA,MACF;AAAA,KACD,CAAA;AAAA,EACH;AACF,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-puppetdb",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14-next.1",
|
|
4
4
|
"description": "A Backstage catalog backend module that helps integrate towards PuppetDB",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
7
7
|
"pluginId": "catalog",
|
|
8
8
|
"pluginPackage": "@backstage/plugin-catalog-backend",
|
|
9
9
|
"features": {
|
|
10
|
-
"
|
|
10
|
+
".": "@backstage/BackendFeature"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"publishConfig": {
|
|
@@ -27,25 +27,17 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
|
+
"backstage": "@backstage/BackendFeature",
|
|
30
31
|
"require": "./dist/index.cjs.js",
|
|
31
32
|
"types": "./dist/index.d.ts",
|
|
32
33
|
"default": "./dist/index.cjs.js"
|
|
33
34
|
},
|
|
34
|
-
"./alpha": {
|
|
35
|
-
"backstage": "@backstage/BackendFeature",
|
|
36
|
-
"require": "./dist/alpha.cjs.js",
|
|
37
|
-
"types": "./dist/alpha.d.ts",
|
|
38
|
-
"default": "./dist/alpha.cjs.js"
|
|
39
|
-
},
|
|
40
35
|
"./package.json": "./package.json"
|
|
41
36
|
},
|
|
42
37
|
"main": "./dist/index.cjs.js",
|
|
43
38
|
"types": "./dist/index.d.ts",
|
|
44
39
|
"typesVersions": {
|
|
45
40
|
"*": {
|
|
46
|
-
"alpha": [
|
|
47
|
-
"dist/alpha.d.ts"
|
|
48
|
-
],
|
|
49
41
|
"package.json": [
|
|
50
42
|
"package.json"
|
|
51
43
|
]
|
|
@@ -65,19 +57,19 @@
|
|
|
65
57
|
"test": "backstage-cli package test"
|
|
66
58
|
},
|
|
67
59
|
"dependencies": {
|
|
68
|
-
"@backstage/backend-plugin-api": "
|
|
69
|
-
"@backstage/catalog-model": "
|
|
70
|
-
"@backstage/config": "
|
|
71
|
-
"@backstage/errors": "
|
|
72
|
-
"@backstage/plugin-catalog-node": "
|
|
73
|
-
"@backstage/types": "
|
|
60
|
+
"@backstage/backend-plugin-api": "1.4.3-next.0",
|
|
61
|
+
"@backstage/catalog-model": "1.7.5",
|
|
62
|
+
"@backstage/config": "1.3.3",
|
|
63
|
+
"@backstage/errors": "1.2.7",
|
|
64
|
+
"@backstage/plugin-catalog-node": "1.19.0-next.1",
|
|
65
|
+
"@backstage/types": "1.2.1",
|
|
74
66
|
"lodash": "^4.17.21",
|
|
75
67
|
"luxon": "^3.0.0",
|
|
76
68
|
"uuid": "^11.0.0"
|
|
77
69
|
},
|
|
78
70
|
"devDependencies": {
|
|
79
|
-
"@backstage/backend-test-utils": "
|
|
80
|
-
"@backstage/cli": "
|
|
71
|
+
"@backstage/backend-test-utils": "1.9.0-next.1",
|
|
72
|
+
"@backstage/cli": "0.34.2-next.2",
|
|
81
73
|
"@types/lodash": "^4.14.151",
|
|
82
74
|
"msw": "^1.0.0"
|
|
83
75
|
},
|
package/dist/alpha.cjs.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var catalogModulePuppetDbEntityProvider = require('./module/catalogModulePuppetDbEntityProvider.cjs.js');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
exports.default = catalogModulePuppetDbEntityProvider.catalogModulePuppetDbEntityProvider;
|
|
10
|
-
//# sourceMappingURL=alpha.cjs.js.map
|
package/dist/alpha.cjs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/alpha.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Registers the `PuppetDbEntityProvider` with the catalog processing extension point.
|
|
5
|
-
*
|
|
6
|
-
* @alpha
|
|
7
|
-
*/
|
|
8
|
-
declare const catalogModulePuppetDbEntityProvider: _backstage_backend_plugin_api.BackendFeature;
|
|
9
|
-
|
|
10
|
-
export { catalogModulePuppetDbEntityProvider as default };
|