hola microservice using Java EE (JAX-RS) on WildFly Swarm
The detailed instructions to run Red Hat Helloworld MSA demo, can be found at the following repository: https://github.com/redhat-helloworld-msa/helloworld-msa
-
Open a command prompt and navigate to the root directory of this microservice.
-
Type this command to build and execute the application:
mvn wildfly-swarm:run
-
This will create a uber jar at
target/hola-swarm.jar
and execute it. -
The application will be running at the following URL: http://localhost:8080/api/hola
-
Make sure to be connected to the Docker Daemon
-
Execute
mvn clean package docker:build fabric8:json fabric8:apply