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
Build and Deploy hola locally
- Open a command prompt and navigate to the root directory of this microservice.
Type this command to build and execute the application:
This will create a uber jar at
target/hola-swarm.jarand execute it.
- The application will be running at the following URL: http://localhost:8080/api/hola
Deploy the application in Openshift
- Make sure to be connected to the Docker Daemon
mvn clean package docker:build fabric8:json fabric8:apply