Skip to content

daggerok/microprofile-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microprofile-examples Build Status

MicroProfile examples

Micro Profiles

see pom.xml in here

Smallrye

see pom.xml and build.gradle.kts in here

OpenLiberty

maven

zip

build, run and test

./mvnw -f openliberty-maven-zip/pom.xml package liberty:start

http :9080/app1/
http :9080/app1/v1/properties

./mvnw -f openliberty-maven-zip/pom.xml liberty:stop liberty:clean-server

zip (docker)

build

./mvnw -f openliberty-maven-zip/pom.xml clean package
docker build -t openliberty-maven-zip -f openliberty-maven-zip/Dockerfile openliberty-maven-zip

run

docker run --name app --rm -p 9080:9080 -p 9443:9443 openliberty-maven-zip

test

http :9080/app1/
http :9080/app1/v1/properties

jar

build

./mvnw -f openliberty-maven-jar/pom.xml clean package
docker build -t openliberty-maven-jar -f openliberty-maven-jar/Dockerfile openliberty-maven-jar

run

docker run --name app --rm -p 9080:9080 -p 9443:9443 openliberty-maven-jar

test

http :9080/app2/
http :9080/app2/v1/properties

gradle

zip

build, run and test

./gradlew -b openliberty-gradle-jar/build.gradle libertyStart

http :9080/app3/
http :9080/app3/v1/
http :9080/app3/v1/hoy

./gradlew -b openliberty-gradle-jar/build.gradle libertyStop

links:

other JakartaEE / MicroProfile repositories:

TODO: