Endpoints in ubkg-api load Cypher query strings from files in a relative file path.
When the hs-ontology-api is the active service, calls to endpoints in ubkg-api are passed through to a library package version of ubkg-api. In these scenarios, the root path is relative to hs-ontology-api, not ubkg-api, making relative paths tricky.
Solution
Correct the path assignment in the loadquery utility.
Statement of problem
Endpoints in ubkg-api load Cypher query strings from files in a relative file path.
When the hs-ontology-api is the active service, calls to endpoints in ubkg-api are passed through to a library package version of ubkg-api. In these scenarios, the root path is relative to hs-ontology-api, not ubkg-api, making relative paths tricky.
Solution
Correct the path assignment in the loadquery utility.