Skip to content

This repository contains the source code of the Dataset Registry module developed within the WP3 of the SALTED Project.

License

Notifications You must be signed in to change notification settings

SALTED-Project/Dataset_Registry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dataset Registry

This respository contains the source code of the Dataset Registry module developed within the WP3 of the SALTED Project. The aim of this module is the registration of datasets, as part of the User Connector within the SALTED Platform to EDP connector.

To this end, this component receives the information filled in by the partner in our CKAN form, transforms it to NGSI-LD using the DCAT-AP data models (Catalogue, Dataset and Distribution) provided by the Smart Data Models initiative, and it finally upserts these entities into the Federator Context Broker. This way, fully customise descriptions are achieves, allowing the partners to characterise their datasets to their needs.

Installation

Once you have the repository code in your machine, follow the next steps:

  1. Create a .env file and add your information (parameters to change: EXTERNAL_PORT, INTERNAL_PORT, HOST_NAME).

    cp .env.template .env
  2. Create a config.json file in the src/ folder and set up the variables to your needs.

    cp config.json.template config.json
  3. Deploy the docker

    docker-compose -f docker-compose.yml build
    docker-compose -f docker-compose.yml up
    
    # or do it together
    docker-compose -f docker-compose.yml up --build

Authors

The Dataset Registry module has been written by:

Acknowledgement

This work was supported by the European Commission CEF Programme by means of the project SALTED "Situation-Aware Linked heTerogeneous Enriched Data" under the Action Number 2020-EU-IA-0274.

License

This material is licensed under the GNU Lesser General Public License v3.0 whose full text may be found at the LICENSE file.

It mainly makes use of the following libraries and frameworks (dependencies of dependencies have been omitted):

Library / Framework Licence
Flask BSD
ngsildclient Apache 2.0
rdflib BSD-3-Clause
waitress ZPL 2.1

About

This repository contains the source code of the Dataset Registry module developed within the WP3 of the SALTED Project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Dockerfile 0.8%