[JBIDE-16519] updating to use non-deprecated method
[JBIDE-17009] updating to latest openshift-java-client