Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 991 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 991 Bytes

GitHub Workflow Status

Microservices Frameworks

This project demonstrates some very simple microservices that conform to the same specification:

Config:

  • Entrypoint: uk.dansiviter.microservices.{framework}.Main
  • Port: 8080
  • URIs:
    • GET /hello/{name}: Respond with Hello {name}!.
    • GET /hello/error: Throw a CustomException which should map to a 400 Oh no!.

To build:

mvn clean package jib:dockerBuild "-Dquarkus.container-image.build=true"

To Run benchmarks

docker run -p 8080:8080 -it --rm {module}:latest
docker run --rm -it benchmark:latest