Skip to content

Commit f1ab3af

Browse files
committed
dirty
Signed-off-by: wind57 <[email protected]>
1 parent 43d5b39 commit f1ab3af

File tree

14 files changed

+344
-471
lines changed

14 files changed

+344
-471
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright 2013-2025 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package org.springframework.cloud.kubernetes.discoveryclient.it;
18+
19+
import org.springframework.boot.SpringApplication;
20+
import org.springframework.boot.autoconfigure.SpringBootApplication;
21+
22+
/**
23+
* @author wind57
24+
*/
25+
@SpringBootApplication
26+
public class App {
27+
28+
public static void main(String[] args) {
29+
SpringApplication.run(App.class, args);
30+
}
31+
32+
}

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-discovery-server/src/main/java/org/springframework/cloud/kubernetes/discoveryclient/it/HeartbeatListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class HeartbeatListener implements ApplicationListener<HeartbeatEvent> {
3535

3636
private static final LogAccessor LOG = new LogAccessor(LogFactory.getLog(HeartbeatListener.class));
3737

38-
AtomicReference<List<EndpointNameAndNamespace>> state = new AtomicReference<>(List.of());
38+
public final AtomicReference<List<EndpointNameAndNamespace>> state = new AtomicReference<>(List.of());
3939

4040
@Override
4141
@SuppressWarnings("unchecked")

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-discovery-server/src/main/java/org/springframework/cloud/kubernetes/discoveryclient/it/KubernetesDiscoveryClientApplicationIt.java

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

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-discovery-server/src/main/resources/application.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spring:
77
kubernetes:
88
discovery:
99
discoveryServerUrl: http://spring-cloud-kubernetes-discoveryserver
10+
1011
management:
1112
endpoint:
1213
health:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.cloud.kubernetes.discoveryclient.it;
17+
package org.springframework.cloud.kubernetes.discoveryclient;
1818

1919
import java.time.Duration;
2020
import java.util.LinkedHashMap;

0 commit comments

Comments
 (0)