Indexer service does not indexes actual schema parsing errors
If schema parsing fails with exception than Indexer service indexes generic 'schema not found' instead of actual schema parsing errors
**Example: ** Payload:
{
"kind": "slb-osdu-dev-des-prod-testing:oracle:prosource-wellbore:3.0.0",
"returnedFields": ["id", "index"]
}
Response:
{
"results": [
{
"index": {
"trace": [
"schema not found"
],
"statusCode": 404,
"lastUpdateTime": "2021-06-24T14:23:50.596Z"
},
"id": "slb-osdu-dev-sis-internal-hq:wks:seismicSurvey3d-Ukd1cHRhNy1UZXN0MQ"
}
],
"totalCount": 1
}
On logs the actual error message was found: org.opengroup.osdu.indexer.schema.converter.exeption.SchemaProcessingException: Errors occurred during parsing the schema, kind: osdu:osdu:Wellbore:1.0.0 | errors: Wrong definition format:AbstractSpatialLocation:1.0.0