Skip to content

Migration scripts for the Data Catalog database used to capture provenance information on all files

License

Notifications You must be signed in to change notification settings

HBPMedical/data-catalog-setup

 
 

Repository files navigation

CHUV License DockerHub Codacy Badge CircleCI

Data Catalog Setup

Migration scripts for the Data Catalog database used to capture provenance information on all files managed by the Data Factory.

Introduction

This project provides a Docker container including Alembic and a Python model of the Data Catalog schema to setup and migrate this schema in a target database.

Usage

Example:

docker run --rm -e "DB_URL=postgresql://postgres:postgres@localhost:5432/postgres" hbpmip/data-catalog-setup:1.6.0 upgrade head

Build

Run: ./build.sh

Test

Run: cd tests && ./test.sh

Publish on Docker Hub

Run: ./publish.sh

License

Copyright (C) 2017 LREN CHUV

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Acknowledgements

This work has been funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP)

This work is part of SP8 of the Human Brain Project (SGA1).

About

Migration scripts for the Data Catalog database used to capture provenance information on all files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 71.9%
  • Shell 22.2%
  • PLpgSQL 3.6%
  • Mako 2.3%