The build requires Java 11 sdk installed on your machine. To build, issue the following command:
$ ./mvnw package
A docker image for the app can be built using the following commands:
$ ./mvnw package
$ docker build --file docker/Dockerfile -t olss-demo-app .
See here.
See here.
The OLSS provides a simple REST api described in this section.
Returns information about the app (version, git commit id)
Returns health status information
Retutns a gentle hello from the API
Configures application so that traffic is refused, i.e. the readiness probe fails.
Configures application so that traffic is accepted, i.e. the readiness probe succeeds.
Configures application so that liveness probe fails, i.e. the application is considered broken.
Allocates a 10M heap chunk and returns the memory used by the memory hog.
Clears the memory chunks and returns the memory used by the memory hog.