@backstage/plugin-events-backend 0.6.3 → 0.6.4-next.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 +9 -0
- package/config.schema.json +27 -0
- package/package.json +15 -15
- package/config.d.ts +0 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @backstage/plugin-events-backend
|
|
2
2
|
|
|
3
|
+
## 0.6.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-plugin-api@1.9.3-next.0
|
|
9
|
+
- @backstage/plugin-events-node@0.4.24-next.0
|
|
10
|
+
- @backstage/backend-openapi-utils@0.6.11-next.0
|
|
11
|
+
|
|
3
12
|
## 0.6.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"events": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"notifyTimeoutMs": {
|
|
9
|
+
"type": "number",
|
|
10
|
+
"description": "Timeout in milliseconds for how long to wait before closing subscription events requests to ensure they don't stall or that events get stuck. Defaults to 55 seconds."
|
|
11
|
+
},
|
|
12
|
+
"http": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"topics": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "Topics for which a route has to be registered at which we can receive events via HTTP POST requests (i.e. received from webhooks)."
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-events-backend",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "backend-plugin",
|
|
6
6
|
"pluginId": "events",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
55
|
-
"config.
|
|
55
|
+
"config.schema.json",
|
|
56
56
|
"dist",
|
|
57
57
|
"migrations"
|
|
58
58
|
],
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"test": "backstage-cli package test"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@backstage/backend-openapi-utils": "
|
|
71
|
-
"@backstage/backend-plugin-api": "
|
|
72
|
-
"@backstage/config": "
|
|
73
|
-
"@backstage/errors": "
|
|
74
|
-
"@backstage/plugin-events-node": "
|
|
75
|
-
"@backstage/types": "
|
|
70
|
+
"@backstage/backend-openapi-utils": "0.6.11-next.0",
|
|
71
|
+
"@backstage/backend-plugin-api": "1.9.3-next.0",
|
|
72
|
+
"@backstage/config": "1.3.8",
|
|
73
|
+
"@backstage/errors": "1.3.1",
|
|
74
|
+
"@backstage/plugin-events-node": "0.4.24-next.0",
|
|
75
|
+
"@backstage/types": "1.2.2",
|
|
76
76
|
"@types/express": "^4.17.6",
|
|
77
77
|
"content-type": "^1.0.5",
|
|
78
78
|
"express": "^4.22.0",
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"knex": "^3.0.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@backstage/backend-app-api": "
|
|
84
|
-
"@backstage/backend-defaults": "
|
|
85
|
-
"@backstage/backend-test-utils": "
|
|
86
|
-
"@backstage/cli": "
|
|
87
|
-
"@backstage/plugin-events-backend-test-utils": "
|
|
88
|
-
"@backstage/repo-tools": "
|
|
83
|
+
"@backstage/backend-app-api": "1.7.2-next.0",
|
|
84
|
+
"@backstage/backend-defaults": "0.17.4-next.0",
|
|
85
|
+
"@backstage/backend-test-utils": "1.11.5-next.0",
|
|
86
|
+
"@backstage/cli": "0.36.4-next.0",
|
|
87
|
+
"@backstage/plugin-events-backend-test-utils": "0.1.57-next.0",
|
|
88
|
+
"@backstage/repo-tools": "0.17.4-next.0",
|
|
89
89
|
"@types/content-type": "^1.1.8",
|
|
90
90
|
"supertest": "^7.0.0"
|
|
91
91
|
},
|
|
92
|
-
"configSchema": "config.
|
|
92
|
+
"configSchema": "config.schema.json"
|
|
93
93
|
}
|
package/config.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2022 The Backstage Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export interface Config {
|
|
18
|
-
events?: {
|
|
19
|
-
/**
|
|
20
|
-
* Timeout in milliseconds for how long to wait before closing subscription events
|
|
21
|
-
* requests to ensure they don't stall or that events get stuck. Defaults to 55 seconds.
|
|
22
|
-
*/
|
|
23
|
-
notifyTimeoutMs?: number;
|
|
24
|
-
|
|
25
|
-
http?: {
|
|
26
|
-
/**
|
|
27
|
-
* Topics for which a route has to be registered
|
|
28
|
-
* at which we can receive events via HTTP POST requests
|
|
29
|
-
* (i.e. received from webhooks).
|
|
30
|
-
*/
|
|
31
|
-
topics?: string[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
}
|