Skip to content

OpenLiberty/sample-restful-webservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This sample application is a simple JAX-RS Restful web service.

Navigate to the sample-rest-lillibrary directory

cd sample-rest-lillibrary

Start the OpenLiberty server

mvn clean package liberty:run-server

Run microprofile Open API to test the application

http://localhost:9080/openapi/ui/

Optional: Continue and exectute the microprofile rest client

This sample demonstrates a microprofile rest client configuration using a simple JAX-RS Restful web service.

Prerequisite:

Ensure that the simple JAX-RS Restful web service sample above has been installed and that the server at localhost:9080 is currently running

Navigate to the sample-mprestclient-lillibrary directory

cd sample-mprestclient-lillibrary

Start the OpenLiberty server

mvn clean package liberty:run-server

Run microprofile Open API to test the application

http://localhost:9081/client/test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages