Skip to content

Can orchestrator handle Z61 reference objects?

Ecarg requested to merge grace/T287154/Z61-ref-switch-cont into main

ticket

What/Why: Up until now, we have relied on hard-coded string literals for programming languages; meaning that we feed in the string literal or Z61 reference, our tests pass that optimistically assume our evaluators are being routed correctly. By removing the hard-coding done in test/utils/mockUtils.js and only sending in the Z61 IDs, failing tests revealed that the evaluator routing was not actually working as assumed.

How: In src/implementation.js whenever the string literal is detected, we can reference the schema's data on the programming language key-value mapping and ensure that the literal's reference is used to route to its evaluator.

BUG: T287154

Edited by Ecarg

Merge request reports