@backstage/plugin-catalog-backend-module-bitbucket-server 0.1.13-next.0 → 0.1.13-next.2
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 +26 -0
- package/alpha/package.json +1 -1
- package/config.d.ts +12 -13
- package/dist/alpha.cjs.js +1 -1
- package/dist/alpha.cjs.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-bitbucket-server
|
|
2
2
|
|
|
3
|
+
## 0.1.13-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-plugin-api@0.6.0-next.2
|
|
9
|
+
- @backstage/backend-tasks@0.5.5-next.2
|
|
10
|
+
- @backstage/backend-common@0.19.2-next.2
|
|
11
|
+
- @backstage/plugin-catalog-node@1.4.1-next.2
|
|
12
|
+
|
|
13
|
+
## 0.1.13-next.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 629cbd194a87: Use `coreServices.rootConfig` instead of `coreService.config`
|
|
18
|
+
- 4b82382ed8c2: Fixed invalid configuration schema. The configuration schema may be more strict as a result.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-common@0.19.2-next.1
|
|
21
|
+
- @backstage/plugin-catalog-node@1.4.1-next.1
|
|
22
|
+
- @backstage/backend-plugin-api@0.6.0-next.1
|
|
23
|
+
- @backstage/backend-tasks@0.5.5-next.1
|
|
24
|
+
- @backstage/integration@1.5.1
|
|
25
|
+
- @backstage/catalog-model@1.4.1
|
|
26
|
+
- @backstage/config@1.0.8
|
|
27
|
+
- @backstage/errors@1.2.1
|
|
28
|
+
|
|
3
29
|
## 0.1.13-next.0
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/config.d.ts
CHANGED
|
@@ -37,24 +37,23 @@ export interface Config {
|
|
|
37
37
|
*/
|
|
38
38
|
filters?: {
|
|
39
39
|
/**
|
|
40
|
-
* (Optional)
|
|
40
|
+
* (Optional) Regular expression filter for the repository slug.
|
|
41
41
|
* @visibility frontend
|
|
42
42
|
*/
|
|
43
|
-
repoSlug?:
|
|
43
|
+
repoSlug?: string;
|
|
44
44
|
/**
|
|
45
|
-
* (Optional)
|
|
45
|
+
* (Optional) Regular expression filter for the project key.
|
|
46
46
|
* @visibility frontend
|
|
47
47
|
*/
|
|
48
|
-
projectKey?:
|
|
48
|
+
projectKey?: string;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* (Optional) TaskScheduleDefinition for the refresh.
|
|
52
52
|
*/
|
|
53
53
|
schedule?: TaskScheduleDefinitionConfig;
|
|
54
54
|
}
|
|
55
|
-
|
|
|
56
|
-
string
|
|
57
|
-
{
|
|
55
|
+
| {
|
|
56
|
+
[name: string]: {
|
|
58
57
|
/**
|
|
59
58
|
* (Optional) Path to the catalog file. Default to "/catalog-info.yaml".
|
|
60
59
|
* @visibility frontend
|
|
@@ -66,22 +65,22 @@ export interface Config {
|
|
|
66
65
|
*/
|
|
67
66
|
filters?: {
|
|
68
67
|
/**
|
|
69
|
-
* (Optional)
|
|
68
|
+
* (Optional) Regular expression filter for the repository slug.
|
|
70
69
|
* @visibility frontend
|
|
71
70
|
*/
|
|
72
|
-
repoSlug?:
|
|
71
|
+
repoSlug?: string;
|
|
73
72
|
/**
|
|
74
|
-
* (Optional)
|
|
73
|
+
* (Optional) Regular expression filter for the project key.
|
|
75
74
|
* @visibility frontend
|
|
76
75
|
*/
|
|
77
|
-
projectKey?:
|
|
76
|
+
projectKey?: string;
|
|
78
77
|
};
|
|
79
78
|
/**
|
|
80
79
|
* (Optional) TaskScheduleDefinition for the refresh.
|
|
81
80
|
*/
|
|
82
81
|
schedule?: TaskScheduleDefinitionConfig;
|
|
83
|
-
}
|
|
84
|
-
|
|
82
|
+
};
|
|
83
|
+
};
|
|
85
84
|
};
|
|
86
85
|
};
|
|
87
86
|
}
|
package/dist/alpha.cjs.js
CHANGED
|
@@ -20,7 +20,7 @@ const catalogModuleBitbucketServerEntityProvider = backendPluginApi.createBacken
|
|
|
20
20
|
env.registerInit({
|
|
21
21
|
deps: {
|
|
22
22
|
catalog: alpha.catalogProcessingExtensionPoint,
|
|
23
|
-
config: backendPluginApi.coreServices.
|
|
23
|
+
config: backendPluginApi.coreServices.rootConfig,
|
|
24
24
|
logger: backendPluginApi.coreServices.logger,
|
|
25
25
|
scheduler: backendPluginApi.coreServices.scheduler
|
|
26
26
|
},
|
package/dist/alpha.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModuleBitbucketServerEntityProvider.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 { loggerToWinstonLogger } from '@backstage/backend-common';\nimport {\n coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { BitbucketServerEntityProvider } from '../providers';\n\n/**\n * @alpha\n */\nexport const catalogModuleBitbucketServerEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'bitbucketServerEntityProvider',\n register(env) {\n env.registerInit({\n deps: {\n catalog: catalogProcessingExtensionPoint,\n config: coreServices.
|
|
1
|
+
{"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModuleBitbucketServerEntityProvider.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 { loggerToWinstonLogger } from '@backstage/backend-common';\nimport {\n coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { BitbucketServerEntityProvider } from '../providers';\n\n/**\n * @alpha\n */\nexport const catalogModuleBitbucketServerEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'bitbucketServerEntityProvider',\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 const winstonLogger = loggerToWinstonLogger(logger);\n const providers = BitbucketServerEntityProvider.fromConfig(config, {\n logger: winstonLogger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","loggerToWinstonLogger","BitbucketServerEntityProvider"],"mappings":";;;;;;;;;;;;;;;AA2BO,MAAM,6CAA6CA,oCAAoB,CAAA;AAAA,EAC5E,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,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,QAAQA,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,SAAS,MAAQ,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAM,MAAA,aAAA,GAAgBC,oCAAsB,MAAM,CAAA,CAAA;AAClD,QAAM,MAAA,SAAA,GAAYC,2DAA8B,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACjE,MAAQ,EAAA,aAAA;AAAA,UACR,SAAA;AAAA,SACD,CAAA,CAAA;AAED,QAAA,OAAA,CAAQ,kBAAkB,SAAS,CAAA,CAAA;AAAA,OACrC;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-bitbucket-server",
|
|
3
|
-
"version": "0.1.13-next.
|
|
3
|
+
"version": "0.1.13-next.2",
|
|
4
4
|
"main": "./dist/index.cjs.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
"clean": "backstage-cli package clean"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@backstage/backend-common": "^0.19.2-next.
|
|
46
|
-
"@backstage/backend-plugin-api": "^0.
|
|
47
|
-
"@backstage/backend-tasks": "^0.5.5-next.
|
|
45
|
+
"@backstage/backend-common": "^0.19.2-next.2",
|
|
46
|
+
"@backstage/backend-plugin-api": "^0.6.0-next.2",
|
|
47
|
+
"@backstage/backend-tasks": "^0.5.5-next.2",
|
|
48
48
|
"@backstage/catalog-model": "^1.4.1",
|
|
49
49
|
"@backstage/config": "^1.0.8",
|
|
50
50
|
"@backstage/errors": "^1.2.1",
|
|
51
51
|
"@backstage/integration": "^1.5.1",
|
|
52
|
-
"@backstage/plugin-catalog-node": "^1.4.1-next.
|
|
52
|
+
"@backstage/plugin-catalog-node": "^1.4.1-next.2",
|
|
53
53
|
"@types/node-fetch": "^2.5.12",
|
|
54
54
|
"node-fetch": "^2.6.7",
|
|
55
55
|
"uuid": "^8.0.0",
|
|
56
56
|
"winston": "^3.2.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@backstage/backend-test-utils": "^0.
|
|
60
|
-
"@backstage/cli": "^0.22.10-next.
|
|
59
|
+
"@backstage/backend-test-utils": "^0.2.0-next.2",
|
|
60
|
+
"@backstage/cli": "^0.22.10-next.1",
|
|
61
61
|
"luxon": "^3.0.0",
|
|
62
62
|
"msw": "^1.0.0"
|
|
63
63
|
},
|