|
14 | 14 | * limitations under the License.
|
15 | 15 | */
|
16 | 16 |
|
17 |
| -package org.springframework.cloud.kubernetes.client.catalog; |
| 17 | +package org.springframework.cloud.kubernetes.k8s.client.catalog.watcher; |
18 | 18 |
|
19 | 19 | import java.time.Duration;
|
20 | 20 | import java.util.List;
|
|
48 | 48 | import org.springframework.web.reactive.function.client.WebClient;
|
49 | 49 |
|
50 | 50 | import static org.awaitility.Awaitility.await;
|
51 |
| -import static org.springframework.cloud.kubernetes.client.catalog.KubernetesClientCatalogWatchUtils.patchForEndpointSlices; |
52 |
| -import static org.springframework.cloud.kubernetes.client.catalog.KubernetesClientCatalogWatchUtils.patchForEndpointSlicesNamespaces; |
53 |
| -import static org.springframework.cloud.kubernetes.client.catalog.KubernetesClientCatalogWatchUtils.patchForEndpointsNamespaces; |
54 | 51 | import static org.springframework.cloud.kubernetes.integration.tests.commons.Commons.waitForLogStatement;
|
| 52 | +import static org.springframework.cloud.kubernetes.k8s.client.catalog.watcher.KubernetesClientCatalogWatchUtils.patchForEndpointSlices; |
| 53 | +import static org.springframework.cloud.kubernetes.k8s.client.catalog.watcher.KubernetesClientCatalogWatchUtils.patchForEndpointSlicesNamespaces; |
| 54 | +import static org.springframework.cloud.kubernetes.k8s.client.catalog.watcher.KubernetesClientCatalogWatchUtils.patchForEndpointsNamespaces; |
55 | 55 |
|
56 | 56 | /**
|
57 | 57 | * @author wind57
|
58 | 58 | */
|
59 | 59 | @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
|
60 | 60 | class KubernetesClientCatalogWatchIT {
|
61 | 61 |
|
62 |
| - private static final String APP_NAME = "spring-cloud-kubernetes-client-catalog-watcher"; |
| 62 | + private static final String APP_NAME = "spring-cloud-kubernetes-k8s-client-catalog-watcher"; |
63 | 63 |
|
64 | 64 | private static final String NAMESPACE = "default";
|
65 | 65 |
|
@@ -129,12 +129,12 @@ void testCatalogWatchWithEndpointsNamespaces() {
|
129 | 129 | util.busybox(NAMESPACE_A, Phase.CREATE);
|
130 | 130 | util.busybox(NAMESPACE_B, Phase.CREATE);
|
131 | 131 | patchForEndpointsNamespaces(APP_NAME, NAMESPACE, DOCKER_IMAGE);
|
132 |
| - KubernetesClientCatalogWatchNamespacesDelegate.testCatalogWatchWithEndpointsNamespaces(); |
| 132 | + KubernetesClientCatalogWatchNamespacesDelegate.testCatalogWatchWithEndpointsNamespaces(APP_NAME); |
133 | 133 |
|
134 | 134 | util.busybox(NAMESPACE_A, Phase.CREATE);
|
135 | 135 | util.busybox(NAMESPACE_B, Phase.CREATE);
|
136 | 136 | patchForEndpointSlicesNamespaces(APP_NAME, NAMESPACE, DOCKER_IMAGE);
|
137 |
| - KubernetesClientCatalogWatchNamespacesDelegate.testCatalogWatchWithEndpointSlicesNamespaces(); |
| 137 | + KubernetesClientCatalogWatchNamespacesDelegate.testCatalogWatchWithEndpointSlicesNamespaces(APP_NAME); |
138 | 138 | }
|
139 | 139 |
|
140 | 140 | /**
|
|
0 commit comments