Extension Asset-storage


Extension Basics

Title
Asset-storage
Name
ckanext-asset-storage
Type
Public extension
Description
CKAN extension implementing IUploader interface for cloud storage of assets e.g. images. Intended for use with ckanext-blob-storage that provides direct to cloud storage of resource data.
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-07-01 09:25:23)
Url to repo
Category
Cloud Infrastructure & Storage


Background Infos

Description (long)
Show details

ckanext-asset-storage

Tests Status Coverage Status

Store CKAN assets (org / group images) to cloud storage

This CKAN extension moves storage of uploaded asset files - specifically, organization and group logos and the site logo, to a cloud storage backend. It is designed to be flexible as it allows for different storage backends, and may support additional storage backends in the future.

NOTE This does not handle resource storage at all. For offloading resource storage, we recommend using ckanext-blob-storage.

Requirements

  • This extension works with CKAN 2.8.x and CKAN 2.9.x. It may work, but has not been tested, with other CKAN versions.
  • You need to have access to a supported Cloud Storage account to store assets in

Supported Storage Backends include: * Google Cloud Storage * Azure Blob Storage * AWS S3 (NOT YET) * Local Storage (mainly for testing and fallback purposes)

Installation

To install ckanext-asset-storage:

  1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
  1. Install the ckanext-asset-storage Python package into your virtual environment:
pip install ckanext-asset-storage
  1. Add asset_storage to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  2. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

sudo service apache2 reload

Configuring This Extension

CKAN INI Options

The followin

Version
0.1.6
Version release date
2021-04-09
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
asset_storage
CKAN Settings (ckan.ini)
# ckanext.asset_storage.backend_type = 'backend_type'`
# ckanext.asset_storage.backend_options = {"some_opt":"value"}`
DB migration to be executed
(not set)
<< back to Extensions