diff --git a/pom.xml b/pom.xml index fefb677..9775cc8 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,7 @@ 1.17.1 1.4.0.Final + 4.0.7 @@ -137,6 +138,11 @@ ${arquillian.version} test + + io.fabric8 + openshift-client + ${openshift-client.version} + diff --git a/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java b/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java index 0bcf11c..d94d41b 100644 --- a/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java +++ b/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java @@ -16,8 +16,9 @@ package com.redhat.fuse.boosters.rest.http; -import io.fabric8.kubernetes.api.model.v4_0.HasMetadata; -import io.fabric8.openshift.clnt.v4_0.OpenShiftClient; + +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.openshift.client.OpenShiftClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.arquillian.test.api.ArquillianResource; import org.junit.Test; @@ -37,7 +38,7 @@ public class HttpRequestKT { OpenShiftClient client; @Test - public void templateTest() throws Exception { + public void templateTest() { File template = new File(".openshiftio/application.yaml"); assertTrue(template.exists()); HashMap templateParameters = new HashMap(){