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.
Once you have the repository code in your machine, follow the next steps:
-
Create a
.env
file and add your information (parameters to change:EXTERNAL_PORT
,INTERNAL_PORT
,HOST_NAME
).cp .env.template .env
-
Create a
config.json
file in thesrc/
folder and set up the variables to your needs.cp config.json.template config.json
-
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
The Dataset Registry module has been written by:
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.
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 |