Difference between revisions of "Ckan 2 zenodo library"

From Gcube Wiki
Jump to: navigation, search
(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...")
 
(Overview)
Line 6: Line 6:
  
 
==Overview==
 
==Overview==
 +
[[File: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.  
 
The library is invoked by the client (in this case the gCube CKAN GUI), which relies on the '''gCat''' service for interacting with CKAN.  
Line 19: Line 20:
 
===Mappings===
 
===Mappings===
 
====Directives====
 
====Directives====
 +
 
== Integration ==
 
== Integration ==
 
===Maven coordinates===
 
===Maven coordinates===
 
===Source Code===
 
===Source Code===

Revision as of 15:57, 26 June 2020

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

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

Configuration

Mappings

Directives

Integration

Maven coordinates

Source Code