@backstage/plugin-catalog-backend-module-aws 0.1.5-next.1 → 0.1.6-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.
- package/CHANGELOG.md +41 -0
- package/config.d.ts +44 -22
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-aws
|
|
2
2
|
|
|
3
|
+
## 0.1.6-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-tasks@0.3.2-next.1
|
|
9
|
+
- @backstage/backend-common@0.13.6-next.1
|
|
10
|
+
- @backstage/integration@1.2.1-next.1
|
|
11
|
+
- @backstage/plugin-catalog-backend@1.2.0-next.1
|
|
12
|
+
- @backstage/catalog-model@1.0.3-next.0
|
|
13
|
+
|
|
14
|
+
## 0.1.6-next.0
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- eb2544b21b: Inline config interfaces
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-tasks@0.3.2-next.0
|
|
21
|
+
- @backstage/backend-common@0.13.6-next.0
|
|
22
|
+
- @backstage/integration@1.2.1-next.0
|
|
23
|
+
- @backstage/plugin-catalog-backend@1.2.0-next.0
|
|
24
|
+
|
|
25
|
+
## 0.1.5
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- bffec1c96a: Fix S3 object URL creation at AwsS3EntityProvider by
|
|
30
|
+
|
|
31
|
+
- handle absence of region config,
|
|
32
|
+
- handle regions with region-less URIs (us-east-1),
|
|
33
|
+
- apply URI encoding,
|
|
34
|
+
- and simplify the logic overall.
|
|
35
|
+
|
|
36
|
+
- Updated dependencies
|
|
37
|
+
- @backstage/backend-common@0.13.3
|
|
38
|
+
- @backstage/plugin-catalog-backend@1.1.2
|
|
39
|
+
- @backstage/backend-tasks@0.3.1
|
|
40
|
+
- @backstage/integration@1.2.0
|
|
41
|
+
- @backstage/config@1.0.1
|
|
42
|
+
- @backstage/catalog-model@1.0.2
|
|
43
|
+
|
|
3
44
|
## 0.1.5-next.1
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
package/config.d.ts
CHANGED
|
@@ -14,27 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
interface AwsS3Config {
|
|
18
|
-
/**
|
|
19
|
-
* (Required) AWS S3 Bucket Name
|
|
20
|
-
* @visibility backend
|
|
21
|
-
*/
|
|
22
|
-
bucketName: string;
|
|
23
|
-
/**
|
|
24
|
-
* (Optional) AWS S3 Object key prefix
|
|
25
|
-
* If not set, all keys will be accepted, no filtering will be applied.
|
|
26
|
-
* @visibility backend
|
|
27
|
-
*/
|
|
28
|
-
prefix?: string;
|
|
29
|
-
/**
|
|
30
|
-
* (Optional) AWS Region.
|
|
31
|
-
* If not set, AWS_REGION environment variable or aws config file will be used.
|
|
32
|
-
* @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
|
|
33
|
-
* @visibility backend
|
|
34
|
-
*/
|
|
35
|
-
region?: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
17
|
export interface Config {
|
|
39
18
|
catalog?: {
|
|
40
19
|
/**
|
|
@@ -62,7 +41,50 @@ export interface Config {
|
|
|
62
41
|
*
|
|
63
42
|
* Uses "default" as default id for the single config variant.
|
|
64
43
|
*/
|
|
65
|
-
awsS3?:
|
|
44
|
+
awsS3?:
|
|
45
|
+
| {
|
|
46
|
+
/**
|
|
47
|
+
* (Required) AWS S3 Bucket Name
|
|
48
|
+
* @visibility backend
|
|
49
|
+
*/
|
|
50
|
+
bucketName: string;
|
|
51
|
+
/**
|
|
52
|
+
* (Optional) AWS S3 Object key prefix
|
|
53
|
+
* If not set, all keys will be accepted, no filtering will be applied.
|
|
54
|
+
* @visibility backend
|
|
55
|
+
*/
|
|
56
|
+
prefix?: string;
|
|
57
|
+
/**
|
|
58
|
+
* (Optional) AWS Region.
|
|
59
|
+
* If not set, AWS_REGION environment variable or aws config file will be used.
|
|
60
|
+
* @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
|
|
61
|
+
* @visibility backend
|
|
62
|
+
*/
|
|
63
|
+
region?: string;
|
|
64
|
+
}
|
|
65
|
+
| Record<
|
|
66
|
+
string,
|
|
67
|
+
{
|
|
68
|
+
/**
|
|
69
|
+
* (Required) AWS S3 Bucket Name
|
|
70
|
+
* @visibility backend
|
|
71
|
+
*/
|
|
72
|
+
bucketName: string;
|
|
73
|
+
/**
|
|
74
|
+
* (Optional) AWS S3 Object key prefix
|
|
75
|
+
* If not set, all keys will be accepted, no filtering will be applied.
|
|
76
|
+
* @visibility backend
|
|
77
|
+
*/
|
|
78
|
+
prefix?: string;
|
|
79
|
+
/**
|
|
80
|
+
* (Optional) AWS Region.
|
|
81
|
+
* If not set, AWS_REGION environment variable or aws config file will be used.
|
|
82
|
+
* @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
|
|
83
|
+
* @visibility backend
|
|
84
|
+
*/
|
|
85
|
+
region?: string;
|
|
86
|
+
}
|
|
87
|
+
>;
|
|
66
88
|
};
|
|
67
89
|
};
|
|
68
90
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-aws",
|
|
3
3
|
"description": "A Backstage catalog backend module that helps integrate towards AWS",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6-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.13.
|
|
37
|
-
"@backstage/backend-tasks": "^0.3.
|
|
38
|
-
"@backstage/catalog-model": "^1.0.
|
|
39
|
-
"@backstage/config": "^1.0.1
|
|
36
|
+
"@backstage/backend-common": "^0.13.6-next.1",
|
|
37
|
+
"@backstage/backend-tasks": "^0.3.2-next.1",
|
|
38
|
+
"@backstage/catalog-model": "^1.0.3-next.0",
|
|
39
|
+
"@backstage/config": "^1.0.1",
|
|
40
40
|
"@backstage/errors": "^1.0.0",
|
|
41
|
-
"@backstage/integration": "^1.2.
|
|
42
|
-
"@backstage/plugin-catalog-backend": "^1.
|
|
41
|
+
"@backstage/integration": "^1.2.1-next.1",
|
|
42
|
+
"@backstage/plugin-catalog-backend": "^1.2.0-next.1",
|
|
43
43
|
"@backstage/types": "^1.0.0",
|
|
44
44
|
"aws-sdk": "^2.840.0",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"winston": "^3.2.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@backstage/cli": "^0.17.
|
|
51
|
+
"@backstage/cli": "^0.17.2-next.1",
|
|
52
52
|
"@types/lodash": "^4.14.151",
|
|
53
53
|
"aws-sdk-mock": "^5.2.1",
|
|
54
54
|
"yaml": "^1.9.2"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"config.d.ts"
|
|
59
59
|
],
|
|
60
60
|
"configSchema": "config.d.ts",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "e15c24ddb5d14034629ced8a5a5d8f12b8f1a7dd"
|
|
62
62
|
}
|