Skip to content

Commit f8a5daf

Browse files
HenkKoddeSam
andauthored
Updates as per feedback received on issue #10. (#45)
* - Updated version to 8.6.3 - Create Encryption document in Markdown format - Added new Encryption document to SUMMARY.md for publishing. * - Included package-lock.json * - Converted the following documents in Markdown format; - JSON Binding Rules, - Generic Transaction Patterns. - Created the following sequence diagrams required in the documents; - figure63a.plantuml, - figure64a.plantuml, - figure65a.plantuml, - figure66a.plantuml. - Updated the following sequence diagrams; - figure63.plantuml, - figure64.plantuml, - figure65.plantuml, - figure66.plantuml. Increase version to 8.8.1 * Format updates to accommodate auto numbering and Gitbooks display format. Version to 8.8.1. * Example on lifeline deactivation and activation (PayerFSP -> PayerFSP). * Updated as per feedback received for issue #10. • Fixed - 5.1.6.9 ATM-Initiated Cash-Out** <-- two stars (*) after section name • Fixed - two delays added in Figure 34, between "Payer fee is 1 USD in Payer FSP for ATM Cash-Out, total fee 2 USD" and "OTP is pre-generated", and similarly between "Validate OTP sent by Payee FSP, OTP OK" and "Reserve 102 USD from Payer account, 101 USD to Switch account, 1 USD to fee account". There should not be any delays. This seems to be present in other figures as well (for example Figure 36, 46, 51, 52, 66). • Fixed - Some extra white space in at least Figure 34 and 36 in "PUT /transfers/" between the "PUT /transfers/" and "". • Fixed - Misspelling in Figure 36, "Generated OTP, "12345"" should be "Generate OTP, "12345"" • Fixed - Listing 12 is strange with double * instead of bold. • Fixed - 6.3.4.1, "Alternative URI: PUT /parties/{Type}/{ID}/{SubId}/error**" <-- double * • Fixed - 7.2.3.1 Regular Expression** <-- double ** • Fixed - 7.2.4.1 Regular Expression** <-- double ** • Fixed - 7.2.5.1 Regular Expression** <-- double ** Co-authored-by: Sam <[email protected]>
1 parent 3827ea5 commit f8a5daf

24 files changed

+127
-49
lines changed

assets/diagrams/sequence/figure1.plantuml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ FSP <<- Switch: **PUT /service/**//<ID>//\n(Service object information)
6464
FSP -->> Switch: **HTTP 200** (OK)
6565
deactivate Switch
6666
FSP -> FSP: Handle service object information
67-
' deactivate FSP
67+
FSP -[hidden]> Switch
68+
deactivate FSP
6869
@enduml

assets/diagrams/sequence/figure2.plantuml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ FSP <<- Switch: **PUT /service/**//<ID>//\n(Service object information)
6464
FSP -->> Switch: **HTTP 200** (OK)
6565
deactivate Switch
6666
FSP -> FSP: Handle service object\ninformation update
67-
' deactivate FSP
67+
FSP -[hidden]> FSP
68+
deactivate FSP
6869
@enduml

