Repository navigation
[DGR-4848] Document framework skills on group clone - #149
Open
sandilya91 wants to merge 1 commit into
Open
sandilya91 wants to merge 1 commit into
sandilya91 wants to merge 1 commit into
Conversation
Clone previously ignored skill_framework_version_id and framework_skills; accredible-credential-api#5345 now validates them through the create path and replaces the original's skills. Adds the two request params, the source_framework_copied 207 code, and the fallback rules to the shared error table.
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.
What & why
POST /v1/issuer/groups/:id/clonenow appliesskill_framework_version_idandframework_skillsfrom the request body instead of ignoring them, so one callcan clone a Group and re-skill it (DGR-4848, upstream
accredible/accredible-credential-api#5345). The docs still told integrators both
keys were ignored and that the only
207was a retired source version. Thisdocuments the two request params, the new
source_framework_copiedcode, andwhat happens when the requested skills cannot be attached.
The clone comes back with skill 59301 alone; the original's skills are replaced,
not merged.
Rendered
Operation description, the four paragraphs that carry the behaviour:
The two new request params:
New
source_framework_copiedrow in the shared error table:Five more: item schema, 207 response, code enum, learning_outcomes, reworded error rows
framework_skillsitem schema:207 response and its
errorsdescription:codeenum with the new value appended:Reworded
learning_outcomes, beside the new 207 response sample:Reworded
framework_params_incomplete,framework_not_available,version_retiredandframework_skills_malformedrows:Images live on the
dgr-4848-docs-screenshotsbranch, which is not part of thedocs build. Delete it when this merges.
Review notes
developthis morning and is not on blue yet. A probethere still mirrored the source for
framework_skills: null, so every claimhere comes from the merged service and its specs rather than a live run. Re-run
it on blue before merging, since
developauto-deploys todocs.api.accredible.com.
behaviour; the request params and the
207point back at them.framework_not_availableandversion_retiredno longer mean thesame thing: a source whose framework is mid-retirement for its Department now
reports the former, which the old table folded into the latter.
skill_framework_version_idis ignored rather than reported, and ablank-but-not-null
framework_skillsis now reported instead of silentlydropping the framework.