forked from canonical/ubuntu.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added mermaid seq diag to credentials page showing info flow
- Loading branch information
1 parent
803711b
commit 6fcd4c5
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
```mermaid | ||
sequenceDiagram | ||
loop /your-exams | ||
ubuntu.com->>Skillable: /userrunningandsavedlabs?userid={userid} | ||
Skillable-->>ubuntu.com: { RunningLabs[], SavedLabs[] } | ||
ubuntu.com->>Skillable: /Result?labinstanceId={labinstanceId} | ||
Skillable-->>ubuntu.com: { RunningLabs[], SavedLabs[] } | ||
end | ||
loop /take-exam | ||
ubuntu.com->>Skillable: /launch?labid={labid}&userid={userid} | ||
Skillable-->>ubuntu.com: {Url} | ||
ubuntu.com->>Skillable: Redirect to Assessment Environment URL | ||
Skillable-->>ubuntu.com: REDIRECT | ||
end | ||
loop /issue-badges | ||
Skillable->>Skillable: Event == Scored | ||
Note right of Skillable: Webhook! | ||
Skillable->>ubuntu.com: { Id, UserExternalId, ExamPassed,LabProfileId } | ||
ubuntu.com-->>Credly: {name, email, exam} | ||
end | ||
``` |