commit | 9ac73958a0a2ad8461e30a9ca722684ee4fd182e | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Fri Jan 15 14:53:22 2021 +0900 |
committer | Jian Li <pyguni@gmail.com> | Wed Jan 20 10:55:52 2021 +0000 |
tree | 9ced9a1378afc78465384b92361f2bc836cba62b | |
parent | 3ba5c581eeffcd6e3749f5bf1ece272732f1d663 [diff] |
Bumpup kubernetes client from 4.7.1 to 5.0.0 (support up to kubernetes 1.19) Change-Id: I7555325fd5eee5bbbb7a0a7a5c27bfc2c333fc7f
diff --git a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyAdminService.java b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyAdminService.java index 2c5bb48..1e87322 100644 --- a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyAdminService.java +++ b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyAdminService.java
@@ -15,7 +15,8 @@ */ package org.onosproject.k8snetworking.api; -import io.fabric8.kubernetes.api.model.networking.NetworkPolicy; + +import io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy; /** * Service for administering the inventory of kubernetes network policy.
diff --git a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyEvent.java b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyEvent.java index 28c502f..5731cf3 100644 --- a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyEvent.java +++ b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyEvent.java
@@ -15,7 +15,7 @@ */ package org.onosproject.k8snetworking.api; -import io.fabric8.kubernetes.api.model.networking.NetworkPolicy; +import io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy; import org.onosproject.event.AbstractEvent; /**
diff --git a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyService.java b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyService.java index 5c3e572..c5d9957 100644 --- a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyService.java +++ b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyService.java
@@ -15,7 +15,7 @@ */ package org.onosproject.k8snetworking.api; -import io.fabric8.kubernetes.api.model.networking.NetworkPolicy; +import io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy; import org.onosproject.event.ListenerService; import java.util.Set;
diff --git a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyStore.java b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyStore.java index c6250ae..e283c37 100644 --- a/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyStore.java +++ b/apps/k8s-networking/api/src/main/java/org/onosproject/k8snetworking/api/K8sNetworkPolicyStore.java
@@ -15,7 +15,7 @@ */ package org.onosproject.k8snetworking.api; -import io.fabric8.kubernetes.api.model.networking.NetworkPolicy; +import io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy; import org.onosproject.store.Store; import java.util.Set;