@unito/integration-cli 0.65.0 → 0.66.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.
|
@@ -50,6 +50,10 @@ class SchemaSnapshot extends baseCommand_1.BaseCommand {
|
|
|
50
50
|
description: 'fail if any fields are unmapped and not in the allowlist',
|
|
51
51
|
default: false,
|
|
52
52
|
}),
|
|
53
|
+
port: core_1.Flags.integer({
|
|
54
|
+
description: 'port to start the integration on (default: 9200)',
|
|
55
|
+
default: 9200,
|
|
56
|
+
}),
|
|
53
57
|
};
|
|
54
58
|
async catch(error) {
|
|
55
59
|
if ((0, errors_1.handleError)(this, error)) {
|
|
@@ -88,7 +92,7 @@ class SchemaSnapshot extends baseCommand_1.BaseCommand {
|
|
|
88
92
|
throw new errors_1.EntryDecryptionError(failedSecrets.at(0), environment);
|
|
89
93
|
}
|
|
90
94
|
core_1.ux.action.start('Starting integration', undefined, { stdout: true });
|
|
91
|
-
const integrationPort =
|
|
95
|
+
const integrationPort = String(flags.port);
|
|
92
96
|
let modernProcess;
|
|
93
97
|
const recordingPath = path_1.default.join(os_1.default.tmpdir(), `schema-snapshot-recording-${Date.now()}.jsonl`);
|
|
94
98
|
// Pre-create recording file with restrictive permissions (owner-only read/write).
|
|
@@ -123,9 +127,12 @@ class SchemaSnapshot extends baseCommand_1.BaseCommand {
|
|
|
123
127
|
readOnly: true,
|
|
124
128
|
timeout: 20,
|
|
125
129
|
[Operation.GetCollection]: {
|
|
126
|
-
itemsPerPage:
|
|
130
|
+
itemsPerPage: 5,
|
|
127
131
|
followNextPage: false,
|
|
128
132
|
},
|
|
133
|
+
retryOnEmptyRelation: {
|
|
134
|
+
maxSiblings: 3,
|
|
135
|
+
},
|
|
129
136
|
});
|
|
130
137
|
// Only crawl graph structure, skip all step checks.
|
|
131
138
|
crawlerDriver.stepCheckKeys = [];
|
package/oclif.manifest.json
CHANGED
|
@@ -737,6 +737,14 @@
|
|
|
737
737
|
"name": "strict",
|
|
738
738
|
"allowNo": false,
|
|
739
739
|
"type": "boolean"
|
|
740
|
+
},
|
|
741
|
+
"port": {
|
|
742
|
+
"description": "port to start the integration on (default: 9200)",
|
|
743
|
+
"name": "port",
|
|
744
|
+
"default": 9200,
|
|
745
|
+
"hasDynamicHelp": false,
|
|
746
|
+
"multiple": false,
|
|
747
|
+
"type": "option"
|
|
740
748
|
}
|
|
741
749
|
},
|
|
742
750
|
"hasDynamicHelp": false,
|
|
@@ -961,5 +969,5 @@
|
|
|
961
969
|
]
|
|
962
970
|
}
|
|
963
971
|
},
|
|
964
|
-
"version": "0.
|
|
972
|
+
"version": "0.66.0"
|
|
965
973
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unito/integration-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.66.0",
|
|
4
4
|
"description": "Integration CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"integration-cli": "./bin/run"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@ngrok/ngrok": "^1.4.1",
|
|
40
40
|
"@oazapfts/runtime": "1.x",
|
|
41
41
|
"@oclif/core": "3.x",
|
|
42
|
-
"@unito/integration-debugger": "0.
|
|
42
|
+
"@unito/integration-debugger": "0.29.0",
|
|
43
43
|
"ajv": "8.x",
|
|
44
44
|
"ajv-formats": "3.x",
|
|
45
45
|
"better-ajv-errors": "1.x",
|