Open MicSkr opened 1 year ago
Have you tried using 1.33?
Yes, I have tried schema validation with 1.33. It does not resolve this schema validation issue. Same validation error.
{
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-telemetry-streaming/master/src/schema/1.33.0/base_schema.json",
"class": "Telemetry",
"My_System_Poller": {
"class": "Telemetry_System_Poller",
"interval": 0
},
"HTTP_System_Stats": {
"class": "Telemetry_Pull_Consumer",
"type": "Prometheus",
"systemPoller": "My_System_Poller"
},
"HTTP_Service_Stats": {
"class": "Telemetry_Pull_Consumer",
"type": "Prometheus",
"systemPoller": [
"Endpoints_Traffic_Virtual_Server_Poller1"
]
},
"Endpoints_Traffic_Virtual_Server_Poller1": {
"class": "Telemetry_System_Poller",
"interval": 0,
"endpointList": "Endpoints_Traffic_Virtual_Server"
},
"Endpoints_Traffic_Virtual_Server": {
"class": "Telemetry_Endpoints",
"items": {
"virtualServerStats": {
"name": "virtualServerStats",
"path": "/mgmt/tm/ltm/virtual/stats",
"enable": true
}
}
}
}
Environment
Summary
Telemetry_Endpoints: Items: []: path: indicates only "^[a-zA-Z0-9.]+$" Can not use schema 1.32 without error when using iControl Path Pointers that work.
Steps To Reproduce
Steps to reproduce the behavior:
Evaluate in VSCode and find schema validation error on line 30 regarding path value
Observe the following error response: Validation Error: String does not match the pattern of "^[a-zA-Z0-9.]+$".
Expected Behavior
Acceptable path schema
Actual Behavior
Unable to use schema to validate path pointer that is acceptable to submit and use.