INFRA-3598 | Ankit Bhardwaj | allowing wildcard in hostname (#1106)

* INFRA-3598 | Ankit Bhardwaj | allowing wildcard in hostname

* INFRA-3598 | Ankit Bhardwaj | fix tests
This commit is contained in:
Ankit Bhardwaj Bhardwaj
2024-07-23 20:43:18 +05:30
committed by GitHub
parent 9d1f393e86
commit 745a150554
3 changed files with 4 additions and 4 deletions

Submodule kutegen updated: 6fc65a2a97...7c820bc056

View File

@@ -13,7 +13,7 @@ import lombok.Setter;
@EqualsAndHashCode
class EgressDto {
@NotNull
@Pattern(regexp = "(^([-a-zA-Z0-9_]+[.]?)+$)|"
@Pattern(regexp = "(^([-a-zA-Z0-9_*]+[.]?)+$)|"
+ "(^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|"
+ "[01]?[0-9][0-9]?)/([0-9]|[1-2][0-9]|3[0-2])$|^s*((([0-9A-Fa-f]{1,4}:){7}(:|"
+ "([0-9A-Fa-f]{1,4})))|(([0-9A-Fa-f]{1,4}:){6}:([0-9A-Fa-f]{1,4})?)|"

View File

@@ -114,7 +114,7 @@
{
"toFQDNs": [
{
"matchName": "test1.com"
"matchPattern": "test1.com"
}
],
"toPorts": [
@@ -131,7 +131,7 @@
{
"toFQDNs": [
{
"matchName": "test2.com"
"matchPattern": "test2.com"
}
],
"toPorts": [