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

Add hybrid database option #1202

Open
bherr2 opened this issue Dec 6, 2023 · 1 comment
Open

Add hybrid database option #1202

bherr2 opened this issue Dec 6, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request EUI

Comments

@bherr2
Copy link
Member

bherr2 commented Dec 6, 2023

Currently the EUI can connect either to a remote api or to a local database. Add a new hybrid mode that will use the local database for queries based on the data and fetch requests for cached versions of ontology-only requests (ie *-tree-model requests and other relevant requests in ccf-cache). ccf-cache should also be in assets (probably even move them over and have ccf-api reference them from there).

Add/update web component options for enabling this (should be the default if using a client-side database).

@bherr2 bherr2 added enhancement New feature or request EUI labels Dec 6, 2023
@bherr2 bherr2 added this to the 2024 RUI/EUI Improvements milestone Dec 6, 2023
@bherr2
Copy link
Member Author

bherr2 commented Dec 7, 2023

Ok, I think the logic should be that if use-remote-api="true" but one or more dataSources is provided, then use the API for the dataSource independent stuff (ie *-tree-model requests and other relevant requests in ccf-cache) and local db for the queries involving the dataSources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request EUI
Projects
None yet
Development

No branches or pull requests

2 participants