@backstage/plugin-catalog-backend-module-azure 0.2.3-next.2 → 0.2.4-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 +23 -0
- package/alpha/package.json +1 -1
- package/dist/alpha.cjs.js +2 -2
- package/dist/alpha.cjs.js.map +1 -1
- package/dist/alpha.d.ts +3 -7
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/module/catalogModuleAzureDevOpsEntityProvider.cjs.js.map +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-azure
|
|
2
2
|
|
|
3
|
+
## 0.2.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/plugin-catalog-node@1.14.0-next.0
|
|
9
|
+
- @backstage/backend-plugin-api@1.0.2-next.0
|
|
10
|
+
- @backstage/config@1.2.0
|
|
11
|
+
- @backstage/integration@1.15.1
|
|
12
|
+
- @backstage/plugin-catalog-common@1.1.0
|
|
13
|
+
|
|
14
|
+
## 0.2.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 3109c24: The export for the new backend system at the `/alpha` export is now also available via the main entry point, which means that you can remove the `/alpha` suffix from the import.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/plugin-catalog-node@1.13.1
|
|
21
|
+
- @backstage/integration@1.15.1
|
|
22
|
+
- @backstage/backend-plugin-api@1.0.1
|
|
23
|
+
- @backstage/config@1.2.0
|
|
24
|
+
- @backstage/plugin-catalog-common@1.1.0
|
|
25
|
+
|
|
3
26
|
## 0.2.3-next.2
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/alpha.cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var catalogModuleAzureDevOpsEntityProvider = require('./module/catalogModuleAzureDevOpsEntityProvider.cjs.js');
|
|
6
6
|
|
|
7
|
+
const _feature = catalogModuleAzureDevOpsEntityProvider.catalogModuleAzureDevOpsEntityProvider;
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
exports.default = catalogModuleAzureDevOpsEntityProvider.catalogModuleAzureDevOpsEntityProvider;
|
|
9
|
+
exports.default = _feature;
|
|
10
10
|
//# sourceMappingURL=alpha.cjs.js.map
|
package/dist/alpha.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alpha.cjs.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { default as feature } from './module';\n\n/** @alpha */\nconst _feature = feature;\nexport default _feature;\n"],"names":["feature"],"mappings":";;;;;;AAmBA,MAAM,QAAW,GAAAA;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
* @alpha
|
|
7
|
-
*/
|
|
8
|
-
declare const catalogModuleAzureDevOpsEntityProvider: _backstage_backend_plugin_api.BackendFeature;
|
|
3
|
+
/** @alpha */
|
|
4
|
+
declare const _feature: _backstage_backend_plugin_api.BackendFeature;
|
|
9
5
|
|
|
10
|
-
export {
|
|
6
|
+
export { _feature as default };
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var catalogModuleAzureDevOpsEntityProvider = require('./module/catalogModuleAzureDevOpsEntityProvider.cjs.js');
|
|
3
6
|
var AzureDevOpsDiscoveryProcessor = require('./processors/AzureDevOpsDiscoveryProcessor.cjs.js');
|
|
4
7
|
var AzureDevOpsEntityProvider = require('./providers/AzureDevOpsEntityProvider.cjs.js');
|
|
5
8
|
|
|
6
9
|
|
|
7
10
|
|
|
11
|
+
exports.default = catalogModuleAzureDevOpsEntityProvider.catalogModuleAzureDevOpsEntityProvider;
|
|
8
12
|
exports.AzureDevOpsDiscoveryProcessor = AzureDevOpsDiscoveryProcessor.AzureDevOpsDiscoveryProcessor;
|
|
9
13
|
exports.AzureDevOpsEntityProvider = AzureDevOpsEntityProvider.AzureDevOpsEntityProvider;
|
|
10
14
|
//# 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
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
2
|
+
import { LoggerService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
|
|
1
3
|
import { Config } from '@backstage/config';
|
|
2
4
|
import { ScmIntegrationRegistry } from '@backstage/integration';
|
|
3
5
|
import { CatalogProcessor, CatalogProcessorEmit, EntityProvider, EntityProviderConnection } from '@backstage/plugin-catalog-node';
|
|
4
6
|
import { LocationSpec } from '@backstage/plugin-catalog-common';
|
|
5
|
-
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Registers the AzureDevOpsEntityProvider with the catalog processing extension point.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
declare const catalogModuleAzureDevOpsEntityProvider: _backstage_backend_plugin_api.BackendFeature;
|
|
6
14
|
|
|
7
15
|
/**
|
|
8
16
|
* Extracts repositories out of an Azure DevOps org.
|
|
@@ -65,4 +73,4 @@ declare class AzureDevOpsEntityProvider implements EntityProvider {
|
|
|
65
73
|
private createObjectUrl;
|
|
66
74
|
}
|
|
67
75
|
|
|
68
|
-
export { AzureDevOpsDiscoveryProcessor, AzureDevOpsEntityProvider };
|
|
76
|
+
export { AzureDevOpsDiscoveryProcessor, AzureDevOpsEntityProvider, catalogModuleAzureDevOpsEntityProvider as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogModuleAzureDevOpsEntityProvider.cjs.js","sources":["../../src/module/catalogModuleAzureDevOpsEntityProvider.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 { AzureDevOpsEntityProvider } from '../providers';\n\n/**\n * Registers the AzureDevOpsEntityProvider with the catalog processing extension point.\n *\n * @
|
|
1
|
+
{"version":3,"file":"catalogModuleAzureDevOpsEntityProvider.cjs.js","sources":["../../src/module/catalogModuleAzureDevOpsEntityProvider.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 { AzureDevOpsEntityProvider } from '../providers';\n\n/**\n * Registers the AzureDevOpsEntityProvider with the catalog processing extension point.\n *\n * @public\n */\nexport const catalogModuleAzureDevOpsEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'azure-dev-ops-entity-provider',\n register(env) {\n env.registerInit({\n deps: {\n config: coreServices.rootConfig,\n catalog: catalogProcessingExtensionPoint,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ config, catalog, logger, scheduler }) {\n catalog.addEntityProvider(\n AzureDevOpsEntityProvider.fromConfig(config, {\n logger,\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","coreServices","catalogProcessingExtensionPoint","AzureDevOpsEntityProvider"],"mappings":";;;;;;AA4BO,MAAM,yCAAyCA,oCAAoB,CAAA;AAAA,EACxE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,+BAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQD,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,QAAQ,OAAS,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNE,mDAAA,CAA0B,WAAW,MAAQ,EAAA;AAAA,YAC3C,MAAA;AAAA,YACA,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-azure",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4-next.0",
|
|
4
4
|
"description": "A Backstage catalog backend module that helps integrate towards Azure",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
+
"backstage": "@backstage/BackendFeature",
|
|
25
26
|
"require": "./dist/index.cjs.js",
|
|
26
27
|
"types": "./dist/index.d.ts",
|
|
27
28
|
"default": "./dist/index.cjs.js"
|
|
@@ -51,17 +52,17 @@
|
|
|
51
52
|
"test": "backstage-cli package test"
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
|
-
"@backstage/backend-plugin-api": "1.0.
|
|
55
|
+
"@backstage/backend-plugin-api": "1.0.2-next.0",
|
|
55
56
|
"@backstage/config": "1.2.0",
|
|
56
|
-
"@backstage/integration": "1.15.1
|
|
57
|
+
"@backstage/integration": "1.15.1",
|
|
57
58
|
"@backstage/plugin-catalog-common": "1.1.0",
|
|
58
|
-
"@backstage/plugin-catalog-node": "1.
|
|
59
|
+
"@backstage/plugin-catalog-node": "1.14.0-next.0",
|
|
59
60
|
"node-fetch": "^2.7.0",
|
|
60
61
|
"uuid": "^9.0.0"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
|
-
"@backstage/backend-test-utils": "1.0.
|
|
64
|
-
"@backstage/cli": "0.
|
|
64
|
+
"@backstage/backend-test-utils": "1.0.3-next.0",
|
|
65
|
+
"@backstage/cli": "0.29.0-next.0",
|
|
65
66
|
"luxon": "^3.0.0",
|
|
66
67
|
"msw": "^1.0.0"
|
|
67
68
|
},
|