This is the serviceB component of the microprofile Demo FT.
- Docker
- Maven
- [Java 8]: Any compliant JDK should work.
- Java 8 JDK from Oracle
- Java 8 JDK from IBM (AIX, Linux, z/OS, IBM i), or Download a Liberty server package that contains the IBM JDK (Windows, Linux)
mvn install
The pom is designed to contain application server profiles with which you can test and run the service. Currently the liberty profile is provided.
mvn -P liberty install liberty:run-server
The service will be accessible at http://localhost:8080/ft/serviceB
docker build -t serviceb -f src/main/profiles/liberty/Dockerfile .
docker run -p 8080:8080 serviceb
The service will be accessible at http://localhost:8080/ft/serviceB
mvn -Pthorntail package
java -jar target/service-b-thorntail.jar
or
mvn -Pthorntail thorntail:run -Dwildfly-swarm.useUberJar=true
The service will be accessible at http://localhost:8080/ft/serviceB
mvn -Pthorntail package
docker build -t serviceb -f src/main/profiles/thorntail/Dockerfile .
docker run -p 8080:8080 serviceb
The service will be accessible at http://localhost:8080/ft/serviceB