Ckan 2 zenodo library

From Gcube Wiki
Revision as of 16:05, 26 June 2020 by Fabio.sinibaldi (Talk | contribs) (Configuration)

Jump to: navigation, search

The gCube component is a Java library which translates CKAN items into Zenodo depositions, allowing to further editing and publication.


Ckan2 zenodo.png

The library is invoked by the client (in this case the gCube CKAN GUI), which relies on the gCat service for interacting with CKAN. After the ckan item is loaded, a default translation is then applied on the item's core fields generating in a Draft Zenodo Deposition. NB If the item has already a linked Zenodo DOI, the Draft Deposition overrides its specified informations.

A XML Mapping associated with item's profile, is then loaded from the IS (token must be specified by the client). The XML Mapping extracts data from the CKAN item and applies them to the Draft Deposition, resulting in a Final Deposition.

The Final Deposition is then returned to the client for further editing, which can eventually ask for its publication (the new Zenodo Doi will be then applied to the CKAN item through gCat).

IS Configuration

  • Zenodo Credentials ServiceEndpoint
  • XML Mapping Generic Resource
NB: one XML Mapping per profile is supported




Maven coordinates

Source Code