Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (17 loc) · 1.03 KB

readme.md

File metadata and controls

39 lines (17 loc) · 1.03 KB

MicroProfile generated Application

Introduction

MicroProfile Starter has generated this MicroProfile application for you.

The generation of the executable jar file can be performed by issuing the following command

mvn clean package

This will create an executable jar file todos.jar within the target maven folder. This can be started by executing the following command

java -jar target/todos.jar

Liberty Dev Mode

During development, you can use Liberty's development mode (dev mode) to code while observing and testing your changes on the fly. With the dev mode, you can code along and watch the change reflected in the running server right away; unit and integration tests are run on pressing Enter in the command terminal; you can attach a debugger to the running server at any time to step through your code.

mvn liberty:dev

To launch the test page, open your browser at the following URL

http://localhost:9080/index.html  

Integration Tests

We use RestAssured here. Just run

mvn clean verify