* fix version * split indentation rexgexs Split the regexs as a preparation for improvement and enhancement. No explicit enhancement was intended, although the `plantuml-indent-regexp-block-start' covers more blocks now. * enhance and test regexs for groups Changed `plantuml-indent-regexp-group-start' to cover all cases mentioned on sequence diagram page of the plantuml website. Added tests for all elements-with and without label (text following the keyword). * add support and test for box/end box blocks * indentation test for a nested interface block * correction of () at end of file * indentation test for deployment diagram * file “Cask”: added dependency to dash * indentation tests for diagram commons * add indentation tests for component diagrams * regex corrections and added indentation tests for class diagrams correct indentation regexs found by tests for class diagrams * add indentation tests for object diagrams * add indentation tests for state diagrams * enhance indentation class diagram test: abstract class and interface * move indentation tests to diagram test files * mv test/plantuml-indentation-test.el -> test/plantuml-indentation-basics-test.el * add indentation sequence diagram tests and mv basics tests to diagram tests * add indentation for ref-groups * improved indentation for ref-groups * support indentation for activity diagrams - current/old style * indentation support for notes * rm not used regexs * indentation support for plantuml macros * correction: … → etc.
145 lines
2.1 KiB
Text
145 lines
2.1 KiB
Text
/' This is a manual test for you to test different use-cases '/
|
|
|
|
participant API
|
|
participant Instance
|
|
|
|
alt deploy success
|
|
Instance -> API: Deploy successful
|
|
else deploy failure
|
|
Instance -> API: Deploy failed
|
|
else deploy timeout
|
|
Instance -> API: Deploy failed
|
|
end
|
|
|
|
|
|
package "kuaishow-common-proto" {
|
|
component Kwai
|
|
component KwaiGo
|
|
component AcFun
|
|
}
|
|
|
|
package "kwaigo-log-proto" {
|
|
[KwaiGo] ..> [KwaiGo Client->Data] : split
|
|
}
|
|
|
|
package "kwaigo-api-proto" {
|
|
[KwaiGo] ..> [KwaiGo Client->Server] : split
|
|
}
|
|
|
|
cloud "log server\n" {
|
|
[KwaiGo Client->Data] -->[KwaiGo Log Server] : upload
|
|
}
|
|
|
|
cloud "api server\n" {
|
|
[KwaiGo Api Server]
|
|
}
|
|
|
|
[KwaiGo Client->Server] --> [KwaiGo Api Server] : request
|
|
[KwaiGo Api Server] --> [KwaiGo Client->Server] : response
|
|
|
|
database "LogSql" {
|
|
folder "Log" {
|
|
[ReportEvent]
|
|
}
|
|
frame "event" {
|
|
[EventPackage]
|
|
}
|
|
|
|
frame "stat" {
|
|
[StatPackage]
|
|
}
|
|
}
|
|
|
|
[KwaiGo Log Server] --> [ReportEvent] : save
|
|
[ReportEvent] --> [EventPackage]
|
|
[ReportEvent] --> [StatPackage]
|
|
|
|
database "ApiSql" {
|
|
folder "kwaigo" {
|
|
[KwaiGoData]
|
|
}
|
|
frame "user" {
|
|
[UserData]
|
|
}
|
|
|
|
frame "photo" {
|
|
[PhotoData]
|
|
}
|
|
}
|
|
|
|
[KwaiGo Api Server] --> [KwaiGoData] : request
|
|
[KwaiGoData] --> [KwaiGo Api Server] : compute
|
|
|
|
[KwaiGoData] --> [UserData]
|
|
[KwaiGoData] --> [PhotoData]
|
|
|
|
|
|
Nobody -> [APIGateway]
|
|
|
|
package APackage {
|
|
A -> B
|
|
B -> A
|
|
}
|
|
|
|
package "APP Stack" {
|
|
[APIGateway] --> [Lambda]
|
|
}
|
|
|
|
package haha {}
|
|
|
|
package "Streams Stack" {
|
|
database Kinesis
|
|
[Lambda] --> Kinesis
|
|
}
|
|
|
|
package foo {
|
|
package bar {
|
|
foo --> bar
|
|
}
|
|
|
|
package bar {
|
|
foo --> bar
|
|
}
|
|
|
|
}
|
|
|
|
|
|
package "Roles And Policies" {
|
|
[Lambda] --> [IAM Roles]
|
|
[APIGateway] --> [IAM Roles]
|
|
}
|
|
|
|
package "SharedResources" {
|
|
[Lambda] ----> [LambdaCodeBucket]
|
|
|
|
note as N1
|
|
This belongs to a separate set
|
|
of resources we should clean up
|
|
separately.
|
|
end note
|
|
}
|
|
|
|
note right of Lambda
|
|
This thing is end of life
|
|
end note
|
|
|
|
note left of Nobody
|
|
There is no traffic coming
|
|
into the service.
|
|
end note
|
|
|
|
|
|
@startuml
|
|
|
|
participant API
|
|
participant Instance
|
|
|
|
alt deploy success
|
|
Instance -> API: Deploy successful
|
|
else deploy failure
|
|
Instance -> API: Deploy failed
|
|
else deploy timeout
|
|
Instance -> API: Deploy failed
|
|
end
|
|
|
|
@enduml
|