assets/diagrams/sequence/figure34.plantuml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ Switch ->> PayerFSP: **PUT /quotes/**<i><ID></i>\n(transferAmount=101 USD,\npaye
155155
Switch <<-- PayerFSP: **HTTP 200** (OK)
156156
deactivate Switch
157157
PayerFSP -> PayerFSP: Payer fee is 1 USD in Payer FSP\nfor ATM Cash-Out, total fee 2 USD
158-
...
158+
PayerFSP -[hidden]> Switch
159+
deactivate PayerFSP
160+
PayerFSP -[hidden]> Switch
161+
activate PayerFSP
159162
PayerFSP -> PayerFSP: OTP is pre-generated
160163
Payer <<- PayerFSP: Use you pre-generated OTP to accept\ntransaction of 100 USD, 2 USD\nin fees.
161164
PayerFSP ->> Switch: **GET /authorizations/**\n<i>{TransactionRequestID}</i>/\n(amount=100 USD, fees=2 USD,\nretriesLeft=2, type=OTP)
@@ -175,7 +178,10 @@ PayerFSP <<- Switch: **PUT /authorizations/**\n<i>{transactionRequestID}</i>\n(o
175178
PayerFSP -->> Switch: **HTTP 200** (OK)
176179
deactivate Switch
177180
PayerFSP -> PayerFSP: Validate OTP sent by Payee FSP,\nOTP OK
178-
...
181+
PayerFSP -[hidden]> Switch
182+
deactivate PayerFSP
183+
PayerFSP -[hidden]> Switch
184+
activate PayerFSP
179185
PayerFSP -> PayerFSP: Reserve 102 USD from Payer\naccount, 101 USD to Switch\naccount, 1 USD to fee account
180186
PayerFSP ->> Switch: **POST /transfers**\n(amount=101 USD)
181187
activate Switch
@@ -187,11 +193,11 @@ Switch <<-- PayeeFSP: **HTTP 202** (Accepted)
187193
PayeeFSP -> PayeeFSP: Transfer 101 USD from Switch\naccount, 100 USD to Payee,\n1 USD to fee account
188194
PayeeFSP ->> PayeeATM: Dispense 100 USD in Cash
189195
PayeeATM ->> PayerOTC: Here is your 100 USD in cash
190-
Switch <<- PayeeFSP: **PUT /transfers/** <i><ID></i>
196+
Switch <<- PayeeFSP: **PUT /transfers/**<i><ID></i>
191197
Switch -->> PayeeFSP: **HTTP 200** (OK)
192198
deactivate PayeeFSP
193199
Switch <- Switch: Commit reserved transfer
194-
Switch ->> PayerFSP: **PUT /transfers/** <i><ID></i>
200+
Switch ->> PayerFSP: **PUT /transfers/**<i><ID></i>
195201
Switch <<-- PayerFSP: **HTTP 200** (OK)
196202
deactivate Switch
197203
PayerFSP <- PayerFSP: Commit reserved transfer

assets/diagrams/sequence/figure36.plantuml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,11 @@ Switch ->> PayerFSP: **PUT /quotes/**<i><ID></i>\n(transferAmount=99 USD,\npayee
150150
Switch <<-- PayerFSP: **HTTP 200** (OK)
151151
deactivate Switch
152152
PayerFSP -> PayerFSP: Payer FSP uses the\nFSP commission as\na transaction fee
153-
...
154-
PayerFSP -> PayerFSP: Generated OTP, "12345"
153+
PayerFSP -[hidden]> Switch
154+
deactivate PayerFSP
155+
PayerFSP -[hidden]> Switch
156+
activate PayerFSP
157+
PayerFSP -> PayerFSP: Generate OTP, "12345"
155158
Payer <<- PayerFSP: Use OTP "12345" to accept\ntransaction to Merchant of 100 USD,\n0 USD in fees.
156159
PayerFSP ->> Switch: **GET /authorizations/**\n<i>{TransactionRequestID}</i>/\n(amount=100 USD, fees=0 USD,\nretriesLeft=2, type=OTP)
157160
PayerFSP <<-- Switch: **HTTP 202** (Accepted)
@@ -166,7 +169,10 @@ Switch -->> PayeeFSP: **HTTP 200** (OK)
166169
PayerFSP <<- Switch: **PUT /authorizations/***\n<i>{transactionRequestID}</i>\n(otp="12345")
167170
PayerFSP -->> Switch: **HTTP 200** (OK)
168171
PayerFSP -> PayerFSP: Validate OTP sent by Payee FSP,\nOTP OK
169-
...
172+
PayerFSP -[hidden]> Switch
173+
deactivate PayerFSP
174+
PayerFSP -[hidden]> Switch
175+
activate PayerFSP
170176
PayerFSP -> PayerFSP: Reserve 100 USD from Payer\naccount, 99 USD to Switch\naccount, 1 USD to fee account
171177
PayerFSP ->> Switch: **POST /transfers**\n(amount=99 USD)
172178
activate Switch
@@ -178,11 +184,11 @@ Switch <<-- PayeeFSP: **HTTP 202** (Accepted)
178184
PayeeFSP -> PayeeFSP: Transfer 99 USD from Switch\naccount, 1 USD from\ncommission account\nto Payee account
179185
PayeeFSP ->> PayeePOS: You have received 100 USD\nfrom Payer. Please give goods\nor service to Payer.
180186
PayeePOS ->> PayerOTC: Here is your goods or service
181-
Switch <<- PayeeFSP: **PUT /transfers/** <i><ID></i>
187+
Switch <<- PayeeFSP: **PUT /transfers/**<i><ID></i>
182188
Switch -->> PayeeFSP: **HTTP 200** (OK)
183189
deactivate PayeeFSP
184190
Switch <- Switch: Commit reserved transfer
185-
Switch ->> PayerFSP: **PUT /transfers/** <i><ID></i>
191+
Switch ->> PayerFSP: **PUT /transfers/**<i><ID></i>
186192
Switch <<-- PayerFSP: **HTTP 200** (OK)
187193
deactivate Switch
188194
PayerFSP <- PayerFSP: Commit reserved transfer

assets/diagrams/sequence/figure40.plantuml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,6 @@ userfsp <<- fsp2: **PUT /participant/MSISDN/123456789/error**
135135
userfsp -->> fsp2: **HTTP 200** (OK)
136136
deactivate fsp2
137137
userfsp -> userfsp: +123456789 found\nin FSP 2
138+
userfsp -[hidden]>fsp2
139+
deactivate userfsp
138140
@enduml

assets/diagrams/sequence/figure43.plantuml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,6 @@ Switch ->> payeefsp: **PUT /transactionRequest/**<i><ID></i>\n(Received status)
133133
Switch <<-- payeefsp: **HTTP 200** (OK)
134134
deactivate Switch
135135
payeefsp -> payeefsp: Wait for either quote and\ntransfer, or rejected\ntransaction request by Payer
136+
payeefsp <[hidden]- payeefsp
137+
deactivate payeefsp
136138
@enduml

assets/diagrams/sequence/figure46.plantuml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ actor "<$actor>\nPayee" as Payee
120120
Payer ->> PayerFSP: I would like to pay 100 USD\nto +123456789
121121
activate PayerFSP
122122
PayerFSP -> PayerFSP: Lookup +123456789\n(process not shown here)
123-
...
123+
PayerFSP -[hidden]> Switch
124+
deactivate PayerFSP
125+
PayerFSP -[hidden]> Switch
126+
activate PayerFSP
124127
PayerFSP -> PayerFSP: Rate Payer FSP quote\n(depending on fee model)
125128
PayerFSP ->> Switch: **POST /quotes/**\n(Transaction details)
126129
activate Switch

assets/diagrams/sequence/figure48.plantuml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,6 @@ PayerFSP <<- Switch: **PUT /authorizations/**\n<i><TransactionRequestID></i>\n(O
152152
PayerFSP -->> Switch: **HTTP 200** (OK)
153153
deactivate Switch
154154
PayerFSP -> PayerFSP: Validate OTP sent by Payee FSP
155+
PayerFSP -[hidden]> Switch
156+
deactivate PayerFSP
155157
@enduml

assets/diagrams/sequence/figure49.plantuml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,6 @@ deactivate Switch
141141
PayerFSP -> PayerFSP: Resend OTP (optionally\nregenerate) as customer\ndid not receive it
142142
Payer <<- PayerFSP: Use OTP "12345" to accept\ntransaction to Merchant\nof 100 USD,\n0 USD in fees.
143143
PayerFSP -> PayerFSP: Resend GET /authorizations\n(not shown here)
144+
PayerFSP -[hidden]> Switch
145+
deactivate PayerFSP
144146
@enduml

assets/diagrams/sequence/figure50.plantuml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,6 @@ PayerFSP <<- Switch: **PUT /autorizations/**\n<i><TransactionRequestID></i>\n(ot
156156
PayerFSP -->> Switch: **HTTP 200** (OK)
157157
deactivate Switch
158158
PayerFSP -> PayerFSP: Validates OTP sent by\nPayee FSP, OTP OK, perform\ntransfer (not shown here)
159+
PayerFSP -[hidden]> Switch
160+
deactivate PayerFSP
159161
@enduml

0 commit comments

Comments
 (0)