Arch-Workshop
This commit is contained in:
parent
0378e0cf4a
commit
fc90a8332c
2 changed files with 74 additions and 0 deletions
35
doc/ProvSequence.puml
Normal file
35
doc/ProvSequence.puml
Normal file
|
@ -0,0 +1,35 @@
|
|||
@startuml
|
||||
autonumber
|
||||
|
||||
Application -> Prov: create
|
||||
|
||||
activate Prov
|
||||
Application -> DesktopService.kt: provisionDesktop(prov, ...)
|
||||
DesktopService.kt -> Install.kt: aptInstall(prov, lambda=cmd "apt install", ..)
|
||||
Install.kt -> Prov: taskWithResult
|
||||
|
||||
activate Prov
|
||||
Prov -> Prov: evaluate
|
||||
|
||||
activate Prov
|
||||
Prov -> Prov: initProgress (bei level 0)
|
||||
Prov -> Prov: progress
|
||||
|
||||
activate Prov
|
||||
Prov -> Prov: lambda
|
||||
|
||||
activate Prov
|
||||
Prov -> Processor: exec
|
||||
deactivate Prov
|
||||
|
||||
Prov <-- Prov: ProvResult
|
||||
deactivate Prov
|
||||
|
||||
Prov -> Prov: endProgress (bei level 0)
|
||||
Prov -> Prov: printResults (bei level 0)
|
||||
|
||||
deactivate Prov
|
||||
deactivate Prov
|
||||
Install.kt <-- Prov: ProvResult
|
||||
|
||||
@enduml
|
39
doc/dddWorkshop.puml
Normal file
39
doc/dddWorkshop.puml
Normal file
|
@ -0,0 +1,39 @@
|
|||
@startuml
|
||||
|
||||
package application {
|
||||
class desktopApplication
|
||||
|
||||
}
|
||||
|
||||
package ui {
|
||||
class ProgressPrinter {
|
||||
print(Progress)
|
||||
}
|
||||
class FinalResultPrinter {
|
||||
print(ResultLine)
|
||||
}
|
||||
}
|
||||
application ..> ui
|
||||
ui ..> domain
|
||||
|
||||
package domain {
|
||||
class model
|
||||
class ResultLine {
|
||||
provResult
|
||||
level
|
||||
}
|
||||
class ProvResult
|
||||
interface Repository
|
||||
}
|
||||
application ..> domain
|
||||
|
||||
package infrastructure {
|
||||
class RepositoryImpl
|
||||
class Prov {
|
||||
registerProgressObserver
|
||||
}
|
||||
}
|
||||
Repository ..> infrastructure
|
||||
|
||||
using ..> used
|
||||
@enduml
|
Loading…
Reference in a new issue