Rewrite blueprint flowcharts using Plantuml instead of .png files.
Closed
requested to merge generated-differential-D4248-source into generated-differential-D4248-target
3 unresolved threads
There are a few mistakes, but they were already in the original files; a future commit will fix them.
Related to T2618
Migrated from D4248 (view on Phabricator)
Merge request reports
Activity
Filter activity
Build is green
Patch application report for D4248 (id=15009)
Rebasing onto a8e6b830...
Current branch diff-target is up to date.
Changes applied before test
commit 13c45d647ad66db5f83291737b936cd6c49ce780 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue Oct 13 17:25:26 2020 +0200 Rewrite blueprint flowcharts using Plantuml instead of .png files. There are a few mistakes, but they were already in the original files; a future commit will fix them.
See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/226/ for more details.
Build is green
Patch application report for D4248 (id=15010)
Rebasing onto a8e6b830...
Current branch diff-target is up to date.
Changes applied before test
commit 5622c4d80cb08b27c0c1f7a32cb69dce156a6d4e Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue Oct 13 17:25:26 2020 +0200 Rewrite blueprint flowcharts using Plantuml instead of .png files. There are a few mistakes, but they were already in the original files; a future commit will fix them.
See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/227/ for more details.
- docs/images/deposit-create-chart.uml 0 → 100644
11 12 DEPOSIT ->> DEPOSIT_STORAGE: check authentication 13 DEPOSIT_STORAGE -->> DEPOSIT: return ok (if client exists and credentials ok) 14 15 DEPOSIT -->> CLIENT: return 200, <service-document> 16 17 CLIENT ->> DEPOSIT: POST /1/<collection-name>/ 18 19 DEPOSIT ->> DEPOSIT_STORAGE: check authentication 20 DEPOSIT_STORAGE -->> DEPOSIT: return ok (if client exists and credentials ok) 21 22 DEPOSIT ->> DEPOSIT_STORAGE: create new deposit 23 DEPOSIT_STORAGE -->> DEPOSIT: return deposit_id 24 25 DEPOSIT -->> CLIENT: return 201, <deposit receipt> 26 @enduml - docs/images/deposit-update-chart.uml 0 → 100644
15 DEPOSIT -->> CLIENT: return 201, <deposit receipt> 16 17 loop while status is 'partial' 18 19 CLIENT -> DEPOSIT: POST/PUT /1/<collection-name>/<deposit-id>/media/\nPOST/PUT /1/<collection-name>/<deposit-id>/metadata/ 20 21 DEPOSIT ->> DEPOSIT_STORAGE: check authentication 22 DEPOSIT_STORAGE -->> DEPOSIT: return ok 23 24 DEPOSIT ->> DEPOSIT_STORAGE: check inputs() 25 DEPOSIT_STORAGE -->> DEPOSIT: return ok 26 27 alt HEADER: In-Progress = true 28 DEPOSIT ->> DEPOSIT_STORAGE: add-or-replace-data-and-update-status('partial') 29 else HEADER: In-Progress = false 30 DEPOSIT ->> DEPOSIT_STORAGE: add-or-replace-data-and-update-status('ready') deposited
instead ofready
And then the check can do its job and trigger the checks. if checks ok -> verified (and now it's ready for injection). else checks ko -> rejected.
43 .. figure:: ../images/deposit-create-chart.png 41 .. figure:: ../images/deposit-create-chart.svg 44 42 :alt: 45 43 46 44 45 Deposit statuses: 46 47 'partial' 48 The deposit is new or partially received, since it can be done in 49 multiple requests 50 51 'expired' 52 Deposit was there too long and is new deemed ready to be 53 garbage-collected 54 55 'ready' verified.
we are missing the deposited status... [1]
!394 (closed) and in the end i renamed all status names.
Please register or sign in to reply