@onlineapps/conn-orch-orchestrator 1.0.29 → 1.0.30
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onlineapps/conn-orch-orchestrator",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Workflow orchestration connector for OA Drive - handles message routing and workflow execution",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@onlineapps/conn-base-monitoring": "^1.0.0",
|
|
24
24
|
"@onlineapps/conn-infra-mq": "^1.1.0",
|
|
25
|
-
"@onlineapps/conn-orch-
|
|
25
|
+
"@onlineapps/conn-orch-api-mapper": "^1.0.8",
|
|
26
26
|
"@onlineapps/conn-orch-cookbook": "^2.0.0",
|
|
27
|
-
"@onlineapps/conn-orch-
|
|
27
|
+
"@onlineapps/conn-orch-registry": "^1.1.4",
|
|
28
|
+
"@onlineapps/cookbook-core": "^2.1.2"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
|
-
"jest": "^29.5.0",
|
|
31
31
|
"eslint": "^8.30.0",
|
|
32
|
+
"jest": "^29.5.0",
|
|
32
33
|
"jsdoc-to-markdown": "^8.0.0"
|
|
33
34
|
},
|
|
34
35
|
"jest": {
|
|
@@ -75,12 +75,11 @@ class WorkflowOrchestrator {
|
|
|
75
75
|
const { workflow_id, cookbook: cookbookDef, current_step, context } = message;
|
|
76
76
|
|
|
77
77
|
try {
|
|
78
|
-
// FAIL-FAST: Validate V2 format
|
|
79
|
-
// This replaces the old cookbook.validateCookbook() which only supports V1 (array steps)
|
|
78
|
+
// FAIL-FAST: Validate V2 format
|
|
80
79
|
this._validateV2Format(cookbookDef);
|
|
81
80
|
|
|
82
|
-
//
|
|
83
|
-
|
|
81
|
+
// Validate against JSON Schema (V2 schema - steps as object)
|
|
82
|
+
this.cookbook.validateCookbook(cookbookDef);
|
|
84
83
|
|
|
85
84
|
// Ensure delivery configuration is preserved in context (required by Delivery Dispatcher)
|
|
86
85
|
// Delivery comes from cookbook.delivery (set by Gateway) and must be passed through to workflow.completed
|