From 386480cee6f4408c175bb1e34132428f90af1b2f Mon Sep 17 00:00:00 2001 From: jem Date: Thu, 3 Feb 2022 13:00:01 +0100 Subject: [PATCH] add doc --- ...{CliApplication.puml => CliApplication.md} | 2 ++ doc/boundedContexts.md | 20 ++++++++++++++ doc/ddd.md | 26 +++++++++++++++++++ 3 files changed, 48 insertions(+) rename doc/{CliApplication.puml => CliApplication.md} (98%) create mode 100644 doc/boundedContexts.md create mode 100644 doc/ddd.md diff --git a/doc/CliApplication.puml b/doc/CliApplication.md similarity index 98% rename from doc/CliApplication.puml rename to doc/CliApplication.md index 2fda107..26bcf3e 100644 --- a/doc/CliApplication.puml +++ b/doc/CliApplication.md @@ -1,3 +1,4 @@ +```plantuml @startuml autonumber @@ -59,3 +60,4 @@ ProvisionWorkplace -> Infrastructure_functions: installVirtualBoxGuestAdditions ProvisionWorkplace -> Infrastructure_functions: configureNoSwappiness, ... @enduml +``` \ No newline at end of file diff --git a/doc/boundedContexts.md b/doc/boundedContexts.md new file mode 100644 index 0000000..2978568 --- /dev/null +++ b/doc/boundedContexts.md @@ -0,0 +1,20 @@ +```plantuml +@startuml +package "configuration" { + [TargetCommand] +} + +package "desktop" { + [DesktopCommand] +} + +package "server" { + [ServerCommand] +} + +server ..> configuration +desktop ..> configuration + +using ..> used +@enduml +``` \ No newline at end of file diff --git a/doc/ddd.md b/doc/ddd.md new file mode 100644 index 0000000..4bffb37 --- /dev/null +++ b/doc/ddd.md @@ -0,0 +1,26 @@ +```plantuml +@startuml +'https://plantuml.com/class-diagram + +package application { + class Application +} + +package domain { + class Service + class Domain +} +Application ..> Service +Application ..> Domain + +package infrastructure { + class Repository + class Provs +} +Service ..> Domain +Service ..> Service +Service ..> Repository +Service ..> Provs + +@enduml +``` \ No newline at end of file