Choose one of the following options/approaches to deploy this microservice.
Execute:
$ git clone https://github.com/redhat-helloworld-msa/namaste $ cd namaste/ $ mvn clean package docker:build fabric8:json fabric8:apply
$ git clone https://github.com/redhat-helloworld-msa/namaste $ cd namaste/ $ oc new-build --binary --name=namaste -l app=namaste $ mvn package; oc start-build namaste --from-dir=. --follow $ oc new-app namaste -l app=namaste,hystrix.enabled=true $ oc expose service namaste
$ oc patch dc/namaste -p '{"spec":{"template":{"spec":{"containers":[{"name":"namaste","ports":[{"containerPort": 8778,"name":"jolokia"}]}]}}}}' $ oc patch dc/namaste -p '{"spec":{"template":{"spec":{"containers":[{"name":"namaste","readinessProbe":{"httpGet":{"path":"/api/health","port":8080}}}]}}}}'