|
| 1 | +# Registration Flow - Activity Diagram |
| 2 | + |
| 3 | +## Activity Diagram |
| 4 | + |
| 5 | +```mermaid |
| 6 | +
|
| 7 | +flowchart TD |
| 8 | +
|
| 9 | + Start((Start)) -->|Success| VerifyReg[VERIFY_REGISTRATION] |
| 10 | +
|
| 11 | + VerifyReg[VERIFY_REGISTRATION] -->|Success| CreateBPNNPush[CREATE_BUSINESS_PARTNER_NUMBER_PUSH] |
| 12 | +
|
| 13 | + CreateBPNNPush -->|Success| CreateBPNNManual[CREATE_BUSINESS_PARTNER_NUMBER_MANUAL] |
| 14 | +
|
| 15 | + CreateBPNNManual -->|Success| CreateBPNNPull[CREATE_BUSINESS_PARTNER_NUMBER_PULL] |
| 16 | +
|
| 17 | + CreateBPNNPull -->|Success| CreateDimWallet[CREATE_DIM_WALLET] |
| 18 | +
|
| 19 | + CreateDimWallet -->|Success| AwaitDimResponse[AWAIT_DIM_RESPONSE] |
| 20 | +
|
| 21 | + subgraph AwaitDimResponse |
| 22 | +
|
| 23 | + ValidateSchema[Validate DID Document Schema] |
| 24 | +
|
| 25 | + PublishPublic[Publish DID Document Publicly] |
| 26 | +
|
| 27 | + end |
| 28 | +
|
| 29 | + AwaitDimResponse -->|Success| ValidateDidDoc[VALIDATE_DID_DOCUMENT] |
| 30 | +
|
| 31 | + ValidateDidDoc -->|Success| TransmitBPNDID[TRANSMIT_BPN_DID] |
| 32 | +
|
| 33 | + subgraph TransmitBPNDID |
| 34 | +
|
| 35 | + StoreDIDLocBPNL[Store DID Document Location with BPNL in BDRS Service] |
| 36 | +
|
| 37 | + end |
| 38 | +
|
| 39 | + TransmitBPNDID -->|Success| RequestBPNCred[REQUEST_BPN_CREDENTIAL] |
| 40 | +
|
| 41 | + RequestBPNCred -->|Success| StoredBPNCred[STORED_BPN_CREDENTIAL] |
| 42 | +
|
| 43 | + StoredBPNCred -->|Success| RequestMemCred[REQUEST_MEMBERSHIP_CREDENTIAL] |
| 44 | +
|
| 45 | + subgraph RequestMemCred |
| 46 | +
|
| 47 | + InterfaceIssuer[Interface to Issuer Component] |
| 48 | +
|
| 49 | + IssueWithWallet[Issuance with Wallet] |
| 50 | +
|
| 51 | + end |
| 52 | +
|
| 53 | + RequestMemCred -->|Success| StoredMemCred[STORED_MEMBERSHIP_CREDENTIAL] |
| 54 | +
|
| 55 | + StoredMemCred -->|Success| StartClearing[START_CLEARING_HOUSE] |
| 56 | +
|
| 57 | + StartClearing -->|Success| EndClearing[END_CLEARING_HOUSE] |
| 58 | +
|
| 59 | + EndClearing -->|Validation Error| TriggerOverride[TRIGGER_OVERRIDE_CLEARING_HOUSE] |
| 60 | +
|
| 61 | + EndClearing -->|No Error| StartSelfDescLP[START_SELF_DESCRIPTION_LP] |
| 62 | +
|
| 63 | + StartSelfDescLP -->|Success| EndSelfDescLP[END_SELF_DESCRIPTION_LP] |
| 64 | +
|
| 65 | + EndSelfDescLP -->|Error| RetriggerSelfDescLP[RETRIGGER_SELF_DESCRIPTION_LP] |
| 66 | +
|
| 67 | + EndSelfDescLP -->|Success| Finish(APPLICATION_ACTIVATION) |
| 68 | +
|
| 69 | + TriggerOverride -->|Success| StartSelfDescLP |
| 70 | +
|
| 71 | + RetriggerSelfDescLP -->|Success| Finish |
| 72 | +
|
| 73 | + VerifyReg --> DeclineReg["Decline Registration"]:::declineProcess --> Declined((DECLINED)) |
| 74 | +
|
| 75 | + CreateBPNNPush -->|Error| DeclineReg |
| 76 | + CreateBPNNManual -->|Error| DeclineReg |
| 77 | + CreateBPNNPull -->|Error| DeclineReg |
| 78 | + CreateDimWallet -->|Error| DeclineReg |
| 79 | + AwaitDimResponse -->|Error| DeclineReg |
| 80 | + ValidateDidDoc -->|Error| DeclineReg |
| 81 | + TransmitBPNDID -->|Error| DeclineReg |
| 82 | + RequestBPNCred -->|Error| DeclineReg |
| 83 | + StoredBPNCred -->|Error| DeclineReg |
| 84 | + RequestMemCred -->|Error| DeclineReg |
| 85 | + StoredMemCred -->|Error| DeclineReg |
| 86 | + StartClearing -->|Error| DeclineReg |
| 87 | + EndClearing -->|Error| DeclineReg |
| 88 | + StartSelfDescLP -->|Error| DeclineReg |
| 89 | + EndSelfDescLP -->|Error| DeclineReg |
| 90 | + TriggerOverride -->|Error| DeclineReg |
| 91 | + RetriggerSelfDescLP -->|Error| DeclineReg |
| 92 | +``` |
| 93 | + |
| 94 | +## NOTICE |
| 95 | + |
| 96 | +This work is licensed under the [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0). |
| 97 | + |
| 98 | +- SPDX-License-Identifier: Apache-2.0 |
| 99 | +- SPDX-FileCopyrightText: 2024 Contributors to the Eclipse Foundation |
| 100 | +- Source URL: https://github.com/eclipse-tractusx/portal-assets |
0 commit comments