Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 779 Bytes

File metadata and controls

55 lines (33 loc) · 779 Bytes

Cache Service

A simple cache service to cache HTTP requests

Features

  • REST cache endpoints using Jersey
  • Integration testing using REST Assured
  • Builds a runnable Docker container

Maven Commands

Compile and run all unit tests:

mvn install

Run the application:

mvn spring-boot:run

Run integration tests with REST Assured during build:

mvn integration-test

Run integration tests and fail if any tests fail:

mvn verify

Running in Docker

Note: You will need to have VirtualBox (if you're not on Linux) and Docker to run this with Docker.

Build a Docker image:

mvn package docker:build

Run the Docker container

docker run -p 8080:8080 -t jgoetz/cacheservice