Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status

bootique-undertow-demo

A simple example that explains how to start Undertow server integrated for Bootique.

For additional help/questions about this example send a message to Bootique forum.

Prerequisites

  • Java 1.8 or newer.
  • Apache Maven.

Build the Demo

Here is how to build it:

git clone git@github.com:bootique-examples/bootique-undertow-demo.git
cd bootique-undertow-demo
mvn package

Run the Demo

Now you can check the options available in your app:

java -jar target/bootique.undertow.demo-1.0-SNAPSHOT.jar

Option                                              Description
------                                              -----------    
-c yaml_location, --config=yaml_location            Specifies YAML config location, which can be a file path or a URL.

-h, --help                                          Prints this message.

-H, --help-config                                   Prints information about application modules and their configuration options.

-s, --server                                        Starts Undertow server. 

Run Undertow server:

java -jar target/bootique.undertow.demo-1.0-SNAPSHOT.jar

Then open http://localhost:8080/api/ to do GET/POST requests on the server.

In the example one can also find some jUnit tests.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.