Skip to content

Latest commit

 

History

History
85 lines (63 loc) · 2.57 KB

hola.adoc

File metadata and controls

85 lines (63 loc) · 2.57 KB

Deploy hola (JAX-RS/Wildfly Swarm) microservice

Deploy project via oc CLI

Basic project creation
$ git clone https://github.com/redhat-helloworld-msa/hola
$ cd hola/
$ oc new-build --binary --name=hola -l app=hola
$ mvn package; oc start-build hola --from-dir=. --follow
$ oc new-app hola -l app=hola,hystrix.enabled=true
$ oc expose service hola
(Optional) Enable Readiness probe
$ oc set probe dc/hola --readiness --get-url=http://:8080/api/health