Java port of https://github.com/codemiller/getting-started-with-openshift