Microservice using Java JAX-RS on WildFly Swarm
Latest commit 5d591b9 Dec 17, 2016 @rafabene rafabene committed on GitHub Fix typo: logged



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

  1. Open a command prompt and navigate to the root directory of this microservice.
  2. Type this command to build and execute the application:

    mvn wildfly-swarm:run
  3. This will create a uber jar at target/hola-swarm.jar and execute it.

  4. The application will be running at the following URL: http://localhost:8080/api/hola

Deploy the application in Openshift

  1. Make sure to be connected to the Docker Daemon
  2. Execute

    mvn clean package docker:build fabric8:json fabric8:apply