Skip to content

owadah/aloha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aloha

Aloha microservice using Vert.X

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 aloha locally

  1. Open a command prompt and navigate to the root directory of this microservice.

  2. Type this command to build and execute the service:

     mvn clean compile exec:java
    
  3. The application will be running at the following URL: http://localhost:8080/api/aloha

Deploy the application in Openshift using Fabric8 plugin

  1. Make sure to be connected to the Docker Daemon

  2. Execute

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

ochaloup notes

  Here we go with
    * `mvn package && oc start-build aloha --from-dir=. --follow`

  To check how that works
    * `curl -X GET http://aloha-helloworld-msa-restat.192.168.99.100.nip.io/api/aloha-chaining`

  Usable commands
    * `oc logs -f `oc get pods | grep ^aloha | grep Running | awk '{ print $1 }'``

About

Microservice using Vert.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.9%
  • CSS 5.1%
  • Other 1.0%