provs/doc/ProvsArchitecture.md

57 lines
1,012 B
Markdown

# Bounded Contexts
```plantuml
@startuml
package "configuration" {
[TargetCommand]
}
package "desktop" {
[DesktopCommand]
}
package "server" {
[ServerCommand]
}
server ..> configuration
desktop ..> configuration
using ..> used
@enduml
```
# DDD in Provs
```plantuml
@startuml
'https://plantuml.com/class-diagram
package application {
class Application
}
package domain {
class Service {
cleanup (): means remove parts (install & configuration) to enable e.g. re-provision in some cases, results in an error otherwise.
provision (): means install & configure.
install (): install packages, files but not configuration files. Fire & forget (re-) installation is posible.
configure (): install and apply configuration.
}
class Domain
}
Application ..> Service
Application ..> Domain
package infrastructure {
class Repository
class Provs
}
Service ..> Domain
Service ..> Service
Service ..> Repository
Service ..> Provs
using ..> used
@enduml
```