-
Notifications
You must be signed in to change notification settings - Fork 3
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
[epic] Read Service with CKAN v2 compatibility #1
Comments
@EvgeniiaVak @leomrocha can you update on where we are with this? |
@rufuspollock At the moment we have a basic API (as explained in the README file) that is not backwards compatible. It can take graphql queries and queries with other parametrizations. We could make a few changes to have backwards compatibility adding endpoints that behind the scenes convert the calls to JSON, or doing a conversion in the same endpoints but I would suggest we keep the new API and deprecate the CKAN one adding specific compatibility endpoints giving some deadline (a few years?) to move to the new ones. The Not all the endpoints make sense with the new syntax as some can be merged. In the case of making a GraphQL query, the server redirects to graphql Downloads for CSV and XLSX should be added but I wouldn't do that as a graphql response (endpoint), instead what I would do is to maintain the graphql query and as response do a file stream directly, or saving to a file server with some file retention policy and returning the file url as a redirect and download. |
@rufuspollock @anuveyatsu @EvgeniiaVak I would like your thoughts here. This issue might be already outdated and some discussion is needed on the CKAN backwards compatibility. I would like to avoid exposing the For the complete backwards compatibility of I think one of the most important features to do right now is to implement access rights and security. |
I hear you .... and some people do use this so we will need it. I think for this we could implement a function purely in nodejs wrapper (outside Hasura). It's a relatively straightforward to do i think.
Can we make sure what is and is not implemented is very clearly documented in the README - is that something we could do right now.
Can you open a separate issue about this if we don't have it already. For this i'm anticipating that we move to the JWT approach using ckanext-authz i.e. ckan using ckanext-authz gives out tokens that this data api service can then use to authorize requests. |
We are using Hasura as the base wrapper around Postgres.
We need a backwards compatible API
Terminology
Acceptance
datastore_search
datastore_search_sql
BONUS
Tasks
datastore_search
endpointdatastore_search_sql
endpointAnalysis
The text was updated successfully, but these errors were encountered: