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