@backstage/plugin-catalog-backend-module-incremental-ingestion 0.0.0-nightly-20221205022826 → 0.0.0-nightly-20221206022810
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 +12 -11
- package/alpha/package.json +1 -1
- package/migrations/20221116073152_init.js +8 -6
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-incremental-ingestion
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20221206022810
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
+
- c507aee8a2: Ensured typescript type checks in migration files.
|
|
11
12
|
- 884d749b14: Refactored to use `coreServices` from `@backstage/backend-plugin-api`.
|
|
12
13
|
- de8a975911: Changed to use native `AbortController` and `AbortSignal` from Node.js, instead
|
|
13
14
|
of the one from `node-abort-controller`. This is possible now that the minimum
|
|
@@ -20,16 +21,16 @@
|
|
|
20
21
|
effects.
|
|
21
22
|
|
|
22
23
|
- Updated dependencies
|
|
23
|
-
- @backstage/plugin-catalog-backend@0.0.0-nightly-
|
|
24
|
-
- @backstage/backend-common@0.0.0-nightly-
|
|
25
|
-
- @backstage/plugin-catalog-node@0.0.0-nightly-
|
|
26
|
-
- @backstage/backend-tasks@0.0.0-nightly-
|
|
27
|
-
- @backstage/backend-plugin-api@0.0.0-nightly-
|
|
28
|
-
- @backstage/backend-test-utils@0.0.0-nightly-
|
|
29
|
-
- @backstage/plugin-permission-common@0.0.0-nightly-
|
|
30
|
-
- @backstage/catalog-model@0.0.0-nightly-
|
|
31
|
-
- @backstage/config@0.0.0-nightly-
|
|
32
|
-
- @backstage/errors@0.0.0-nightly-
|
|
24
|
+
- @backstage/plugin-catalog-backend@0.0.0-nightly-20221206022810
|
|
25
|
+
- @backstage/backend-common@0.0.0-nightly-20221206022810
|
|
26
|
+
- @backstage/plugin-catalog-node@0.0.0-nightly-20221206022810
|
|
27
|
+
- @backstage/backend-tasks@0.0.0-nightly-20221206022810
|
|
28
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20221206022810
|
|
29
|
+
- @backstage/backend-test-utils@0.0.0-nightly-20221206022810
|
|
30
|
+
- @backstage/plugin-permission-common@0.0.0-nightly-20221206022810
|
|
31
|
+
- @backstage/catalog-model@0.0.0-nightly-20221206022810
|
|
32
|
+
- @backstage/config@0.0.0-nightly-20221206022810
|
|
33
|
+
- @backstage/errors@0.0.0-nightly-20221206022810
|
|
33
34
|
|
|
34
35
|
## 0.1.0-next.0
|
|
35
36
|
|
package/alpha/package.json
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
// @ts-check
|
|
18
|
+
|
|
17
19
|
/**
|
|
18
20
|
* @param { import("knex").Knex } knex
|
|
19
21
|
*/
|
|
@@ -25,7 +27,7 @@ exports.up = async function up(knex) {
|
|
|
25
27
|
table.comment('Tracks ingestion streams for very large data sets');
|
|
26
28
|
|
|
27
29
|
table
|
|
28
|
-
.uuid('id'
|
|
30
|
+
.uuid('id')
|
|
29
31
|
.notNullable()
|
|
30
32
|
.comment('Auto-generated ID of the ingestion');
|
|
31
33
|
|
|
@@ -85,7 +87,7 @@ exports.up = async function up(knex) {
|
|
|
85
87
|
});
|
|
86
88
|
|
|
87
89
|
await knex.schema.alterTable('ingestions', t => {
|
|
88
|
-
t.primary('id');
|
|
90
|
+
t.primary(['id']);
|
|
89
91
|
t.index('provider_name', 'ingestion_provider_name_idx');
|
|
90
92
|
t.unique(['provider_name', 'completion_ticket'], {
|
|
91
93
|
indexName: 'ingestion_composite_index',
|
|
@@ -100,7 +102,7 @@ exports.up = async function up(knex) {
|
|
|
100
102
|
table.comment('tracks each step of an iterative ingestion');
|
|
101
103
|
|
|
102
104
|
table
|
|
103
|
-
.uuid('id'
|
|
105
|
+
.uuid('id')
|
|
104
106
|
.notNullable()
|
|
105
107
|
.comment('Auto-generated ID of the ingestion mark');
|
|
106
108
|
|
|
@@ -128,7 +130,7 @@ exports.up = async function up(knex) {
|
|
|
128
130
|
});
|
|
129
131
|
|
|
130
132
|
await knex.schema.alterTable('ingestion_marks', t => {
|
|
131
|
-
t.primary('id');
|
|
133
|
+
t.primary(['id']);
|
|
132
134
|
t.index('ingestion_id', 'ingestion_mark_ingestion_id_idx');
|
|
133
135
|
});
|
|
134
136
|
|
|
@@ -141,7 +143,7 @@ exports.up = async function up(knex) {
|
|
|
141
143
|
);
|
|
142
144
|
|
|
143
145
|
table
|
|
144
|
-
.uuid('id'
|
|
146
|
+
.uuid('id')
|
|
145
147
|
.notNullable()
|
|
146
148
|
.comment('Auto-generated ID of the marked entity');
|
|
147
149
|
|
|
@@ -162,7 +164,7 @@ exports.up = async function up(knex) {
|
|
|
162
164
|
});
|
|
163
165
|
|
|
164
166
|
await knex.schema.alterTable('ingestion_mark_entities', t => {
|
|
165
|
-
t.primary('id');
|
|
167
|
+
t.primary(['id']);
|
|
166
168
|
t.index('ingestion_mark_id', 'ingestion_mark_entity_ingestion_mark_id_idx');
|
|
167
169
|
});
|
|
168
170
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-incremental-ingestion",
|
|
3
3
|
"description": "An entity provider for streaming large asset sources into the catalog",
|
|
4
|
-
"version": "0.0.0-nightly-
|
|
4
|
+
"version": "0.0.0-nightly-20221206022810",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"postpack": "backstage-cli package postpack"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@backstage/backend-common": "^0.0.0-nightly-
|
|
37
|
-
"@backstage/backend-plugin-api": "^0.0.0-nightly-
|
|
38
|
-
"@backstage/backend-tasks": "^0.0.0-nightly-
|
|
39
|
-
"@backstage/backend-test-utils": "^0.0.0-nightly-
|
|
40
|
-
"@backstage/catalog-model": "^0.0.0-nightly-
|
|
41
|
-
"@backstage/config": "^0.0.0-nightly-
|
|
42
|
-
"@backstage/errors": "^0.0.0-nightly-
|
|
43
|
-
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-
|
|
44
|
-
"@backstage/plugin-catalog-node": "^0.0.0-nightly-
|
|
45
|
-
"@backstage/plugin-permission-common": "^0.0.0-nightly-
|
|
36
|
+
"@backstage/backend-common": "^0.0.0-nightly-20221206022810",
|
|
37
|
+
"@backstage/backend-plugin-api": "^0.0.0-nightly-20221206022810",
|
|
38
|
+
"@backstage/backend-tasks": "^0.0.0-nightly-20221206022810",
|
|
39
|
+
"@backstage/backend-test-utils": "^0.0.0-nightly-20221206022810",
|
|
40
|
+
"@backstage/catalog-model": "^0.0.0-nightly-20221206022810",
|
|
41
|
+
"@backstage/config": "^0.0.0-nightly-20221206022810",
|
|
42
|
+
"@backstage/errors": "^0.0.0-nightly-20221206022810",
|
|
43
|
+
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-20221206022810",
|
|
44
|
+
"@backstage/plugin-catalog-node": "^0.0.0-nightly-20221206022810",
|
|
45
|
+
"@backstage/plugin-permission-common": "^0.0.0-nightly-20221206022810",
|
|
46
46
|
"@types/express": "^4.17.6",
|
|
47
47
|
"@types/luxon": "^3.0.0",
|
|
48
48
|
"express": "^4.17.1",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"winston": "^3.2.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@backstage/backend-app-api": "^0.0.0-nightly-
|
|
58
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
59
|
-
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-
|
|
57
|
+
"@backstage/backend-app-api": "^0.0.0-nightly-20221206022810",
|
|
58
|
+
"@backstage/cli": "^0.0.0-nightly-20221206022810",
|
|
59
|
+
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-20221206022810",
|
|
60
60
|
"get-port": "^6.1.2"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|