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

Feature/make backends configurable #95

Merged
merged 29 commits into from
Jun 20, 2024

Conversation

MatsJohansen87
Copy link
Collaborator

@MatsJohansen87 MatsJohansen87 commented May 16, 2024

Multiple backends

Description

add possibility to configure multiple backends

  • add internal spot and blaze support to be configured via options.json
  • add APIs to get and set different stores

Motivation and Context

It should be possible to connect multiple backends with different query languages. An out of the box support for blaze and spot with CQL is needed as it is the most common use. But the library user may want to connect their own backend(s) (in addition).

How Has This Been Tested?

Implemented a spot in the development project and queried it simultaneously with the spot provided from Lens.

Screenshots (if appropriate):


  • The commit message follows guidelines
  • Tests for the changes have been added
  • Documentation has been added/ updated

packages/lib/src/types/response.ts Outdated Show resolved Hide resolved
packages/lib/src/types/backend.ts Outdated Show resolved Hide resolved
packages/lib/src/types/backend.ts Outdated Show resolved Hide resolved
packages/demo/public/options.json Show resolved Hide resolved
packages/demo/src/AppCCP.svelte Show resolved Hide resolved
packages/demo/src/AppCCP.svelte Outdated Show resolved Hide resolved
packages/demo/src/AppCCP.svelte Outdated Show resolved Hide resolved
@patrickskowronekdkfz patrickskowronekdkfz changed the title Feature/make backends configurable WIP: Feature/make backends configurable May 28, 2024
@MatsJohansen87 MatsJohansen87 changed the title WIP: Feature/make backends configurable Feature/make backends configurable Jun 13, 2024
packages/demo/public/options-ccp-demo.json Show resolved Hide resolved
docker-compose.dev.yml Show resolved Hide resolved
docker-compose.dev.yml Show resolved Hide resolved
@torbrenner torbrenner self-requested a review June 20, 2024 08:44
@torbrenner torbrenner merged commit f46a400 into develop Jun 20, 2024
6 checks passed
@torbrenner torbrenner deleted the feature/make-backends-configurable branch June 20, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants