Skip to content

Using the Stack Intro Application

Edward Mezarina edited this page Nov 15, 2021 · 7 revisions

The devfile-stack-intro app is a simple but complete JAX-RS sample app. It includes a basic REST API, integration tests, and the MicroProfile Config, Health, and Metrics features.

Getting Started

  1. Clone the devfile-stack-intro repository

    git clone git@github.com:OpenLiberty/devfile-stack-intro.git
    cd devfile-stack-intro
  2. Initialize the project with the java-openliberty stack

    odo create java-openliberty my-component
  3. Push the sample application to OpenShift

    odo push
  4. Wait for tests to complete

    odo log -f

For more details on the devfile-stack-intro application, check out https://github.com/OpenLiberty/devfile-stack-intro