provs/doc/ProvsArchitecture.md

58 lines
1,012 B
Markdown
Raw Normal View History

2022-02-03 15:59:07 +00:00
# Bounded Contexts
```plantuml
@startuml
package "configuration" {
[TargetCommand]
}
package "desktop" {
[DesktopCommand]
}
package "server" {
[ServerCommand]
}
server ..> configuration
desktop ..> configuration
using ..> used
@enduml
```
# DDD in Provs
2022-02-03 12:00:01 +00:00
```plantuml
@startuml
'https://plantuml.com/class-diagram
package application {
class Application
}
package domain {
2022-02-11 09:16:49 +00:00
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.
}
2022-02-03 12:00:01 +00:00
class Domain
}
Application ..> Service
Application ..> Domain
package infrastructure {
class Repository
class Provs
}
Service ..> Domain
Service ..> Service
Service ..> Repository
Service ..> Provs
2022-02-03 15:59:07 +00:00
using ..> used
2022-02-03 12:00:01 +00:00
@enduml
2022-02-03 20:11:01 +00:00
```