workspace "DigiTDevOps — Legend (with Software System internal & external)" "Legend with internal and external systems" { !identifiers hierarchical model { actor = person "Person" "" partner = person "Person (DT ecosystem partner)" "" "Stakeholder" // Pievienojam dummy relācijas, lai Structurizr neizfiltrētu personas actor -> partner " " partner -> actor " " // Software Systems ss_int = softwareSystem "Software System" "" ss_ext = softwareSystem "Software System (External)" "" "External" legendHost = softwareSystem "Legend Host System" "" { // Containers c_plain = container "Container" "" "" "" c_api = container "Container (API)" "" "" "API" c_db_ps = container "Container (Database)" "" "" "Database,PlatformService" c_mb_ps = container "Container (Message Broker)" "" "" "MessageBroker,PlatformService" c_ps = container "Container (Platform Service)" "" "" "PlatformService" c_spa = container "Container (SPA)" "" "" "SPA" // Component legendContainer = container "Component Host (for legend)" "" "" "" { comp_legend = component "Component" "" "" "Component" } } legendHost -> ss_int legendHost -> ss_ext } views { container legendHost "Legend_View" { title "Legend" include actor include partner include ss_int include ss_ext include legendHost.c_plain include legendHost.c_api include legendHost.c_db_ps include legendHost.c_mb_ps include legendHost.c_ps include legendHost.c_spa autoLayout lr } component legendHost.legendContainer "Legend_Component_View" { title "Legend — Component" include legendHost.legendContainer.comp_legend autoLayout lr } styles { element Element { color #ffffff } relationship Relationship { color #000000 } element Person { background #1D8A8A shape person } element Stakeholder { background #B8860B color #FFFFFF opacity 70 shape person } element "Software System" { background #2E633D } element External { background #7D4C9A } element Container { background #3859A8 } element Component { background #E67E22 shape Component } element Database { shape cylinder background #6E3C1F } element MessageBroker { shape Pipe background #ba381e } element PlatformService { background #ba381e } element API { background #5B8994 } element SPA { background #517B2E shape WebBrowser } element Storage { shape Folder } } } }