This is a microservice that collects basic system properties and makes them accessible through and endpoint.
The goal of this project is to get started with Open Liberty framework.
It is based on this guide.
Prerequisites: JDK and Maven.
-
Clone this repo:
git clone https://github.com/guilherme-nsr/sysinfo-ms
-
cd into the repo:
cd sysinfo-ms
-
Start the development server:
mvn liberty:dev
-
Make requests to the endpoints:
curl --location --request GET 'localhost:9080/health' curl --location --request GET 'localhost:9080/system/properties'