Adding field path to ingress #15

Merged
hitanshu merged 1 commits from ingress into test 2025-05-26 19:43:03 +00:00
Showing only changes of commit d3f0797e33 - Show all commits

View File

@ -8,6 +8,16 @@ public class Ingress {
private String service; private String service;
private String hostname; private String hostname;
private Map<String, Object> originRequest; private Map<String, Object> originRequest;
private String path;
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public static boolean deleteByHostName(List<Ingress> ingressList, String toBeDeleted){ public static boolean deleteByHostName(List<Ingress> ingressList, String toBeDeleted){
return ingressList.removeIf(ingress -> ingress.getHostname() != null && ingress.getHostname().equals(toBeDeleted)); return ingressList.removeIf(ingress -> ingress.getHostname() != null && ingress.getHostname().equals(toBeDeleted));