Skip to content

systelab/config-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Codacy Badge Known Vulnerabilities

Configuration Service

Configuration service to manage external properties for applications across all environments. Configurations are stored at https://github.com/systelab/config-service-repository

Getting Started

To get you started you can simply clone the config-service repository and install the dependencies:

Prerequisites

You need git to clone the config-service repository.

You will need Java™ SE Development Kit 8 and Maven.

Clone config-service

Clone the config-service repository using git:

git clone https://github.com/systelab/config-service.git
cd config-service

Install Dependencies

In order to install the dependencies and generate the Uber jar you must run:

mvn clean install

Run

To launch the server, simply run with java -jar the generated jar file.

cd target
java -jar config-service-1.0.jar

Head to http://localhost:8888/patient-service.yml or http://localhost:8888/patient-service/default to get a sample configuration

Check the repository at https://github.com/systelab/config-service-repository for more available configurations

Docker

Build docker image

There is an Automated Build Task in Docker Cloud in order to build the Docker Image. This task, triggers a new build with every git push to your source code repository to create a 'latest' image. There is another build rule to trigger a new tag and create a 'version-x.y.z' image

You can always manually create the image with the following command:

docker build -t systelab/config-service . 

Run the container

docker run -p 8888:8888 systelab/config-service

Releases

No releases published

Packages

No packages published