Hello microservice using Java EE (JAX-RS) on EAP
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
-
Make sure you have started the JBoss EAP server
-
Open a command prompt and navigate to the root directory of this microservice.
-
Type this command to build and deploy the archive:
mvn clean package wildfly:deploy
-
This will deploy
target/hello.war
to the running instance of the server. -
The application will be running at the following URL: http://localhost:8080/hello/api/hello
-
Make sure you have started the JBoss EAP server as described above.
-
Open a command prompt and navigate to the root directory of this quickstart.
-
When you are finished testing, type this command to undeploy the archive:
mvn wildfly:undeploy
-
Make sure to be connected to the Docker Daemon
-
Execute
mvn clean package docker:build fabric8:json fabric8:apply -Popenshift