From e403ec69be8c7c194402ea04a1e25f9d758bc6bb Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Mon, 27 Jul 2020 20:10:51 -0500 Subject: [PATCH] add missing puml file --- .../docs-for-nb/testing_practice/layers.puml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 engine-docs/src/main/resources/docs-for-nb/testing_practice/layers.puml diff --git a/engine-docs/src/main/resources/docs-for-nb/testing_practice/layers.puml b/engine-docs/src/main/resources/docs-for-nb/testing_practice/layers.puml new file mode 100644 index 000000000..511694f48 --- /dev/null +++ b/engine-docs/src/main/resources/docs-for-nb/testing_practice/layers.puml @@ -0,0 +1,53 @@ +@startuml +header Layers of Messaging +hide footbox + +box "User View" #clear +actor Alice as user +collections "User\nAgent" as agent +collections "Client\nSide\nApp" as capp +end box + +box "WebApp View" #clear +boundary "App Server\nor node, ..." as sapp +boundary "Database\nDriver" as driver +end box + +box "DB View" #clear +database DB as db +boundary "Storage\nService" as store +entity "Storage\nDevice" as device +end box + +user -> agent: user clicks link +activate agent +agent -> capp: event\nhandler +activate capp +capp -> sapp: [http\nrequest] +activate sapp +sapp -> driver: read op +activate driver +driver -> db: read data +activate db +db -> store: read data +activate store +store -> device: read data +activate device + +store <- device: [data] +deactivate device +db <- store: [data] +deactivate store +driver <- db: [data] +deactivate db +sapp <- driver: [data] +deactivate driver +capp <- sapp: web content\n[http] +deactivate sapp +agent <- capp: web content\n[http] +deactivate capp +user <- agent: browser\nrenders page +deactivate agent + + +@enduml \ No newline at end of file