Extension Workflow


Extension Basics

Title
Workflow
Name
ckanext-workflow-1
Type
Public extension
Description
Simple workflow solution for CKAN
CKAN versions
Download-Url (zip)
Download-Url commit date
2022-04-21
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

This is a simple workflow solution for CKAN. Configuration is available in the form of JSON config files to set out workflow steps and transitions. Includes DataVic hierarchy form plugin and ODP deleter plugin. Allows defining custom workflow states and transitions for datasets.

Version
0.0.1
Version release date
2022-04-21
Contact name
Salsa Digital
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Installation:

Activate CKAN virtualenv:

. /app/ckan/default/bin/activate

Install extension:

cd /app/ckan/default/src/ckanext-workflow

python setup.py develop

Add workflow to ckan.plugins

Configuration:

1. Copy example.settings.json to /etc/ckan/workflow.settings.json

cp example.settings.json /etc/ckan/workflow.settings.json

2. Add to config file:

ckan.workflow.json_config = /etc/ckan/workflow.settings.json

3. Add datavic_hierarchy_form to ckan.plugins

ckan.plugins = […] datavic_hierarchy_form

4. Remove hierarchy_form from ckan.plugins (if present)

5. Restart CKAN:

docker-compose restart ckan

Plugins to configure (ckan.ini)
workflow datavic_hierarchy_form odp_deleter
CKAN Settings (ckan.ini)
# ckan.workflow.json_config = /etc/ckan/workflow.settings.json
DB migration to be executed
(not set)
<< back to Extensions