@backstage/plugin-catalog-backend-module-bitbucket-cloud 0.1.0-next.0 → 0.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +210 -0
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,133 @@
1
1
  # @backstage/plugin-catalog-backend-module-bitbucket-cloud
2
2
 
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - dfc4efcbf0: Add new plugin `catalog-backend-module-bitbucket-cloud` with `BitbucketCloudEntityProvider`.
8
+
9
+ This entity provider is an alternative/replacement to the `BitbucketDiscoveryProcessor` **_(for Bitbucket Cloud only!)_**.
10
+ It replaces use cases using `search=true` and should be powerful enough as a complete replacement.
11
+
12
+ If any feature for Bitbucket Cloud is missing and preventing you from switching, please raise an issue.
13
+
14
+ **Before:**
15
+
16
+ ```typescript
17
+ // packages/backend/src/plugins/catalog.ts
18
+
19
+ builder.addProcessor(
20
+ BitbucketDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }),
21
+ );
22
+ ```
23
+
24
+ ```yaml
25
+ # app-config.yaml
26
+
27
+ catalog:
28
+ locations:
29
+ - type: bitbucket-discovery
30
+ target: 'https://bitbucket.org/workspaces/workspace-name/projects/apis-*/repos/service-*?search=true&catalogPath=/catalog-info.yaml'
31
+ ```
32
+
33
+ **After:**
34
+
35
+ ```typescript
36
+ // packages/backend/src/plugins/catalog.ts
37
+ builder.addEntityProvider(
38
+ BitbucketCloudEntityProvider.fromConfig(env.config, {
39
+ logger: env.logger,
40
+ schedule: env.scheduler.createScheduledTaskRunner({
41
+ frequency: { minutes: 30 },
42
+ timeout: { minutes: 3 },
43
+ }),
44
+ }),
45
+ );
46
+ ```
47
+
48
+ ```yaml
49
+ # app-config.yaml
50
+
51
+ catalog:
52
+ providers:
53
+ bitbucketCloud:
54
+ yourProviderId: # identifies your ingested dataset
55
+ catalogPath: /catalog-info.yaml # default value
56
+ filters: # optional
57
+ projectKey: '^apis-.*
58
+ ```
59
+
60
+ ## 0.1.0-next.0
61
+
62
+ ### Minor Changes
63
+
64
+ - dfc4efcbf0: Add new plugin `catalog-backend-module-bitbucket-cloud` with `BitbucketCloudEntityProvider`.
65
+
66
+ This entity provider is an alternative/replacement to the `BitbucketDiscoveryProcessor` **_(for Bitbucket Cloud only!)_**.
67
+ It replaces use cases using `search=true` and should be powerful enough as a complete replacement.
68
+
69
+ If any feature for Bitbucket Cloud is missing and preventing you from switching, please raise an issue.
70
+
71
+ **Before:**
72
+
73
+ ```typescript
74
+ // packages/backend/src/plugins/catalog.ts
75
+
76
+ builder.addProcessor(
77
+ BitbucketDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }),
78
+ );
79
+ ```
80
+
81
+ ```yaml
82
+ # app-config.yaml
83
+
84
+ catalog:
85
+ locations:
86
+ - type: bitbucket-discovery
87
+ target: 'https://bitbucket.org/workspaces/workspace-name/projects/apis-*/repos/service-*?search=true&catalogPath=/catalog-info.yaml'
88
+ ```
89
+
90
+ **After:**
91
+
92
+ ```typescript
93
+ // packages/backend/src/plugins/catalog.ts
94
+ builder.addEntityProvider(
95
+ BitbucketCloudEntityProvider.fromConfig(env.config, {
96
+ logger: env.logger,
97
+ schedule: env.scheduler.createScheduledTaskRunner({
98
+ frequency: { minutes: 30 },
99
+ timeout: { minutes: 3 },
100
+ }),
101
+ }),
102
+ );
103
+ ```
104
+
105
+ ```yaml
106
+ # app-config.yaml
107
+
108
+ catalog:
109
+ providers:
110
+ bitbucketCloud:
111
+ yourProviderId: # identifies your ingested dataset
112
+ catalogPath: /catalog-info.yaml # default value
113
+ filters: # optional
114
+ projectKey: '^apis-.* # optional; RegExp
115
+ repoSlug: '^service-.* # optional; RegExp
116
+ workspace: workspace-name
117
+ ```
118
+
119
+ ### Patch Changes
120
+
121
+ - Updated dependencies
122
+ - @backstage/backend-tasks@0.3.2-next.1
123
+ - @backstage/integration@1.2.1-next.1
124
+ - @backstage/plugin-catalog-backend@1.2.0-next.1
125
+ - @backstage/plugin-bitbucket-cloud-common@0.1.0-next.0
126
+
127
+ # optional; RegExp
128
+
129
+ repoSlug: '^service-.*
130
+
3
131
  ## 0.1.0-next.0
4
132
 
5
133
  ### Minor Changes
@@ -66,3 +194,85 @@
66
194
  - @backstage/integration@1.2.1-next.1
