When I have tried adietish@redhat.com PR, I have discovered some issues:
I have tried https://github.com/jbosstools/jbosstools-openshift/blob/master/itests/org.jboss.tools.openshift.ui.bot.test/resources/hello-pod.json to use in OPenShift tooling, but I get an exception:
!ENTRY org.jboss.tools.openshift.ui 4 -1 2019-07-10 08:15:37.141 !MESSAGE Unable to determine the api endpoint for kind 'Pod' !STACK 0 com.openshift.restclient.UnsupportedEndpointException: Unable to determine the api endpoint for kind 'Pod' at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:149) at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:226) at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:201) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob$1.visit(CreateResourceJob.java:65) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob$1.visit(CreateResourceJob.java:1) at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob.loadResource(CreateResourceJob.java:52) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob.doRun(CreateResourceJob.java:47) at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Something similar happens, when I have tried Route:
!ENTRY org.jboss.tools.openshift.ui 4 -1 2019-07-10 08:14:56.939 !MESSAGE Unable to determine the api endpoint for kind 'Route' !STACK 0 com.openshift.restclient.UnsupportedEndpointException: Unable to determine the api endpoint for kind 'Route' at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:149) at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:226) at com.openshift.internal.restclient.DefaultClient.create(DefaultClient.java:201) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob$1.visit(CreateResourceJob.java:65) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob$1.visit(CreateResourceJob.java:1) at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:94) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob.loadResource(CreateResourceJob.java:52) at org.jboss.tools.openshift.internal.ui.job.CreateResourceJob.doRun(CreateResourceJob.java:47) at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)