Skip to content

Demo showcasing the power of the new Kubernetes Client JUnit5 extension

License

Notifications You must be signed in to change notification settings

marcnuri-demo/202205-kubernetes-client-junit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 junit.jar within the target maven folder. This can be started by executing the following command

java -jar target/junit.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  

Specification examples

By default, there is always the creation of a JAX-RS application class to define the path on which the JAX-RS endpoints are available.

Also, a simple Hello world endpoint is created, have a look at the class HelloController.

More information on MicroProfile can be found here

About

Demo showcasing the power of the new Kubernetes Client JUnit5 extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages