Skip to content

Commit

Permalink
rename integration config watcher integration test (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
wind57 authored Oct 26, 2023
1 parent add26d3 commit a5ec620
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 16 deletions.
3 changes: 2 additions & 1 deletion spring-cloud-kubernetes-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
<!-- at the moment we have no integration test for the fabric8 client, only k8s native client -->
<module>spring-cloud-kubernetes-k8s-client-loadbalancer</module>

<module>spring-cloud-kubernetes-client-configmap-event-reload-multiple-apps</module>
<!-- config watcher reload, using kafka and configmap -->
<module>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</module>
<module>spring-cloud-kubernetes-client-secrets-event-reload-multiple-apps</module>
</modules>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-cloud-kubernetes-client-configmap-event-reload-multiple-apps</artifactId>
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>3.0.5-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>

<artifactId>spring-cloud-kubernetes-client-configuration-watcher-configmap-app-a</artifactId>
<artifactId>kafka-configmap-app-a</artifactId>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-cloud-kubernetes-client-configmap-event-reload-multiple-apps</artifactId>
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>3.0.5-SNAPSHOT</version>
<relativePath>../../spring-cloud-kubernetes-client-configmap-event-reload-multiple-apps</relativePath>
<relativePath>../../spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>

<artifactId>spring-cloud-kubernetes-client-configuration-watcher-configmap-app-b</artifactId>
<artifactId>kafka-configmap-app-b</artifactId>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-cloud-kubernetes-client-configmap-event-reload-multiple-apps</artifactId>
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>3.0.5-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>

<artifactId>spring-cloud-kubernetes-client-configuration-watcher-configmap-test-app</artifactId>
<artifactId>kafka-configmap-test-app</artifactId>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
*/
class ConfigurationWatcherMultipleAppsIT {

private static final String CONFIG_WATCHER_APP_A_IMAGE = "spring-cloud-kubernetes-client-configuration-watcher-configmap-app-a";
private static final String CONFIG_WATCHER_APP_A_IMAGE = "kafka-configmap-app-a";

private static final String CONFIG_WATCHER_APP_B_IMAGE = "spring-cloud-kubernetes-client-configuration-watcher-configmap-app-b";
private static final String CONFIG_WATCHER_APP_B_IMAGE = "kafka-configmap-app-b";

private static final String SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME = "spring-cloud-kubernetes-configuration-watcher";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: app-a
image: docker.io/springcloud/spring-cloud-kubernetes-client-configuration-watcher-configmap-app-a
image: docker.io/springcloud/kafka-configmap-app-a
imagePullPolicy: IfNotPresent
env:
- name: SPRING_PROFILES_ACTIVE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: app-b
image: docker.io/springcloud/spring-cloud-kubernetes-client-configuration-watcher-configmap-app-b
image: docker.io/springcloud/kafka-configmap-app-b
imagePullPolicy: IfNotPresent
env:
- name: SPRING_PROFILES_ACTIVE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<version>3.0.5-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-kubernetes-client-configmap-event-reload-multiple-apps</artifactId>
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</artifactId>
<packaging>pom</packaging>

<modules>
<module>spring-cloud-kubernetes-client-configuration-watcher-configmap-app-a</module>
<module>spring-cloud-kubernetes-client-configuration-watcher-configmap-app-b</module>
<module>spring-cloud-kubernetes-client-configuration-watcher-configmap-test-app</module>
<module>kafka-configmap-app-a</module>
<module>kafka-configmap-app-b</module>
<module>kafka-configmap-test-app</module>
</modules>

</project>

0 comments on commit a5ec620

Please sign in to comment.