provs/doc/CliApplication.puml

62 lines
1.3 KiB
Text
Raw Permalink Normal View History

@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
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
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
end box
User -> CliWorkplace ++ : main(args...)
2021-12-27 20:17:19 +00:00
CliWorkplace -> CliWorkplaceParser : parseWorkplaceArguments
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
CliWorkplace -> Application : provision ( config )
Application -> ProvInstance : provisionWorkplace ( type, ssh, ...)
2021-12-15 18:31:41 +00:00
ProvInstance -> ProvisionWorkplace : provisionWorkplace
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, ...
@enduml