/DEMIS-validation-service

This service serves as a validation service for all notifications send to DEMIS. It uses a snapshot of all profiles and the DEMIS-Schemas Project to validate any notification.

Primary LanguageJavaEuropean Union Public License 1.2EUPL-1.2


Quality Gate StatusVulnerabilitiesBugsCode SmellsLines of CodeCoverage

Validation-Service

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact

About The Project

This service serves as a validation service for all notifications send to DEMIS. It uses a snapshot of all profiles and the DEMIS-Schemas Project to validate any notification.

Status

Quality gate

Release Notes

See ReleaseNotes.md for all information regarding the (newest) releases.

Properties

Property Default Value Description
demis.validation-service.profileResourcePath /profile Path to the DEMIS profiles inside the resources.
demis.validation-service.locale en_US Locale for the HAPI-FHIR context and validator. The language of diagnostics of the outcome is dependent on this locale.
demis.validation-service.minSeverityOutcome information Minimal severity that will not be filtered out in the Outcome. Possible values: information, warning, error, fatal.

Getting Started

Docker build

build container with

docker build -t validation-service:latest .

the image can alternatively also be built with maven:

mvn clean install -Pdocker

Docker run

run with docker run -p 8081:8081 validation-service:latest

Intellij/CMD

Start the spring boot server with: mvn clean spring-boot:run Check the server with: curl -v localhost:8081/status

Kubernetes

In IntelliJ as SpringBoot Application: image

Endpoints

/status get Endpunkt für Statusmeldung (aktuell minimal implementiert)

/$validate post Endpunkt um Meldungen zu validieren, liefert Validierungsergebnis von HAPI-Validator zurück

/actuator/health/ Standardenpunkt vom Actuator

/actuator/health/liveness Standardenpunkt vom Actuator

/actuator/health/readiness Standardenpunkt vom Actuator

Contributing

If you want to contribute, please check our CONTRIBUTING.md.

License

EUROPEAN UNION PUBLIC LICENCE v. 1.2

EUPL © the European Union 2007, 2016

See LICENSE.

Contact

E-Mail to DEMIS Entwicklung