@onlineapps/conn-orch-orchestrator 1.0.22 → 1.0.24
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.24",
|
|
4
4
|
"description": "Workflow orchestration connector for OA Drive - handles message routing and workflow execution",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@onlineapps/conn-infra-mq": "^1.1.0",
|
|
25
25
|
"@onlineapps/conn-orch-registry": "^1.1.4",
|
|
26
26
|
"@onlineapps/conn-orch-cookbook": "^2.0.0",
|
|
27
|
-
"@onlineapps/conn-orch-api-mapper": "^1.0.
|
|
27
|
+
"@onlineapps/conn-orch-api-mapper": "^1.0.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"jest": "^29.5.0",
|
|
@@ -280,9 +280,14 @@ class WorkflowOrchestrator {
|
|
|
280
280
|
* @returns {Promise<Object>} API call result
|
|
281
281
|
*/
|
|
282
282
|
async _executeTaskStep(step, context) {
|
|
283
|
-
//
|
|
284
|
-
|
|
283
|
+
// Debug: log context.steps keys
|
|
284
|
+
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.step_id} - context.steps keys:`,
|
|
285
|
+
context.steps ? Object.keys(context.steps) : 'NO STEPS');
|
|
286
|
+
|
|
287
|
+
// Resolve variable references in step.input (e.g. {{steps.step_id.output.field}})
|
|
288
|
+
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.step_id} input BEFORE:`, JSON.stringify(step.input));
|
|
285
289
|
const resolvedInput = this._resolveInputReferences(step.input, context);
|
|
290
|
+
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.step_id} input AFTER:`, JSON.stringify(resolvedInput));
|
|
286
291
|
|
|
287
292
|
// Use API mapper to call the service with resolved input
|
|
288
293
|
const result = await this.apiMapper.callOperation(
|