Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: relative file path for loadquery when ubkg-api endpoints called from hs-ontology-api #119

Closed
AlanSimmons opened this issue Apr 25, 2024 · 0 comments · Fixed by #120
Closed
Assignees
Labels
bug Something isn't working

Comments

@AlanSimmons
Copy link
Collaborator

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.

image

Solution

Correct the path assignment in the loadquery utility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment