| 1 | ' |
| 2 | ' Copyright (c) 2022 Amadeus |
| 3 | ' |
| 4 | ' This program and the accompanying materials are made available under the |
| 5 | ' terms of the Apache License, Version 2.0 which is available at |
| 6 | ' https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | ' |
| 8 | ' SPDX-License-Identifier: Apache-2.0 |
| 9 | ' |
| 10 | ' Contributors: |
| 11 | ' Amadeus - Initial Version |
| 12 | ' |
| 13 | |
| 14 | @startuml |
| 15 | |
| 16 | |
| 17 | skinParam NoteBackgroundColor WhiteSmoke |
| 18 | skinParam NoteFontColor Black |
| 19 | skinParam ParticipantBackgroundColor WhiteSmoke |
| 20 | skinParam ActorBackgroundColor WhiteSmoke |
| 21 | skinParam AgentBackgroundColor White |
| 22 | skinParam AgentBorderColor SkyBlue |
| 23 | skinparam shadowing false |
| 24 | skinparam BoxPadding 10 |
| 25 | |
| 26 | !define ConsumerColor f8f2ff |
| 27 | !define ProviderColor d9edff |
| 28 | !define WarningColor Business |
| 29 | !define LeadColor Technology |
| 30 | |
| 31 | autonumber |
| 32 | |
| 33 | box "Consumer ecosystem" #ConsumerColor |
| 34 | participant CBE as "Backend Service" |
| 35 | end box |
| 36 | |
| 37 | box Consumer EDC #ConsumerColor |
| 38 | participant CCP as "Control Plane" #Business |
| 39 | participant CDPS as "Data Plane Selector" #Business |
| 40 | participant CDP as "Data Plane" #Business |
| 41 | end box |
| 42 | |
| 43 | box Provider EDC #ProviderColor |
| 44 | participant PDP as "Data Plane" #Business |
| 45 | participant PDPS as "Data Plane Selector" #Business |
| 46 | participant PCP as "Control Plane" #Business |
| 47 | end box |
| 48 | |
| 49 | box "Provider ecosystem" #ProviderColor |
| 50 | participant PBE as "Backend Service" |
| 51 | end box |
| 52 | |
| 53 | title |
| 54 | **Transfer Data Plane - Provider Push** |
| 55 | end title |
| 56 | autonumber 1 |
| 57 | |
| 58 | activate CCP |
| 59 | CCP ->> PCP : send data request with any destination type different from HttpProxy |
| 60 | activate PCP |
| 61 | PCP ->> PCP : create DataFlowRequest |
| 62 | PCP ->> PDPS : resolve data plane instance |
| 63 | activate PDPS |
| 64 | PDPS -->> PCP : data plane instance |
| 65 | deactivate PDPS |
| 66 | PCP ->> PDP : send DataFlowRequest |
| 67 | activate PDP |
| 68 | PDP ->> PDP : validate DataFlowRequest |
| 69 | PDP -->> PCP : acknowledge that request is valid |
| 70 | deactivate PCP |
| 71 | PDP ->> PDP : create DataSink/DataSource |
| 72 | PDP ->> PBE : fetch data |
| 73 | activate PBE |
| 74 | PBE -->> PDP : data |
| 75 | deactivate PBE |
| 76 | PDP ->> CBE : transfer data |
| 77 | activate CBE |
| 78 | |
| 79 | @enduml |