Giter Club home page Giter Club logo

skohub-reconcile's Introduction

Build

https://github.com/rg-mpg-de/skohub-reconcile/actions?query=workflow%3ABuild

skohub-reconcile

This repository provides a Reconciliation Service for the the SkoHub core infrastructure.

Dependencies:

  • elasticsearch 7.0
  • node-version >= v12.16.1

Basic setup:

$ git clone https://github.com/rg-mpg-de/skohub-reconcile.git
$ cd skohub-reconcile
# Copy `sample.env` to `.env` and adjust values therein
$ npm ci
$ npm test
$ npm start

This will start the Reconciliation service on the port specified with APP_PORT in .env. It accepts queries according to the Reconciliation Service specification at endpoints corresponding to all hosted vocabularies, e.g. /project/vocab, /class/esc, or /rg-mpg-de/polmat etc.

Currently only reconciliation queries are supported. Preview, suggestion and data extensions support is on the roadmap.

The elasticsearch server must be populated when a vocabulary is published on skohub. This present service creates an appropriate index and takes PUT requests from skohub-vocabs, adding resources to the elasticsearch index.

elasticsearch

You need to run a properly configured elasticsearch instance by setting cluster.name: skohub. See the provided elasticsearch.yml. Also, in some contexts, it's mandatory to initialize elasticsearch with a proper index-mapping.

start scripts

You may want to use the start script in scripts/start.sh. This script ensures the proper installation of skohub-reconcile and the configuration of elasticsearch. There also reside further scripts to manage the starting/stopping of the skohub-reconcile via init and to monitor the processes with monit.

Credits

The project to add a Reconciliation Service to SkoHub has been initiated by Andreas Wagner and carried out in cooperation with the SkoHub.io team in 2021/2022.

skohub-reconcile's People

Contributors

awagner-mainz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.