Skip to content

FAIR4Health Service Discovery to register and discover PPDDM Agents in Consul

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE-AGREEMENT.md
Notifications You must be signed in to change notification settings

fair4health/service-discovery

FAIR4Health Service Discovery

FAIR4Health Gateway

Build Status codecov.io Quality Gate Docker Build Docker Pulls License

Description

FAIR4Health Service Discovery to register and discover PPDDM Agents in Consul:

  • [POST] /discovery/register
  • [GET] /discovery/discover

Technology

  • Java 8+
  • Maven for Java dependency management
  • Spring Boot
  • Spring Cloud Consul
  • Lombok for the models

Functionalities

  • Service registry and discovery
  • Metadata using K/V Storage

How to deploy

Compile and package the project with

mvn clean package

and execute

java -jar target/service-discovery.war

It can also be run as:

mvn spring-boot:run

Environment variables

CONSUL_HOST=
CONSUL_PORT=
LOGGING_FOLDER=
LOGGING_MODE=

Docker deployment

Build the image:

docker build -t fair4health/service-discovery .

Simple deployment:

docker run --name discovery -d fair4health/service-discovery

Logging can be also configured using LOGGING_FOLDER and sharing a volume (this is useful for example for ELK processing). The level of the logging can be configured with LOGGING_MODE (dev|prod):

docker run --name gateway -d -v /tmp/log/service-discovery:/log/service-discovery -e LOGGING_FOLDER=/log/service-discovery -e LOGGING_MODE=dev fair4health/service-discovery

License

Apache 2.0

By downloading this software, the downloader agrees with the specified terms and conditions of the License Agreement and the particularities of the license provided.

About

FAIR4Health Service Discovery to register and discover PPDDM Agents in Consul

Topics

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE-AGREEMENT.md

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •