Added some data model diagrams, sequence diagrams and state machine diagrams. The state machine diagrams and sequence diagrams are built with PlantUML whereas data model diagrams are built with Dia. Also added some textual description with the sequence diagrams. Change-Id: Iffbb47b0f2d12ce63eeaa1531a1bd1a790d69e79 Closes-Bug: #1531802
17 lines
542 B
Plaintext
17 lines
542 B
Plaintext
@startuml
|
|
|
|
actor Administrator
|
|
|
|
Administrator -> "Watcher CLI" : watcher audit-template-create <name> <goal>
|
|
"Watcher CLI" -> "Watcher API" : POST audit_template(parameters)
|
|
|
|
"Watcher API" -> "Watcher API" : make sure goal exist in configuration
|
|
"Watcher API" -> "Watcher Database" : create new audit_template in database
|
|
|
|
"Watcher API" <-- "Watcher Database" : new audit template uuid
|
|
"Watcher CLI" <-- "Watcher API" : return new audit template URL in HTTP Location Header
|
|
Administrator <-- "Watcher CLI" : new audit template uuid
|
|
|
|
@enduml
|
|
|