External Module¶
Calling External System¶
Rest, Soap, gRpc, GraphQL, IA strategy, etc.
First, You must create or have an output port in the application service layer. So, You create an adapter for implement these ports.
flowchart LR
subgraph application service
output_port
end
subgraph external module
secondary_adapter
end
output_port --> secondary_adapter
Part I.
- DTO to client specific.
- Mappers
Part II.
- Implementing output ports(Publishers/Producers)
- Secondary Adapter