Skip to content

Commit 5550a29

Browse files
fix: update endpoints.yaml with actual spec file names (#8)
The endpoints configuration was referencing non-existent file names like 'virtual.json' and 'api.json', but the actual spec files have long names like 'docs-cloud-f5-com.0124.public.ves.io.schema.healthcheck.ves-swagger.json'. This was causing validation to skip all endpoint testing because the domain_file lookups were failing. Changes: - Updated all 10 endpoint domain_file references to match actual spec filenames - Updated domain_files mapping section with correct file names - Removed references to fictional virtual.json, api.json, data_and_privacy_security.json This should enable the validation to actually test the configured endpoints and detect discrepancies between spec and live API behavior. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 784f2a7 commit 5550a29

File tree

1 file changed

+40
-19
lines changed

1 file changed

+40
-19
lines changed

config/endpoints.yaml

Lines changed: 40 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# The framework should be extensible to all APIs in the OpenAPI spec
55

66
endpoints:
7-
# Virtual Domain (virtual.json)
7+
# Virtual Domain
88
healthcheck:
99
resource: healthchecks
10-
domain_file: virtual.json
10+
domain_file: docs-cloud-f5-com.0124.public.ves.io.schema.healthcheck.ves-swagger.json
1111
api_group: config
1212
crud_operations:
1313
create: POST /api/config/namespaces/{namespace}/healthchecks
@@ -20,7 +20,7 @@ endpoints:
2020

2121
origin_pool:
2222
resource: origin_pools
23-
domain_file: virtual.json
23+
domain_file: docs-cloud-f5-com.0177.public.ves.io.schema.views.origin_pool.ves-swagger.json
2424
api_group: config
2525
crud_operations:
2626
create: POST /api/config/namespaces/{namespace}/origin_pools
@@ -33,7 +33,7 @@ endpoints:
3333

3434
app_firewall:
3535
resource: app_firewalls
36-
domain_file: virtual.json
36+
domain_file: docs-cloud-f5-com.0019.public.ves.io.schema.app_firewall.ves-swagger.json
3737
api_group: config
3838
crud_operations:
3939
create: POST /api/config/namespaces/{namespace}/app_firewalls
@@ -46,7 +46,7 @@ endpoints:
4646

4747
service_policy:
4848
resource: service_policys
49-
domain_file: virtual.json
49+
domain_file: docs-cloud-f5-com.0208.public.ves.io.schema.service_policy.ves-swagger.json
5050
api_group: config
5151
crud_operations:
5252
create: POST /api/config/namespaces/{namespace}/service_policys
@@ -57,10 +57,10 @@ endpoints:
5757
test_priority: medium
5858
description: "Service-level security policies"
5959

60-
# API Domain (api.json)
60+
# API Domain
6161
api_definition:
6262
resource: api_definitions
63-
domain_file: api.json
63+
domain_file: docs-cloud-f5-com.0002.public.ves.io.schema.views.api_definition.ves-swagger.json
6464
api_group: config
6565
crud_operations:
6666
create: POST /api/config/namespaces/{namespace}/api_definitions
@@ -73,7 +73,7 @@ endpoints:
7373

7474
api_discovery:
7575
resource: api_discoverys
76-
domain_file: api.json
76+
domain_file: docs-cloud-f5-com.0003.public.ves.io.schema.api_sec.api_discovery.ves-swagger.json
7777
api_group: config
7878
crud_operations:
7979
create: POST /api/config/namespaces/{namespace}/api_discoverys
@@ -86,7 +86,7 @@ endpoints:
8686

8787
api_groups:
8888
resource: api_groups
89-
domain_file: api.json
89+
domain_file: docs-cloud-f5-com.0004.public.ves.io.schema.api_group.ves-swagger.json
9090
api_group: config
9191
crud_operations:
9292
create: POST /api/config/namespaces/{namespace}/api_groups
@@ -99,7 +99,7 @@ endpoints:
9999

100100
code_base_integration:
101101
resource: code_base_integrations
102-
domain_file: api.json
102+
domain_file: docs-cloud-f5-com.0064.public.ves.io.schema.api_sec.code_base_integration.ves-swagger.json
103103
api_group: config
104104
crud_operations:
105105
create: POST /api/config/namespaces/{namespace}/code_base_integrations
@@ -110,10 +110,10 @@ endpoints:
110110
test_priority: low
111111
description: "Source code repository integrations"
112112

113-
# Data and Privacy Security Domain (data_and_privacy_security.json)
113+
# Data and Privacy Security Domain
114114
data_type:
115115
resource: data_types
116-
domain_file: data_and_privacy_security.json
116+
domain_file: docs-cloud-f5-com.0096.public.ves.io.schema.data_type.ves-swagger.json
117117
api_group: config
118118
crud_operations:
119119
create: POST /api/config/namespaces/{namespace}/data_types
@@ -126,7 +126,7 @@ endpoints:
126126

127127
sensitive_data_policy:
128128
resource: sensitive_data_policys
129-
domain_file: data_and_privacy_security.json
129+
domain_file: docs-cloud-f5-com.0206.public.ves.io.schema.sensitive_data_policy.ves-swagger.json
130130
api_group: config
131131
crud_operations:
132132
create: POST /api/config/namespaces/{namespace}/sensitive_data_policys
@@ -139,14 +139,35 @@ endpoints:
139139

140140
# Domain file mappings
141141
domain_files:
142-
virtual.json:
143-
description: "Virtual services, load balancers, and network policies"
142+
docs-cloud-f5-com.0124.public.ves.io.schema.healthcheck.ves-swagger.json:
143+
description: "Health check configurations"
144144
priority: 1
145-
api.json:
146-
description: "API security and discovery features"
145+
docs-cloud-f5-com.0177.public.ves.io.schema.views.origin_pool.ves-swagger.json:
146+
description: "Origin pool configurations"
147+
priority: 1
148+
docs-cloud-f5-com.0019.public.ves.io.schema.app_firewall.ves-swagger.json:
149+
description: "Application firewall configurations"
150+
priority: 1
151+
docs-cloud-f5-com.0208.public.ves.io.schema.service_policy.ves-swagger.json:
152+
description: "Service policy configurations"
153+
priority: 2
154+
docs-cloud-f5-com.0002.public.ves.io.schema.views.api_definition.ves-swagger.json:
155+
description: "API definition configurations"
156+
priority: 2
157+
docs-cloud-f5-com.0003.public.ves.io.schema.api_sec.api_discovery.ves-swagger.json:
158+
description: "API discovery configurations"
159+
priority: 2
160+
docs-cloud-f5-com.0004.public.ves.io.schema.api_group.ves-swagger.json:
161+
description: "API group configurations"
147162
priority: 2
148-
data_and_privacy_security.json:
149-
description: "Data protection and privacy controls"
163+
docs-cloud-f5-com.0064.public.ves.io.schema.api_sec.code_base_integration.ves-swagger.json:
164+
description: "Code base integration configurations"
165+
priority: 3
166+
docs-cloud-f5-com.0096.public.ves.io.schema.data_type.ves-swagger.json:
167+
description: "Data type configurations"
168+
priority: 3
169+
docs-cloud-f5-com.0206.public.ves.io.schema.sensitive_data_policy.ves-swagger.json:
170+
description: "Sensitive data policy configurations"
150171
priority: 3
151172

152173
# Test execution order (by priority)

0 commit comments

Comments
 (0)