2021-12-06 20:47:02 +00:00
|
|
|
@startuml
|
|
|
|
|
|
|
|
autonumber
|
|
|
|
|
|
|
|
skinparam sequenceBox {
|
|
|
|
borderColor White
|
|
|
|
}
|
|
|
|
|
|
|
|
participant User
|
|
|
|
|
|
|
|
box "application" #LightBlue
|
|
|
|
|
|
|
|
participant CliWorkplace
|
|
|
|
participant WorkplaceCliCommand
|
|
|
|
participant Application
|
|
|
|
|
|
|
|
end box
|
|
|
|
|
2021-12-15 18:31:41 +00:00
|
|
|
box #White
|
|
|
|
|
|
|
|
participant CliUtils
|
|
|
|
participant "ProvInstance (local, remote...)" as ProvInstance
|
|
|
|
|
|
|
|
end box
|
|
|
|
|
2021-12-06 20:47:02 +00:00
|
|
|
box "domain" #LightGreen
|
|
|
|
|
|
|
|
participant ProvisionWorkplace
|
|
|
|
participant WorkplaceConfig
|
|
|
|
|
|
|
|
end box
|
|
|
|
|
|
|
|
box "infrastructure" #CornSilk
|
|
|
|
|
|
|
|
participant ConfigRepository
|
|
|
|
participant InfrastructureModules
|
|
|
|
|
|
|
|
end box
|
|
|
|
|
|
|
|
|
|
|
|
User -> CliWorkplace ++ : main(args...)
|
|
|
|
|
|
|
|
CliWorkplace -> WorkplaceCliCommand : parseWorkplaceArguments
|
|
|
|
|
2021-12-15 18:31:41 +00:00
|
|
|
CliWorkplace -> WorkplaceCliCommand : isValid ?
|
|
|
|
|
|
|
|
CliWorkplace -> CliUtils : createProvInstance
|
|
|
|
ProvInstance <- CliUtils : create
|
2021-12-06 20:47:02 +00:00
|
|
|
|
|
|
|
CliWorkplace -> ConfigRepository : getConfig
|
|
|
|
WorkplaceConfig <- ConfigRepository : create
|
|
|
|
WorkplaceConfig --> ConfigRepository : config
|
|
|
|
CliWorkplace <-- ConfigRepository : config
|
|
|
|
|
|
|
|
CliWorkplace -> Application : provision
|
2021-12-15 18:31:41 +00:00
|
|
|
Application -> ProvInstance : provisionWorkplace
|
|
|
|
ProvInstance -> ProvisionWorkplace : provisionWorkplace
|
2021-12-06 20:47:02 +00:00
|
|
|
|
|
|
|
ProvisionWorkplace -> InfrastructureModules: Various calls like:
|
2021-12-15 18:31:41 +00:00
|
|
|
ProvisionWorkplace -> InfrastructureModules: install ssh, gpg, git ...
|
2021-12-06 20:47:02 +00:00
|
|
|
ProvisionWorkplace -> InfrastructureModules: installVirtualBoxGuestAdditions
|
|
|
|
ProvisionWorkplace -> InfrastructureModules: configureNoSwappiness, ...
|
|
|
|
|
|
|
|
@enduml
|