fabric8io / fabric8

fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
http://fabric8.io/
1.76k stars 504 forks source link

[ERROR] location: variable osClient of type io.fabric8.openshift.client.OpenShiftClient #6014

Closed rawlingsj closed 8 years ago

rawlingsj commented 8 years ago

error during release on fabric8-ipaas after upgrading fabric8 which includes the latest kubernetes-client.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project apiman: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/workspace/ipaas/apiman/src/main/java/io/fabric8/apiman/KubernetesServiceCatalog.java:[88,37] cannot find symbol
[ERROR] symbol:   method inAnyNamespace()
[ERROR] location: variable osClient of type io.fabric8.openshift.client.OpenShiftClient
[ERROR] /home/jenkins/workspace/ipaas/apiman/src/main/java/io/fabric8/apiman/rest/Kubernetes2ApimanFilter.java:[204,39] cannot find symbol
[ERROR] symbol:   method inAnyNamespace()
[ERROR] location: variable osClient of type io.fabric8.openshift.client.OpenShiftClient
[ERROR] /home/jenkins/workspace/ipaas/apiman/src/main/java/io/fabric8/apiman/rest/BearerTokenFilter.java:[204,33] cannot find symbol
[ERROR] symbol:   method inAnyNamespace()
[ERROR] location: variable osClient of type io.fabric8.openshift.client.OpenShiftClient

Full log.. http://jenkins.cd.beast.fabric8.io/job/multi-fabric8+ipaas+devops+quickstarts+forge/3/console

rawlingsj commented 8 years ago

Fixed by @jimmidyson https://github.com/fabric8io/fabric8-ipaas/commit/d35c4af146a9767731dbd6e8d63d20245d109413