Skip to content

VRK-YTI/yti-codelist-content-intake-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YTI CodeList - Content Intake Service microservice

This application is part of the Joint metadata and information management programme.

Description

This is the implementation of the Content Intake Service microservice for the YTI CodeList (yti-codelist) with:

Interface Documentation

When the microservice is running, you can get the OpenAPI documentation from:

Prerequisities

Building

  • Java 8+
  • Maven 3.3+
  • Docker

Running

  • yti-compose - Default configuration for development use.

Starting service on local development environment

Running inside IDE

Add the following Run configurations options:

  • Program arguments: --spring.profiles.active=local --spring.config.location=../yti-compose/config/application.yml,../yti-compose/config/yti-codelist-content-intake-service.yml
  • Workdir: $MODULE_DIR$

Add folder for yti-codelist -project, application writes modified files there:

$ mkdir /data/yti

Building the Docker Image

$ mvn clean package docker:build

Running the Docker Image

$ docker run --rm -p 9602:9602 -p 19602:19602 -v /path/to/yti-codelist-config:/config --name=yti-codelist-content-intake-service yti-codelist-content-intake-service -a --spring.config.location=/yti-compose/config/application.yml,/yti-compose/config/yti-codelist-content-intake-service.ym

.. or in yti-compose run

$ docker-compose up yti-codelist-content-intake-service

About

Reference Data project Content Intake Service microservice

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages