@startuml
!include ..\..\..\..\..\..\.c4s\C4_Container.puml

AddElementTag("c4interflow:lifecycle:new", $bgColor=green, $fontColor=#ffffff, $borderColor=green, $shadowing="False")
AddElementTag("c4interflow:lifecycle:changed", $bgColor=orange, $fontColor=#ffffff, $borderColor=orange, $shadowing="False")
AddElementTag("c4interflow:lifecycle:removed", $bgColor=red, $fontColor=#ffffff, $borderColor=red, $shadowing="False")

AddRelTag("c4interflow:lifecycle:new", $textColor=green, $lineColor=green)
AddRelTag("c4interflow:lifecycle:changed", $textColor=orange, $lineColor=orange)
AddRelTag("c4interflow:lifecycle:removed", $textColor=red, $lineColor=red)

SHOW_PERSON_PORTRAIT()
LAYOUT_TOP_DOWN()

skinparam linetype polyline

title Fraud Service - Api - Update Order Fraud Check Result - C4 - Container level


System_Boundary(ECommercePlatform.SoftwareSystems.FraudService, "Fraud Service") {
    Container(ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, "Api", "", "")
    Container(ECommercePlatform.SoftwareSystems.FraudService.Containers.Database, "Database", "", "")
    Container(ECommercePlatform.SoftwareSystems.FraudService.Containers.Messaging, "Messaging", "", "")
}

Rel(ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, ECommercePlatform.SoftwareSystems.FraudService.Containers.Database, "Update Fraud Check Result")
Rel(ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, ECommercePlatform.SoftwareSystems.FraudService.Containers.Messaging, "Send Fraud Check Result Event")


SHOW_LEGEND()
@enduml
