Extension Tessrelations


Extension Basics

Title
Tessrelations
Name
ckanext-tessrelations
Type
Public extension
Description
An attempt to create new tables to show relationships between TeSS data objects.
CKAN versions
Download-Url (zip)
Last commit
10 years ago (2015-06-04 13:24:01)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

=============

ckanext-tessrelations

OBSOLETE: Now merged into ckanext-tess.

This extension adds several tables to CKAN and grants access via models to both those and some existing tables.

The new tables, and their associated models, are:

  • TessMaterialNode, material_node_table - links ckan datasets (training materials in TeSS) with ckan groups (includes nodes).
  • TessMaterialEvent, material_event_table - links events to training materials.
  • TessEvents, tess_event_table - for the saving of events. At present this only has a URL field and will need to be extended.

Tables which are accessed by this plugin:

  • TessGroup, tess_group_table - ckan groups.
  • TessDataset, tess_dataset_table - ckan datasets.

In order to explain the confusing names for some of the fields, please refer to this table:

Original CKAN name New CKAN name TeSS name
package dataset training material

Here are the various keys in the new objects:

Object Primary Key Other keys
TessMaterialNode id (auto) material_id, node_id
TessMaterialEvent id (auto) material_id, event_id
TessEvent id (auto) url

As for the existing tables which are referenced from this code, the schemas are:

                 Table "public.group" (TessGroup)
Column Type Modifiers
id text not null
name text not null
title text
description text
created timestamp without time zone
state text
Version
Version release date
(not set)
Contact name
ELIXIR TeSS
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
tessrelations
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions