@backstage/plugin-catalog-backend-module-azure 0.1.4-next.2 → 0.1.5-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.
Files changed (2) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,102 @@
1
1
  # @backstage/plugin-catalog-backend-module-azure
2
2
 
3
+ ## 0.1.5-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/catalog-model@1.1.0-next.1
9
+ - @backstage/backend-common@0.14.1-next.1
10
+ - @backstage/errors@1.1.0-next.0
11
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
12
+ - @backstage/backend-tasks@0.3.3-next.1
13
+ - @backstage/integration@1.2.2-next.1
14
+
15
+ ## 0.1.5-next.0
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+ - @backstage/backend-common@0.14.1-next.0
21
+ - @backstage/catalog-model@1.1.0-next.0
22
+ - @backstage/integration@1.2.2-next.0
23
+ - @backstage/backend-tasks@0.3.3-next.0
24
+ - @backstage/plugin-catalog-backend@1.2.1-next.0
25
+
26
+ ## 0.1.4
27
+
28
+ ### Patch Changes
29
+
30
+ - b8884fd579: Add a new provider `AzureDevOpsEntityProvider` as replacement for `AzureDevOpsDiscoveryProcessor`.
31
+
32
+ In order to migrate from the `AzureDevOpsDiscoveryProcessor` you need to apply
33
+ the following changes:
34
+
35
+ **Before:**
36
+
37
+ ```yaml
38
+ # app-config.yaml
39
+
40
+ catalog:
41
+ locations:
42
+ - type: azure-discovery
43
+ target: https://dev.azure.com/myorg/myproject/_git/service-*?path=/catalog-info.yaml
44
+ ```
45
+
46
+ ```ts
47
+ /* packages/backend/src/plugins/catalog.ts */
48
+
49
+ import { AzureDevOpsDiscoveryProcessor } from '@backstage/plugin-catalog-backend-module-azure';
50
+
51
+ const builder = await CatalogBuilder.create(env);
52
+ /** ... other processors ... */
53
+ builder.addProcessor(new AzureDevOpsDiscoveryProcessor(env.reader));
54
+ ```
55
+
56
+ **After:**
57
+
58
+ ```yaml
59
+ # app-config.yaml
60
+
61
+ catalog:
62
+ providers:
63
+ azureDevOps:
64
+ anyProviderId:
65
+ host: selfhostedazure.yourcompany.com # This is only really needed for on-premise user, defaults to dev.azure.com
66
+ organization: myorg # For on-premise this would be your Collection
67
+ project: myproject
68
+ repository: service-*
69
+ path: /catalog-info.yaml
70
+ ```
71
+
72
+ ```ts
73
+ /* packages/backend/src/plugins/catalog.ts */
74
+
75
+ import { AzureDevOpsEntityProvider } from '@backstage/plugin-catalog-backend-module-azure';
76
+
77
+ const builder = await CatalogBuilder.create(env);
78
+ /** ... other processors and/or providers ... */
79
+ builder.addEntityProvider(
80
+ AzureDevOpsEntityProvider.fromConfig(env.config, {
81
+ logger: env.logger,
82
+ schedule: env.scheduler.createScheduledTaskRunner({
83
+ frequency: { minutes: 30 },
84
+ timeout: { minutes: 3 },
85
+ }),
86
+ }),
87
+ );
88
+ ```
89
+
90
+ Visit [https://backstage.io/docs/integrations/azure/discovery](https://backstage.io/docs/integrations/azure/discovery) for more details and options on configuration.
91
+
92
+ - 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
93
+ - Updated dependencies
94
+ - @backstage/plugin-catalog-backend@1.2.0
95
+ - @backstage/backend-tasks@0.3.2
96
+ - @backstage/backend-common@0.14.0
97
+ - @backstage/integration@1.2.1
98
+ - @backstage/catalog-model@1.0.3
99
+
3
100
  ## 0.1.4-next.2
4
101
 
5
102
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-azure",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards Azure",
4
- "version": "0.1.4-next.2",
4
+ "version": "0.1.5-next.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,13 +33,13 @@
33
33
  "start": "backstage-cli package start"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/backend-common": "^0.14.0-next.2",
37
- "@backstage/backend-tasks": "^0.3.2-next.2",
38
- "@backstage/catalog-model": "^1.0.3-next.0",
36
+ "@backstage/backend-common": "^0.14.1-next.1",
37
+ "@backstage/backend-tasks": "^0.3.3-next.1",
38
+ "@backstage/catalog-model": "^1.1.0-next.1",
39
39
  "@backstage/config": "^1.0.1",
40
- "@backstage/errors": "^1.0.0",
41
- "@backstage/integration": "^1.2.1-next.2",
42
- "@backstage/plugin-catalog-backend": "^1.2.0-next.2",
40
+ "@backstage/errors": "^1.1.0-next.0",
41
+ "@backstage/integration": "^1.2.2-next.1",
42
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
43
43
  "@backstage/types": "^1.0.0",
44
44
  "lodash": "^4.17.21",
45
45
  "msw": "^0.42.0",
@@ -48,8 +48,8 @@
48
48
  "winston": "^3.2.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/backend-test-utils": "^0.1.25-next.2",
52
- "@backstage/cli": "^0.17.2-next.2",
51
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
52
+ "@backstage/cli": "^0.18.0-next.1",
53
53
  "@types/lodash": "^4.14.151"
54
54
  },
55
55
  "files": [
@@ -57,5 +57,5 @@
57
57
  "config.d.ts"
58
58
  ],
59
59
  "configSchema": "config.d.ts",
60
- "gitHead": "afc672d59763a835574e6c47819107d22cfd1ad7"
60
+ "gitHead": "e0a993834c31487a97a1ae6878eaf3685f03fc1a"
61
61
  }