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