Skip to content

Commit c8484a3

Browse files
authored
deprecate v2 (#195)
Signed-off-by: rulex123 <[email protected]>
1 parent 07556fb commit c8484a3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

cache/src/main/java/io/envoyproxy/controlplane/cache/v2/SimpleCache.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import io.envoyproxy.controlplane.cache.NodeGroup;
44

5+
@Deprecated
56
public class SimpleCache<T> extends io.envoyproxy.controlplane.cache.SimpleCache<T, Snapshot> {
67
public SimpleCache(NodeGroup<T> nodeGroup) {
78
super(nodeGroup);

cache/src/main/java/io/envoyproxy/controlplane/cache/v2/Snapshot.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* {@code Snapshot} is a data class that contains an internally consistent snapshot of v2 xDS
2626
* resources. Snapshots should have distinct versions per node group.
2727
*/
28+
@Deprecated
2829
@AutoValue
2930
public abstract class Snapshot extends io.envoyproxy.controlplane.cache.Snapshot {
3031

server/src/main/java/io/envoyproxy/controlplane/server/V2DiscoveryServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.util.Collections;
2121
import java.util.List;
2222

23+
@Deprecated
2324
public class V2DiscoveryServer extends DiscoveryServer<DiscoveryRequest, DiscoveryResponse> {
2425

2526
public V2DiscoveryServer(ConfigWatcher configWatcher) {

0 commit comments

Comments
 (0)