Skip to content

Latest commit

 

History

History
158 lines (114 loc) · 3.31 KB

README.md

File metadata and controls

158 lines (114 loc) · 3.31 KB

Helidon MicroProfile Build Status

This example implements a simple Hello World REST service using MicroProfile

Run using maven

./mvnw exec:java

http :8080/greet/health
http :8080/greet/metrics

http :8080/greet
http :8080/greet/max
http put :8080/greet/greeting greeting=Привед
http :8080/greet/Максимко

Build and run jar

./mvnw package
ava -jar ./target/*.jar

http :8080/greet
http :8080/greet/max
http put :8080/greet/greeting greeting=Привед
http :8080/greet/Максимко

Build and run docker

docker build -t helidon-quickstart-mp .
docker run --rm -d -p 8080:8080 helidon-quickstart-mp:latest

http :8080/greet
http :8080/greet/max
http put :8080/greet/greeting greeting=Привед
http :8080/greet/Максимко

Check versions update

./mvnw versions:display-property-updates

Generate maven project

mvn archetype:generate -DinteractiveMode=false \                                24:00 
    -DarchetypeGroupId=io.helidon.archetypes \
    -DarchetypeArtifactId=helidon-quickstart-mp \
    -DarchetypeVersion=1.2.0 \
    -DgroupId=com.github.daggerok.helidon \
    -DartifactId=java-mp-helidon-example \
    -Dpackage=com.github.daggerok.helidon

cd java-mp-helidon-example
mvn -N io.takari:maven:0.7.6:wrapper -Dmaven=3.6.1
./mvnw 

links: