Skip to content

Commit

Permalink
doc: update fxquotes seq. diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
oderayi committed Dec 17, 2024
1 parent feda83e commit 25e3869
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
44 changes: 0 additions & 44 deletions diagrams/fxquotes.puml
Original file line number Diff line number Diff line change
Expand Up @@ -85,49 +85,10 @@ note right of PayerCC
"acceptParty": true
}
end note
D1->D1:Hmmm. I can only send in $payerCurrency.\nI need to get some currency conversion
!else
PayerCC->PayerCC:Hmmm. I can only send in $payerCurrency.\nI need to get some currency conversion
PayerCC->>D1:What FXPs do you know about?\n**GET /services/FXP**
!endif

D1->>Services:What FXPs do you know about?\n**GET /services/FXP**
activate Services
!if ($simplified != true)
Services-->>D1:202 I'll get back to you
!endif
deactivate D1
Services->ALSOracle:What FXPs do you know about?
activate ALSOracle
ALSOracle-->Services:FDH FX
deactivate ALSOracle
Services->>D1:Here are the available FXPs:FDH FX
note left of Services
PUT /services/FXP
{
"providers": [
"$fxpID"
]
}
end note
activate D1
!if ($simplified != true)
D1-->>Services:200 Gotcha
!endif

!if ($advancedCoreConnectorFlow != true)
' TODO: We can pause the execution here if required to allow the core connector to select the FXP
D1->D1:I'll ask FDH FX to perform my conversion
!else
D1->>PayerCC:Here are the available FXPs
note right of PayerCC
{
"providers": [
"$fxpID"
]
}
end note

PayerCC->PayerCC:I'll ask FDH FX to perform my conversion
PayerCC->D1: I want to get a quote from this FXP\n**POST /fxQuotes**
!if ($simplified != true)
Expand All @@ -154,11 +115,6 @@ PayerCC->D1: I want to get a quote from this FXP\n**POST /fxQuotes**
!endif
!endif


!endif



deactivate QS


Expand Down
2 changes: 1 addition & 1 deletion diagrams/fxquotes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25e3869

Please sign in to comment.