|
20 | 20 | import oracle.weblogic.domain.DomainSpec;
|
21 | 21 | import oracle.weblogic.domain.Model;
|
22 | 22 | import oracle.weblogic.domain.ServerPod;
|
| 23 | +import oracle.weblogic.kubernetes.actions.impl.TraefikParams; |
23 | 24 | import oracle.weblogic.kubernetes.actions.impl.primitive.HelmParams;
|
24 | 25 | import oracle.weblogic.kubernetes.annotations.IntegrationTest;
|
25 | 26 | import oracle.weblogic.kubernetes.annotations.Namespaces;
|
@@ -92,6 +93,7 @@ class ItManagedCoherence {
|
92 | 93 | private static String domainNamespace = null;
|
93 | 94 |
|
94 | 95 | private static HelmParams traefikHelmParams = null;
|
| 96 | + private static TraefikParams traefikParams = null; |
95 | 97 | private static LoggingFacade logger = null;
|
96 | 98 |
|
97 | 99 | /**
|
@@ -125,7 +127,8 @@ public static void init(@Namespaces(3) List<String> namespaces) {
|
125 | 127 |
|
126 | 128 | // install and verify Traefik if not running on OKD
|
127 | 129 | if (!OKD) {
|
128 |
| - traefikHelmParams = installAndVerifyTraefik(traefikNamespace, 0, 0, "NodePort").getHelmParams(); |
| 130 | + traefikParams = installAndVerifyTraefik(traefikNamespace, 0, 0, "NodePort"); |
| 131 | + traefikHelmParams = traefikParams.getHelmParams(); |
129 | 132 | }
|
130 | 133 |
|
131 | 134 | // install and verify operator
|
@@ -175,7 +178,7 @@ void testMultiClusterCoherenceDomain() {
|
175 | 178 | // clusterNameMsPortMap.put(clusterName, managedServerPort);
|
176 | 179 | logger.info("Creating ingress for domain {0} in namespace {1}", domainUid, domainNamespace);
|
177 | 180 | createTraefikIngressForDomainAndVerify(domainUid, domainNamespace, 0, clusterNameMsPortMap, true, null,
|
178 |
| - traefikHelmParams.getReleaseName()); |
| 181 | + traefikParams.getIngressClassName()); |
179 | 182 |
|
180 | 183 | String clusterHostname = domainUid + "." + domainNamespace + ".cluster-1.test";
|
181 | 184 | // get ingress service Name and Nodeport
|
|
0 commit comments