@onlineapps/conn-orch-orchestrator 1.0.28 → 1.0.29

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.28",
3
+ "version": "1.0.29",
4
4
  "description": "Workflow orchestration connector for OA Drive - handles message routing and workflow execution",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -76,10 +76,11 @@ class WorkflowOrchestrator {
76
76
 
77
77
  try {
78
78
  // FAIL-FAST: Validate V2 format BEFORE anything else
79
+ // This replaces the old cookbook.validateCookbook() which only supports V1 (array steps)
79
80
  this._validateV2Format(cookbookDef);
80
81
 
81
- // Validate cookbook structure
82
- this.cookbook.validateCookbook(cookbookDef);
82
+ // NOTE: Skip cookbook.validateCookbook() - it uses V1 schema (steps as array)
83
+ // V2 validation is done by _validateV2Format() above
83
84
 
84
85
  // Ensure delivery configuration is preserved in context (required by Delivery Dispatcher)
85
86
  // Delivery comes from cookbook.delivery (set by Gateway) and must be passed through to workflow.completed