In this changeset, I updated the Watcher documentation to reflect the changes that are introduced by this blueprint. Partially Implements: blueprint get-goal-from-strategy Change-Id: I40be39624097365220bf7d94cbe177bbf5bbe0ed
23 lines
752 B
Plaintext
23 lines
752 B
Plaintext
@startuml
|
|
|
|
actor Administrator
|
|
|
|
Administrator -> "Watcher CLI" : watcher audit-template-create <name> <goal> \
|
|
[--strategy-uuid <strategy>]
|
|
"Watcher CLI" -> "Watcher API" : POST audit_template(parameters)
|
|
|
|
"Watcher API" -> "Watcher Database" : Request if goal exists in database
|
|
"Watcher API" <-- "Watcher Database" : OK
|
|
|
|
"Watcher API" -> "Watcher Database" : Request if strategy exists in database (if provided)
|
|
"Watcher API" <-- "Watcher Database" : OK
|
|
|
|
"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
|
|
|