Closed jerstlouis closed 11 months ago
Describe the bug The ETS reports the following error:
java.lang.AssertionError: body: More than 1 schema is valid. (code: 1023) From: body.<oneOf> expected [true] but found [false]
on tests Job Creation Input Ref and test Job Creation Input Validation.
To Reproduce Run latest te2 against https://maps.gnosis.earth/ogcapi
Expected behavior No error or more comprehensible error report.
Additional Context
This seems to originate from this execution request:
{ "id": "echo", "inputs": { "stringInput": "teststring", "measureInput": { "value": "teststring" }, "dateInput": "teststring", "imagesInput": "teststring" }, "outputs": { "stringOutput": { "transmissionMode": "value" }, "measureOutput": { "transmissionMode": "value" }, "dateOutput": { "transmissionMode": "value" }, "doubleOutput": { "transmissionMode": "value" }, "arrayOutput": { "transmissionMode": "value" }, "complexObjectOutput": { "transmissionMode": "value" }, "boundingBoxOutput": { "transmissionMode": "value" }, "imagesOutput": { "transmissionMode": "value" } } }
when returning for this a single string value:
"teststring"
In this case it was because only "stringOutput" was being set, and the ETS expected multiple outputs while only one was being returned.
Decision during meeting 2023-08-18:
Describe the bug The ETS reports the following error:
on tests Job Creation Input Ref and test Job Creation Input Validation.
To Reproduce Run latest te2 against https://maps.gnosis.earth/ogcapi
Expected behavior No error or more comprehensible error report.
Additional Context
This seems to originate from this execution request:
when returning for this a single string value:
In this case it was because only "stringOutput" was being set, and the ETS expected multiple outputs while only one was being returned.