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

Query Node API #8

Closed
hraberg opened this issue May 10, 2018 · 4 comments
Closed

Query Node API #8

hraberg opened this issue May 10, 2018 · 4 comments
Assignees
Labels

Comments

@hraberg
Copy link
Contributor

hraberg commented May 10, 2018

There needs to be a way to query the data.

The simplest approach is to assume every participant is running their own query node as a library, and use the API directly.

Another approach is some from of remote API, either just taking Datalog over REST and returning EDN, or GraphQL (but likely not for MVP).

@hraberg hraberg added the query label May 10, 2018
@hraberg hraberg added this to the MVP milestone May 10, 2018
@hraberg
Copy link
Contributor Author

hraberg commented May 10, 2018

For the MVP we're currently assuming the the query language itself will be a subset of Datomic's EDN dialect of Datalog.

@hraberg hraberg added this to To do in XTDB Development May 10, 2018
@hraberg
Copy link
Contributor Author

hraberg commented Jun 5, 2018

We want to add a simple crux.client ns that allow access to this REST API and to submit things into the Kafka cluster. This might be far from the end goal, but makes the system usable.

@hraberg hraberg moved this from To do to In progress in XTDB Development Jun 5, 2018
@hraberg
Copy link
Contributor Author

hraberg commented Jun 12, 2018

This issue is redundant short term, we have #1974 for MVP.

@hraberg hraberg closed this as completed Jun 12, 2018
XTDB Development automation moved this from In progress to Done Jun 12, 2018
@hraberg hraberg reopened this Jun 12, 2018
XTDB Development automation moved this from Done to To do Jun 12, 2018
@hraberg hraberg moved this from To do to In progress in XTDB Development Jun 12, 2018
@hraberg hraberg added the http label Jun 12, 2018
@hraberg
Copy link
Contributor Author

hraberg commented Jun 13, 2018

The API can look something like this:

/query with both POST (body) and GET with q query param.
/ GET for the status.
/tx-log POST with tx-ops going to Kafka.

We could maybe support both edn and JSON for the status page, via Accept headers, but not too important.

Roxolan0 added a commit that referenced this issue Jun 14, 2018
XTDB Development automation moved this from In progress to Done Jun 14, 2018
@jarohen jarohen added the 1.x label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants