[API Policies] Model Round Robin Policy Issue
@Thenujan-Nagaratnam is already working on this.
Since Jan 15, 2026.
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Overview
Schema validation inconsistency between YAML definition and Go implementation leads to runtime failures.
Issue Details
Missing requestModel in System Parameters Schema
Files:
- Schema:
policy-definition.yaml(lines 34-36) - Implementation:
roundrobin.go(lines 147-195)
Description:
The policy definition YAML declares systemParameters with empty properties, but the Go implementation requires a requestModel parameter with location and identifier fields, validated as required.
Schema Mismatch:
# Current (incorrect)
systemParameters:
type: object
properties: {}
# Required (missing)
systemParameters:
type: object
properties:
requestModel:
type: object
properties:
location: {type: string}
identifier: {type: string}
required: [location, identifier]
required: [requestModel]
Proposed Fix:
Update the policy-definition.yaml to include the requestModel structure in systemParameters with proper validation rules.
Impact:
Configuration validation fails to catch missing required parameters, leading to runtime failures.
Reference
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.