Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

piveau-data/piveau-shacl-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

validating shacl

Microservice for validating data in a pipe.

The service is based on the pipe-connector library. Any configuration applicable for the pipe-connector can also be used for this service.

Table of Contents

  1. Build
  2. Run
  3. Docker
  4. Configuration
    1. Pipe
    2. Data Info Object
    3. Environment
    4. Logging
  5. License

Build

Requirements:

  • Git
  • Maven 3
  • Java 11
$ git clone https://gitlab.fokus.fraunhofer.de/viaduct/piveau-validating-shacl.git
$ cd piveau-validating-shacl
$ mvn package

Run

$ java -jar target/piveau-validating-shacl-far.jar

Docker

Build docker image:

$ docker build -t piveau/piveau-validating-shacl .

Run docker image:

$ docker run -it -p 8080:8080 piveau/piveau-validating-shacl

Configuration

Pipe

The validator does not count on any specific pipe configuration parameter.

Environment

See also pipe-connector

Variable Description Default Value
PIVEAU_PLACEHOLDER Placeholder for the first environment variable default

Logging

See logback documentation for more details

Variable Description Default Value
PIVEAU_PIPE_LOG_APPENDER Configures the log appender for the pipe context STDOUT
PIVEAU_LOGSTASH_HOST The host of the logstash service logstash
PIVEAU_LOGSTASH_PORT The port the logstash service is running 5044
PIVEAU_PIPE_LOG_PATH Path to the file for the file appender logs/piveau-pipe.%d{yyyy-MM-dd}.log
PIVEAU_PIPE_LOG_LEVEL The log level for the pipe context INFO
PIVEAU_LOG_LEVEL The general log level for the io.piveau package INFO

License

Apache License, Version 2.0

About

Validates linked data with SHACL rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published