Skip to content

medrim/assignment-proxy

Repository files navigation

In order to use the project you need to have Java 8 installed as well as Maven.

To compile the application

mvn clean package

To run the application

KPI_DATABASE_URL=http://influxdb-url KPI_DATABASE_PASSWORD=password KPI_DATABASE_USERNAME=username mvn spring-boot:run

To dockerize the application

docker build -f ../src/main/deployment/Dockerfile . -t 'assignmentproxy:latest'

The image can be found on dockerhub

To run using docker compose

docker-compose -f yapily-assignment-compose.yaml up

Then you can use the proxy functionality

curl http://localhost:8080/positions.json?page=0

You can monitor the service health status with the following endpoint

curl http://localhost:8080/actuator/health

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors