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

Push dataset metadata client.push(datasetMetadata) #11

Closed
4 tasks done
rufuspollock opened this issue Sep 14, 2020 · 1 comment · Fixed by #21
Closed
4 tasks done

Push dataset metadata client.push(datasetMetadata) #11

rufuspollock opened this issue Sep 14, 2020 · 1 comment · Fixed by #21

Comments

@rufuspollock
Copy link
Member

rufuspollock commented Sep 14, 2020

client.push(datasetMetadata) function works which takes dataset JS object (in f11s format) and puts it to CKAN datastore

Acceptance

  • client.push(datasetMetadata) that updates an (existing) dataset. If Dataset exists raises exception with that info
  • client.create(datasetNameOrMetadata) that creates a "project" (with associated dataset).

Tasks

  • Convert from f11s metadata to ckan metadata
  • Call action api method and save that metadata and return response
@kmanaseryan kmanaseryan changed the title Method to put dataset metadata client.put(datasetMetadata) Method to put dataset metadata client.push(datasetMetadata) Sep 14, 2020
@rufuspollock rufuspollock added this to In Progress in DataPub Overview Sep 14, 2020
@mariorodeghiero
Copy link
Collaborator

mariorodeghiero commented Sep 14, 2020

@rufuspollock Fixed!
you can see the changes in the PR a47bfb2

@rufuspollock rufuspollock changed the title Method to put dataset metadata client.push(datasetMetadata) Push dataset metadata client.push(datasetMetadata) Sep 15, 2020
kmanaseryan added a commit that referenced this issue Sep 15, 2020
@kmanaseryan kmanaseryan linked a pull request Sep 15, 2020 that will close this issue
4 tasks
DataPub Overview automation moved this from In Progress to Done Sep 15, 2020
rufuspollock added a commit that referenced this issue Sep 15, 2020
#11  - Feature: create() and push() dataset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants