Skip to content

Commit dbacb94

Browse files
committed
Merge branch '3.1.x' into 3.2.x
2 parents 0bf7347 + c427e81 commit dbacb94

File tree

19 files changed

+118
-337
lines changed

19 files changed

+118
-337
lines changed

spring-cloud-kubernetes-integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<module>spring-cloud-kubernetes-k8s-client-configuration-watcher</module>
111111

112112
<!-- config watcher reload, using kafka and configmap -->
113-
<module>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</module>
113+
<module>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload</module>
114114

115115
<!-- config watcher reload, using rabbitmq and secret -->
116116
<module>spring-cloud-kubernetes-k8s-client-rabbitmq-secret-reload-multiple-apps</module>

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps/kafka-configmap-app-a/src/main/java/org/springframework/cloud/kubernetes/configuration/watcher/appA/AppATestApplication.java

Lines changed: 0 additions & 57 deletions
This file was deleted.

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps/kafka-configmap-app-a/src/main/resources/application.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,69 +0,0 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
<parent>
6-
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</artifactId>
7-
<groupId>org.springframework.cloud</groupId>
8-
<version>3.2.1-SNAPSHOT</version>
9-
</parent>
10-
<modelVersion>4.0.0</modelVersion>
11-
<packaging>jar</packaging>
12-
13-
<artifactId>kafka-configmap-test-app</artifactId>
14-
15-
<dependencies>
16-
<dependency>
17-
<groupId>org.springframework.boot</groupId>
18-
<artifactId>spring-boot-starter-test</artifactId>
19-
</dependency>
20-
<dependency>
21-
<groupId>org.springframework.boot</groupId>
22-
<artifactId>spring-boot-starter-webflux</artifactId>
23-
</dependency>
24-
25-
<dependency>
26-
<groupId>org.springframework.cloud</groupId>
27-
<artifactId>spring-cloud-kubernetes-test-support</artifactId>
28-
</dependency>
29-
30-
</dependencies>
31-
32-
<build>
33-
<resources>
34-
<resource>
35-
<directory>../../src/main/resources</directory>
36-
<filtering>true</filtering>
37-
</resource>
38-
<resource>
39-
<directory>src/main/resources</directory>
40-
<filtering>true</filtering>
41-
</resource>
42-
</resources>
43-
<!-- no need to build image for this module -->
44-
<plugins>
45-
<plugin>
46-
<groupId>org.springframework.boot</groupId>
47-
<artifactId>spring-boot-maven-plugin</artifactId>
48-
<configuration>
49-
<skip>true</skip>
50-
</configuration>
51-
<executions>
52-
<execution>
53-
<id>build-image</id>
54-
<configuration>
55-
<skip>true</skip>
56-
</configuration>
57-
</execution>
58-
<execution>
59-
<id>repackage</id>
60-
<configuration>
61-
<skip>true</skip>
62-
</configuration>
63-
</execution>
64-
</executions>
65-
</plugin>
66-
</plugins>
67-
</build>
68-
69-
</project>

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps/kafka-configmap-test-app/src/test/resources/app-a/app-a-deployment.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps/kafka-configmap-test-app/src/test/resources/app-a/app-a-service.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps/kafka-configmap-test-app/src/test/resources/ingress/spring-cloud-kubernetes-configuration-watcher-multiple-apps-ingress.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<parent>
6-
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload-multiple-apps</artifactId>
6+
<artifactId>spring-cloud-kubernetes-k8s-client-kafka-configmap-reload</artifactId>
77
<groupId>org.springframework.cloud</groupId>
88
<version>3.2.1-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111
<packaging>jar</packaging>
1212

13-
<artifactId>kafka-configmap-app-a</artifactId>
13+
<artifactId>kafka-configmap-app</artifactId>
1414

1515
<dependencies>
1616
<dependency>
@@ -25,21 +25,6 @@
2525
<groupId>org.springframework.boot</groupId>
2626
<artifactId>spring-boot-starter-actuator</artifactId>
2727
</dependency>
28-
2928
</dependencies>
3029

31-
<build>
32-
<resources>
33-
<resource>
34-
<directory>../src/main/resources</directory>
35-
<filtering>true</filtering>
36-
</resource>
37-
<resource>
38-
<directory>src/main/resources</directory>
39-
<filtering>true</filtering>
40-
</resource>
41-
</resources>
42-
</build>
43-
44-
4530
</project>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
*/
3232
@SpringBootApplication
3333
@RestController
34-
public class AppBTestApplication implements ApplicationListener<RefreshRemoteApplicationEvent> {
34+
public class AppTestApplication implements ApplicationListener<RefreshRemoteApplicationEvent> {
3535

3636
private final Log LOG = LogFactory.getLog(getClass());
3737

3838
private boolean value = false;
3939

4040
public static void main(String[] args) {
41-
SpringApplication.run(AppBTestApplication.class, args);
41+
SpringApplication.run(AppTestApplication.class, args);
4242
}
4343

44-
@GetMapping("/app-b")
44+
@GetMapping("/app")
4545
public boolean index() {
4646
LOG.info("Current value: " + value);
4747
return value;
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
#logging:
2-
# level:
3-
# org.springframework: DEBUG
4-
#
51
spring:
62
application:
7-
name: spring-cloud-kubernetes-client-configuration-watcher-configmap-app-b
3+
name: non-app
84
cloud:
95
bus:
106
refresh:
117
enabled: false
128
enabled: true
13-
destination: multiple-apps
9+
destination: app
10+
id: app
1411
stream:
1512
default-binder: kafka
1613
management:

0 commit comments

Comments
 (0)