67
195
  - @backstage/plugin-catalog-backend@1.2.0-next.1
68
196
  - @backstage/plugin-bitbucket-cloud-common@0.1.0-next.0
197
+
198
+ # optional; RegExp
199
+
200
+ workspace: workspace-name
201
+
202
+ ````
203
+
204
+ ### Patch Changes
205
+
206
+ - 9122060776: Updated dependency `msw` to `^0.42.0`.
207
+ - Updated dependencies
208
+ - @backstage/plugin-catalog-backend@1.2.0
209
+ - @backstage/backend-tasks@0.3.2
210
+ - @backstage/integration@1.2.1
211
+ - @backstage/plugin-bitbucket-cloud-common@0.1.0
212
+
213
+ ## 0.1.0-next.0
214
+
215
+ ### Minor Changes
216
+
217
+ - dfc4efcbf0: Add new plugin `catalog-backend-module-bitbucket-cloud` with `BitbucketCloudEntityProvider`.
218
+
219
+ This entity provider is an alternative/replacement to the `BitbucketDiscoveryProcessor` **_(for Bitbucket Cloud only!)_**.
220
+ It replaces use cases using `search=true` and should be powerful enough as a complete replacement.
221
+
222
+ If any feature for Bitbucket Cloud is missing and preventing you from switching, please raise an issue.
223
+
224
+ **Before:**
225
+
226
+ ```typescript
227
+ // packages/backend/src/plugins/catalog.ts
228
+
229
+ builder.addProcessor(
230
+ BitbucketDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }),
231
+ );
232
+ ````
233
+
234
+ ```yaml
235
+ # app-config.yaml
236
+
237
+ catalog:
238
+ locations:
239
+ - type: bitbucket-discovery
240
+ target: 'https://bitbucket.org/workspaces/workspace-name/projects/apis-*/repos/service-*?search=true&catalogPath=/catalog-info.yaml'
241
+ ```
242
+
243
+ **After:**
244
+
245
+ ```typescript
246
+ // packages/backend/src/plugins/catalog.ts
247
+ builder.addEntityProvider(
248
+ BitbucketCloudEntityProvider.fromConfig(env.config, {
249
+ logger: env.logger,
250
+ schedule: env.scheduler.createScheduledTaskRunner({
251
+ frequency: { minutes: 30 },
252
+ timeout: { minutes: 3 },
253
+ }),
254
+ }),
255
+ );
256
+ ```
257
+
258
+ ```yaml
259
+ # app-config.yaml
260
+
261
+ catalog:
262
+ providers:
263
+ bitbucketCloud:
264
+ yourProviderId: # identifies your ingested dataset
265
+ catalogPath: /catalog-info.yaml # default value
266
+ filters: # optional
267
+ projectKey: '^apis-.* # optional; RegExp
268
+ repoSlug: '^service-.* # optional; RegExp
269
+ workspace: workspace-name
270
+ ```
271
+
272
+ ### Patch Changes
273
+
274
+ - Updated dependencies
275
+ - @backstage/backend-tasks@0.3.2-next.1
276
+ - @backstage/integration@1.2.1-next.1
277
+ - @backstage/plugin-catalog-backend@1.2.0-next.1
278
+ - @backstage/plugin-bitbucket-cloud-common@0.1.0-next.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-bitbucket-cloud",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards Bitbucket Cloud",
4
- "version": "0.1.0-next.0",
4
+ "version": "0.1.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,24 +33,24 @@
33
33
  "start": "backstage-cli package start"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/backend-tasks": "^0.3.2-next.1",
36
+ "@backstage/backend-tasks": "^0.3.2",
37
37
  "@backstage/config": "^1.0.1",
38
- "@backstage/integration": "^1.2.1-next.1",
39
- "@backstage/plugin-bitbucket-cloud-common": "^0.1.0-next.0",
40
- "@backstage/plugin-catalog-backend": "^1.2.0-next.1",
38
+ "@backstage/integration": "^1.2.1",
39
+ "@backstage/plugin-bitbucket-cloud-common": "^0.1.0",
40
+ "@backstage/plugin-catalog-backend": "^1.2.0",
41
41
  "uuid": "^8.0.0",
42
42
  "winston": "^3.2.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/backend-common": "^0.13.6-next.1",
46
- "@backstage/backend-test-utils": "^0.1.25-next.1",
47
- "@backstage/cli": "^0.17.2-next.1",
48
- "msw": "^0.35.0"
45
+ "@backstage/backend-common": "^0.14.0",
46
+ "@backstage/backend-test-utils": "^0.1.25",
47
+ "@backstage/cli": "^0.17.2",
48
+ "msw": "^0.42.0"
49
49
  },
50
50
  "files": [
51
51
  "dist",
52
52
  "config.d.ts"
53
53
  ],
54
54
  "configSchema": "config.d.ts",
55
- "gitHead": "e15c24ddb5d14034629ced8a5a5d8f12b8f1a7dd"
55
+ "gitHead": "e42cb3887e41f756c16380d757d93feda27f40ee"
56
56
  }