Skip to content

fix(qos-profiles): align with Commonalities r4.4 - #26

Open
hdamker wants to merge 2 commits into
camaraproject:mainfrom
hdamker:fix/20-21-commonalities-r4.4-alignment
Open

hdamker wants to merge 2 commits into
camaraproject:mainfrom
hdamker:fix/20-21-commonalities-r4.4-alignment

Conversation

@hdamker

@hdamker hdamker commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

correction

What this PR does / why we need it:

Brings qos-profiles into line with CAMARA Commonalities 0.9.0 (r4.4). A minor-version correction on top of the released 1.1.0: three error codes that no path through either operation can produce are removed, everything else is unchanged.

Highlights:

  • Set x-camara-commonalities: 0.9.0, re-copy the drifted additional-error-responses info.description block, and bump the Design Guide link.
  • Migrate every error response off the deprecated Generic<status> responses onto the r4.4 catalogue. Four move as exact matches or a pure rename (Unauthenticated401, PermissionDenied403, getQosProfile's NotFound404, and the local 422 renamed to RetrieveQosProfilesUnprocessable422); three narrow to only the codes the operation can return (BadRequest400, TooManyRequests429, and retrieveQosProfiles' 404 to IdentifierNotFound404).
  • Source the surviving local 422's examples from the new CAMARA_common.yaml example pool.
  • Normalize the .feature test-definition OAS pointers to the #/ prefix used by the r4.4 test template, and add a scenario for retrieveQosProfiles with a name matching no profile, asserting 200 with an empty array.

Which issue(s) this PR fixes:

Fixes #20
Fixes #21

Special notes for reviewers:

Changelog input

 release-note
Align qos-profiles with CAMARA Commonalities 0.9.0 (r4.4): migrate off the deprecated Generic<status> error responses onto the new catalogue and shared examples, and narrow the 400, 404, and 429 responses to only the codes each operation can return.

Additional documentation

This section can be blank.

docs

…ogue

Bumps x-camara-commonalities to 0.9.0, re-copies the additional-error-responses
template, and bumps the Design Guide link. Migrates all seven error responses
to the r4.4 catalogue: exact matches and the 422 rename keep their declared
codes; the 400, 429, and retrieveQosProfiles' 404 narrow to only the codes
each operation can return.
…nario

Normalizes nine un-prefixed schema pointers to the r4.4 test template's #/
convention, and adds a scenario for retrieveQosProfiles with a name matching
no profile, asserting 200 with an empty array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Narrow qos-profiles error responses to codes each operation can return Align qos-profiles with Commonalities r4.4

1 participant