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:
committed by
GitHub
parent
9d1f393e86
commit
745a150554
2
kutegen
2
kutegen
Submodule kutegen updated: 6fc65a2a97...7c820bc056
@@ -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})?)|"
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
{
|
||||
"toFQDNs": [
|
||||
{
|
||||
"matchName": "test1.com"
|
||||
"matchPattern": "test1.com"
|
||||
}
|
||||
],
|
||||
"toPorts": [
|
||||
@@ -131,7 +131,7 @@
|
||||
{
|
||||
"toFQDNs": [
|
||||
{
|
||||
"matchName": "test2.com"
|
||||
"matchPattern": "test2.com"
|
||||
}
|
||||
],
|
||||
"toPorts": [
|
||||
|
||||
Reference in New Issue
Block a user