Repository navigation
Sync common files from Commonalities r4.4 - #191
Merged
Merged
Conversation
camara-release-automation
Bot
requested review from
PeterKovacs2,
carlosromerog,
eric-murray and
tlohmar
as code owners
September 21, 2026 14:17
6 tasks
CAMARA Validation — PASS (with warnings)0 errors, 4 warnings, 10 hints | Profile: standard |
eric-murray
approved these changes
Sep 24, 2026
jimfengjinhua
added a commit
to jimfengjinhua/DedicatedNetworks
that referenced
this pull request
Oct 2, 2026
Align the four API definitions with Commonalities r4.4 (0.9.0), whose common files were synced in camaraproject#191. - Bump info.x-camara-commonalities to 0.9 and apply the reworded "Additional CAMARA error responses" info.description template. - Replace the deprecated Generic* error responses per operation with the r4.4 catalogue: BadRequest400, BadRequestWithRange400, NotFound404, Unauthenticated401 and PermissionDenied403, and SinkGone410 on the callbacks. This also drops INVALID_TOKEN_CONTEXT, which r4.4 removed from 403. - List operations use BadRequest400, as invalid page/perPage values return 400 INVALID_ARGUMENT (Design Guide 4.1). - Keep local responses only where the catalogue does not fit: a 400 on POST /networks and POST /accesses that adds the sink-related codes INVALID_CREDENTIAL, INVALID_TOKEN and INVALID_SINK, the DEDICATED_NETWORK.* 404 codes on POST /networks, a 404 DEDICATED_NETWORK_ACCESSES.NETWORK_IDENTIFIER_NOT_FOUND on POST /accesses, and narrowed 409s on POST /accesses (INCOMPATIBLE_STATE) and the add/remove devices operations (ABORTED, INCOMPATIBLE_STATE). - Example labels: use the API prefix for locally defined examples, keep GENERIC_ for references to common examples, and define the shared 409 INCOMPATIBLE_STATE example once. - Replace the two inline sink definitions with the common Sink schema. - Test definitions: add createAccess_404.01_networkid_not_found, and make the pagination scenarios of listNetworks, readNetworkProfiles and retrieveNetworkServiceAreas expect INVALID_ARGUMENT, renaming their tags from *_out_of_range_pagination to *_invalid_pagination.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
This branch is owned by Release Automation and is rebuilt from
mainon every run.Do not commit fixes to this branch — any commits here are overwritten the next time the sync runs.
Automated sync of
code/common/files fromcamaraproject/Commonalitiesat release tagr4.4.This PR was created by release automation because the cached Commonalities files were out of sync with the declared dependency in
release-plan.yaml.What changed:
code/common/to match Commonalities r4.4.sync-manifest.yamlwith file integrity hashesHow to handle this PR:
main, then re-trigger the sync; this PR is rebuilt from the newmainHEAD with the corrected content.mainafterwards.To re-trigger the sync, run the CAMARA Release Automation workflow from the repository's Actions tab.
/create-snapshotis blocked until common files are in sync.