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

Integrate licensing #1055

Closed
alrocar opened this issue Oct 3, 2019 · 2 comments
Closed

Integrate licensing #1055

alrocar opened this issue Oct 3, 2019 · 2 comments
Assignees

Comments

@alrocar
Copy link
Contributor

alrocar commented Oct 3, 2019

So we have brand new APIs in our backend to license datasets and we need to integrate them into the CF workflow.

I'm adding here a high-level description of the work to do:

  • Request licensing information to the backend: A Dataset in the catalog should have some method to request licensing information. It could be something like this:
dataset = Dataset.get(id)
dataset.license_info(credentials) # Request to the corresponding licensing API

Check this comment for information about license_info

  • licensing:
dataset = Dataset.get(id)
dataset.license(credentials) # This will make a request to the corresponding licensing API, depending on the availability the backend will do a speed or normal licensing

@cmongut This is the task to integrate the licensing in CARTOframes. You might want to review/change the approach.

NOTE: I update this ticket with Dataset.get(id) instead of catalog.dataset(id).

@alrocar
Copy link
Contributor Author

alrocar commented Oct 3, 2019

This issue supersedes this other one.

@Jesus89
Copy link
Member

Jesus89 commented Oct 9, 2019

Superseded by #1079

@Jesus89 Jesus89 closed this as completed Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants