@backstage/plugin-catalog-backend-module-bitbucket-cloud 0.1.0-next.0 → 0.1.1-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 +231 -0
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,154 @@
1
1
  # @backstage/plugin-catalog-backend-module-bitbucket-cloud
2
2
 
3
+ ## 0.1.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a70869e775: Updated dependency `msw` to `^0.43.0`.
8
+ - Updated dependencies
9
+ - @backstage/plugin-catalog-backend@1.3.0-next.3
10
+ - @backstage/integration@1.2.2-next.3
11
+ - @backstage/plugin-bitbucket-cloud-common@0.1.1-next.1
12
+ - @backstage/backend-tasks@0.3.3-next.3
13
+
14
+ ## 0.1.1-next.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @backstage/integration@1.2.2-next.0
20
+ - @backstage/backend-tasks@0.3.3-next.0
21
+ - @backstage/plugin-catalog-backend@1.2.1-next.0
22
+ - @backstage/plugin-bitbucket-cloud-common@0.1.1-next.0
23
+
24
+ ## 0.1.0
25
+
26
+ ### Minor Changes
27
+
28
+ - dfc4efcbf0: Add new plugin `catalog-backend-module-bitbucket-cloud` with `BitbucketCloudEntityProvider`.
29
+
30
+ This entity provider is an alternative/replacement to the `BitbucketDiscoveryProcessor` **_(for Bitbucket Cloud only!)_**.
31
+ It replaces use cases using `search=true` and should be powerful enough as a complete replacement.
32
+
33
+ If any feature for Bitbucket Cloud is missing and preventing you from switching, please raise an issue.
34
+
35
+ **Before:**
36
+
37
+ ```typescript
38
+ // packages/backend/src/plugins/catalog.ts
39
+
40
+ builder.addProcessor(
41
+ BitbucketDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }),
42
+ );
43
+ ```
44
+
45
+ ```yaml
46
+ # app-config.yaml
47
+
48
+ catalog:
49
+ locations:
50
+ - type: bitbucket-discovery
51
+ target: 'https://bitbucket.org/workspaces/workspace-name/projects/apis-*/repos/service-*?search=true&catalogPath=/catalog-info.yaml'
52
+ ```
53
+
54
+ **After:**
55
+
56
+ ```typescript
57
+ // packages/backend/src/plugins/catalog.ts
58
+ builder.addEntityProvider(
59
+ BitbucketCloudEntityProvider.fromConfig(env.config, {
60
+ logger: env.logger,
61
+ schedule: env.scheduler.createScheduledTaskRunner({
62
+ frequency: { minutes: 30 },
63
+ timeout: { minutes: 3 },
64
+ }),
65
+ }),
66
+ );
67
+ ```
68
+
69
+ ```yaml
70
+ # app-config.yaml
71
+
72
+ catalog:
73
+ providers:
74
+ bitbucketCloud:
75
+ yourProviderId: # identifies your ingested dataset
76
+ catalogPath: /catalog-info.yaml # default value
77
+ filters: # optional
78
+ projectKey: '^apis-.*
79
+ ```
80
+
81
+ ## 0.1.0-next.0
82
+
83
+ ### Minor Changes
84
+
85
+ - dfc4efcbf0: Add new plugin `catalog-backend-module-bitbucket-cloud` with `BitbucketCloudEntityProvider`.
86
+
87
+ This entity provider is an alternative/replacement to the `BitbucketDiscoveryProcessor` **_(for Bitbucket Cloud only!)_**.
88
+ It replaces use cases using `search=true` and should be powerful enough as a complete replacement.
89
+
90
+ If any feature for Bitbucket Cloud is missing and preventing you from switching, please raise an issue.
91
+
92
+ **Before:**
93
+
94
+ ```typescript
95
+ // packages/backend/src/plugins/catalog.ts
96
+
97
+ builder.addProcessor(
98
+ BitbucketDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }),
99
+ );
100
+ ```
101
+
102
+ ```yaml
103
+ # app-config.yaml
104
+
105
+ catalog:
106
+ locations:
107
+ - type: bitbucket-discovery
108
+ target: 'https://bitbucket.org/workspaces/workspace-name/projects/apis-*/repos/service-*?search=true&catalogPath=/catalog-info.yaml'
109
+ ```
110
+
111
+ **After:**
112
+
113
+ ```typescript
114
+ // packages/backend/src/plugins/catalog.ts
115
+ builder.addEntityProvider(
116
+ BitbucketCloudEntityProvider.fromConfig(env.config, {
117
+ logger: env.logger,
118
+ schedule: env.scheduler.createScheduledTaskRunner({
119
+ frequency: { minutes: 30 },
120
+ timeout: { minutes: 3 },
121
+ }),
122
+ }),
123
+ );
124
+ ```
125
+
126
+ ```yaml
127
+ # app-config.yaml
128
+
129
+ catalog:
130
+ providers:
131
+ bitbucketCloud:
132
+ yourProviderId: # identifies your ingested dataset
133
+ catalogPath: /catalog-info.yaml # default value
134
+ filters: # optional
135
+ projectKey: '^apis-.* # optional; RegExp
136
+ repoSlug: '^service-.* # optional; RegExp
137
+ workspace: workspace-name
138
+ ```
139
+
140
+ ### Patch Changes
141
+
142
+ - Updated dependencies
143
+ - @backstage/backend-tasks@0.3.2-next.1
144
+ - @backstage/integration@1.2.1-next.1
145
+ - @backstage/plugin-catalog-backend@1.2.0-next.1
146
+ - @backstage/plugin-bitbucket-cloud-common@0.1.0-next.0
147
+
148
+ # optional; RegExp
149
+
150
+ repoSlug: '^service-.*
151
+
3
152
  ## 0.1.0-next.0
4
153
 
5
154
  ### Minor Changes
@@ -66,3 +215,85 @@
66
215
  - @backstage/integration@1.2.1-next.1
67
216
  - @backstage/plugin-catalog-backend@1.2.0-next.1
68
217
  - @backstage/plugin-bitbucket-cloud-common@0.1.0-next.0
218
+
219
+ # optional; RegExp
220
+
221
+ workspace: workspace-name
222
+
223
+ ````
224
+
225
+ ### Patch Changes
226
+
227
+ - 9122060776: Updated dependency `msw` to `^0.42.0`.
228
+ - Updated dependencies
229
+ - @backstage/plugin-catalog-backend@1.2.0
230
+ - @backstage/backend-tasks@0.3.2
231
+ - @backstage/integration@1.2.1
232
+ - @backstage/plugin-bitbucket-cloud-common@0.1.0
233
+
234
+ ## 0.1.0-next.0
235
+
236
+ ### Minor Changes
237
+
238
+ - dfc4efcbf0: Add new plugin `catalog-backend-module-bitbucket-cloud` with `BitbucketCloudEntityProvider`.
239
+
240
+ This entity provider is an alternative/replacement to the `BitbucketDiscoveryProcessor` **_(for Bitbucket Cloud only!)_**.
241
+ It replaces use cases using `search=true` and should be powerful enough as a complete replacement.
242
+
243
+ If any feature for Bitbucket Cloud is missing and preventing you from switching, please raise an issue.
244
+
245
+ **Before:**
246
+
247
+ ```typescript
248
+ // packages/backend/src/plugins/catalog.ts
249
+
250
+ builder.addProcessor(
251
+ BitbucketDiscoveryProcessor.fromConfig(env.config, { logger: env.logger }),
252
+ );
253
+ ````
254
+
255
+ ```yaml
256
+ # app-config.yaml
257
+
258
+ catalog:
259
+ locations:
260
+ - type: bitbucket-discovery
261
+ target: 'https://bitbucket.org/workspaces/workspace-name/projects/apis-*/repos/service-*?search=true&catalogPath=/catalog-info.yaml'
262
+ ```
263
+
264
+ **After:**
265
+
266
+ ```typescript
267
+ // packages/backend/src/plugins/catalog.ts
268
+ builder.addEntityProvider(
269
+ BitbucketCloudEntityProvider.fromConfig(env.config, {
270
+ logger: env.logger,
271
+ schedule: env.scheduler.createScheduledTaskRunner({
272
+ frequency: { minutes: 30 },
273
+ timeout: { minutes: 3 },
274
+ }),
275
+ }),
276
+ );
277
+ ```
278
+
279
+ ```yaml
280
+ # app-config.yaml
281
+
282
+ catalog:
283
+ providers:
284
+ bitbucketCloud:
285
+ yourProviderId: # identifies your ingested dataset
286
+ catalogPath: /catalog-info.yaml # default value
287
+ filters: # optional
288
+ projectKey: '^apis-.* # optional; RegExp
289
+ repoSlug: '^service-.* # optional; RegExp
290
+ workspace: workspace-name
291
+ ```
292
+
293
+ ### Patch Changes
294
+
295
+ - Updated dependencies
296
+ - @backstage/backend-tasks@0.3.2-next.1
297
+ - @backstage/integration@1.2.1-next.1
298
+ - @backstage/plugin-catalog-backend@1.2.0-next.1
299
+ - @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.1-next.1",
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.3-next.3",
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.2-next.3",
39
+ "@backstage/plugin-bitbucket-cloud-common": "^0.1.1-next.1",
40
+ "@backstage/plugin-catalog-backend": "^1.3.0-next.3",
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.1-next.3",
46
+ "@backstage/backend-test-utils": "^0.1.26-next.3",
47
+ "@backstage/cli": "^0.18.0-next.3",
48
+ "msw": "^0.43.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": "291b3a07233061266d9f3ce431345bf19fa4bbd5"
56
56
  }