This app is a simple but complete JAX-RS sample for use with the Open Liberty application stack. It includes a basic REST API, integration tests, and the MicroProfile Config, Health, and Metrics features.
It's recommended to use the latest version of OpenShift Do (odo). You can install odo using these instructions
-
Perform an
oc login
to your cluster. -
Clone the devfile-stack-intro repository
git clone [email protected]:OpenLiberty/devfile-stack-intro.git cd devfile-stack-intro
-
Create your odo component
odo create java-openliberty my-component
-
Push the sample application to OpenShift
odo push
-
Wait for tests to complete
odo log -f
For more details on using the Open Liberty devfile stack, check out https://github.com/OpenLiberty/devfile-stack
For more details on using odo, check out https://odo.dev