@backstage/plugin-catalog-import 0.8.0-next.0 → 0.8.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 +42 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-import
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2e8764b95f: Make filename, branch name and examples URLs used in catalog import customizable.
|
|
8
|
+
|
|
9
|
+
Catalog backend ingestion loop can be already configured to fetch targets with custom catalog filename (other than `catalog-info.yaml`). It's now possible to customize said filename and branch name used in pull requests created by catalog import flow too. This allows organizations to further customize Backstage experience and to better reflect their branding.
|
|
10
|
+
|
|
11
|
+
Filename (default: `catalog-info.yaml`) and branch name (default: `backstage-integration`) used in pull requests can be configured in `app-config.yaml` as follows:
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
// app-config.yaml
|
|
15
|
+
|
|
16
|
+
catalog:
|
|
17
|
+
import:
|
|
18
|
+
entityFilename: anvil.yaml
|
|
19
|
+
pullRequestBranchName: anvil-integration
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Following React components have also been updated to accept optional props for providing example entity and repository paths:
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
<StepInitAnalyzeUrl
|
|
26
|
+
...
|
|
27
|
+
exampleLocationUrl="https://github.com/acme-corp/our-awesome-api/blob/main/anvil.yaml"
|
|
28
|
+
/>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```tsx
|
|
32
|
+
<ImportInfoCard
|
|
33
|
+
exampleLocationUrl="https://github.com/acme-corp/our-awesome-api/blob/main/anvil.yaml"
|
|
34
|
+
exampleRepositoryUrl="https://github.com/acme-corp/our-awesome-api"
|
|
35
|
+
/>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies
|
|
41
|
+
- @backstage/core-components@0.8.7
|
|
42
|
+
- @backstage/plugin-catalog-react@0.6.13
|
|
43
|
+
- @backstage/integration-react@0.1.20
|
|
44
|
+
|
|
3
45
|
## 0.8.0-next.0
|
|
4
46
|
|
|
5
47
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-import",
|
|
3
3
|
"description": "A Backstage plugin the helps you import entities into your catalog",
|
|
4
|
-
"version": "0.8.0
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"main": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"@backstage/catalog-client": "^0.5.5",
|
|
35
35
|
"@backstage/catalog-model": "^0.9.10",
|
|
36
36
|
"@backstage/config": "^0.1.13",
|
|
37
|
-
"@backstage/core-components": "^0.8.7
|
|
37
|
+
"@backstage/core-components": "^0.8.7",
|
|
38
38
|
"@backstage/core-plugin-api": "^0.6.0",
|
|
39
39
|
"@backstage/errors": "^0.2.0",
|
|
40
40
|
"@backstage/integration": "^0.7.2",
|
|
41
|
-
"@backstage/integration-react": "^0.1.20
|
|
42
|
-
"@backstage/plugin-catalog-react": "^0.6.13
|
|
41
|
+
"@backstage/integration-react": "^0.1.20",
|
|
42
|
+
"@backstage/plugin-catalog-react": "^0.6.13",
|
|
43
43
|
"@material-ui/core": "^4.12.2",
|
|
44
44
|
"@material-ui/icons": "^4.9.1",
|
|
45
45
|
"@material-ui/lab": "4.0.0-alpha.57",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"react": "^16.13.1 || ^17.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@backstage/cli": "^0.13.1
|
|
61
|
-
"@backstage/core-app-api": "^0.5.
|
|
62
|
-
"@backstage/dev-utils": "^0.2.20
|
|
63
|
-
"@backstage/test-utils": "^0.2.
|
|
60
|
+
"@backstage/cli": "^0.13.1",
|
|
61
|
+
"@backstage/core-app-api": "^0.5.2",
|
|
62
|
+
"@backstage/dev-utils": "^0.2.20",
|
|
63
|
+
"@backstage/test-utils": "^0.2.4",
|
|
64
64
|
"@testing-library/jest-dom": "^5.10.1",
|
|
65
65
|
"@testing-library/react": "^11.2.5",
|
|
66
66
|
"@testing-library/react-hooks": "^7.0.2",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"config.d.ts"
|
|
75
75
|
],
|
|
76
76
|
"configSchema": "config.d.ts",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "f944a625c4a8ec7f6a6237502691da9209ce6b14"
|
|
78
78
|
}
|