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

services: zenodo - metadata to pass [1d] #1952

Open
2 of 4 tasks
pamfilos opened this issue Nov 19, 2020 · 0 comments
Open
2 of 4 tasks

services: zenodo - metadata to pass [1d] #1952

pamfilos opened this issue Nov 19, 2020 · 0 comments
Assignees

Comments

@pamfilos
Copy link
Collaborator

pamfilos commented Nov 19, 2020

Feature request

What is the expected behavior?
Now that #1941 will be merged, we need to check the data that we pass as metadata in the creation of the record

Minimum metadata list:

  • Upload type* (pick from list)
  • Publication date* (YYYY-MM-DD)
  • Title*
  • Authors.Name* (surname, first name)
  • Authors.Affiliation
  • Authors.ORCID
  • Description*
  • Version
  • Keywords (suggest “CERN Analysis Preservation” & the CAP ID for published analyses in the format “CAP.EXP.xxxx.yyyy”
  • Access right* (recommend Open Access)
  • License* (recommend Creative Commons Attribution 4.0 International)

We need to:

  • create serializers
      - [ ] ZenodoUploadPayload
            - [ ] should check above metadata
            - [ ] check if files to be uploaded exist in bucket of record (`record.files`)
      - [ ] ZenodoSeralizer, for `_zenodo`
  • return validation errors on the response
  • write test when passing random metadata to /upload (e.g additional properties)
  • write test when passing random metadata to zenodo (e.g additional properties)

What is motivation or use case for adding/changing the behavior?

How should this be implemented in your opinion?

Are you willing to work on this yourself?
yes

Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 23, 2020
* adds serializers/validation for metadata input
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 23, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 23, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 23, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 23, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 24, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 24, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 24, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Nov 25, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Dec 3, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
Lilykos added a commit to Lilykos/analysispreservation.cern.ch that referenced this issue Dec 18, 2020
* adds serializers/validation for metadata input
* adds unit tests for zenodo serializer
* closes cernanalysispreservation#1952

Signed-off-by: Ilias Koutsakis <[email protected]>
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

No branches or pull requests

2 participants