Ckan 2 zenodo library

From Gcube Wiki
Revision as of 15:53, 26 June 2020 by Fabio.sinibaldi (Talk | contribs) (Created page with "{| align="right" ||__TOC__ |} The ''org.gcube.data.publishing.ckan2Zenodo'' gCube component is a Java library which translates CKAN items into Zenodo depositions, allowing to...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Overview

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).

Configuration

Mappings

Directives

Integration

Maven coordinates

Source Code