-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix deploy new agent filters #6327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: 🟢
Test 🟢
The following examples were tested:
1- Test 1
- Description: Valid hostname
- Value: myserver123
- Passed test: 🟢
2- Test 2
- Description: Hostname with special characters (not allowed)
- Value: server@home
- Passed test: 🟢
3- Test 3
- Description: Hostname with length less than limit
- Value: thisisaverylonghostnamethatismorethan63characterslong
- Passed test: 🟢
4- Test 4
- Description: Hostname with length greater than limit
- Value: asdfasdfaasdfasdfasdfasdfasdfdsadfdsadfdsadfdsadfdsssdddaaasss
- Passed test: 🟢
5- Test 5
- Description: Valid domain
- Value: example.com
- Passed test: 🟢
6- Test 6
- Description: Domain with subdomains
- Value: subdomain1.subdomain2.example.com
- Passed test: 🟢
7- Test 7
- Description: Valid IPv4
- Value: 192.168.1.1
- Passed test: 🟢
8- Test 8
- Description: IPv4 with octet greater than limit
- Value: 256.168.1.1
- Passed test: 🟢 (A label can contain only numbers)
9- Test 9
- Description: Valid IPv6
- Value: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
- Passed test: 🟢
10- Test 10
- Description: Unexpanded Uncompressed IPv6
- Value: 2001:db8:85a3:0:0:8a2e:370:7334
- Passed test: 🟢
11- Test 11
- Description: Expanded Uncompressed IPv6
- Value: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
- Passed test: 🟢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: ✔️
Test: ✔️
Peek.2024-01-16.19-50.mp4
|
|
|
Description
This PR aims to fix an error on which the
Deploy New Agent
section did not allow to specify a hostname as server addressIssues Resolved
#6311
Evidence
Test
The allowed options are:
Note: A non valid IPv4 (i.e. 280.240.1.300) should be considered valid, as it matches the rules to be a domain (alphanumeric labels with 1-63 characters)
Check List
yarn test:jest