Przeglądaj źródła

update notification synchronizaton diagram

enzo 1 rok temu
rodzic
commit
c16c996bb1
1 zmienionych plików z 22 dodań i 21 usunięć
  1. 22 21
      documentations/notificationSynchronization.plantuml

+ 22 - 21
documentations/notificationSynchronization.plantuml

@@ -1,6 +1,6 @@
 @startuml NotificationSynchronizatoin
 header Notificaton Synchronization Diagram
-title Notification Synchronization
+title Notification Synchronization 
 left to right direction
 skinparam backgroundColor #EEEBDC
 
@@ -12,9 +12,9 @@ package Primary {
     usecase "**ContentDeliveryManagementServer**" as cdms1 <<cdms>> #a4fa91;line:Black;line.dotted:Black
     database MongoDB as mongo1 #aaeefa;line:Black;line.bold;text:Black
     database FISdatabase as fisdb1 #d0b0ff;line:Black;text:Black
-    card "**UCP**" as ucp1 #d0b0ff;line:Black;line.bold;text:Black
-    card FingerPrint as fp1
-    card "**ProjectWorkflow**" as pw1 #91adfa;line:Blue;line.bold;text:Black;
+    card "**UCP**" as ucp1 #d0b0ff;line:Black;line.bold;text:Black 
+    frame "FingerPrint UI" as fp1
+    card "**ProjectWorkflow**" as pw1 <<FisObserver>> #91adfa;line:Blue;line.bold;text:Black;
 }
 
 package Secondary {
@@ -23,28 +23,29 @@ package Secondary {
     database MongoDB as mongo2 #aaeefa;line:Black;line.bold;text:Black
     database FISdatabase as fisdb2 #d0b0ff;line:Black;text:Black
     card "**UCP**" as ucp2 #d0b0ff;line:Black;line.bold;text:Black
-    card FingerPrint as fp2
-    card "**ProjectWorkflow**" as pw2 #91adfa;line:Blue;line.bold;text:Black
-}
-
-ucp2 <==> centralredis #DarkRed;line.bold;text:green
-ucp1 <==> centralredis #DarkRed;line.bold;text:green
+    frame "FingerPrint UI" as fp2
+    card "**ProjectWorkflow**" as pw2 <<FisObserver>> #91adfa;line:Blue;line.bold;text:Black
+} 
 
 ' Primary Side
-fp1 --> pw1 #blue
-ucp1 *.* pw1 : generate \nNotifications
-cdms1 <-- pw1 #green;line.dashed;text:green
-be1 <-- ucp1 #DarkMagenta;line.dotted;text:green
+fp1 ..> pw1 :User entry
+ucp1 <- pw1 : publish \nNotifications
+cdms1 <-- pw1 
+be1 <-- ucp1 
 be1 -> fisdb1
 mongo1 <- cdms1
 
+ucp1 <==> centralredis #DarkRed;line.bold;text:green
+
 ' Secondary Side
-fp2 --> pw2 #blue
-pw2 *.* ucp2 : generate \nNotifications
-cdms2 <-- pw2 #green;line.dashed;text:green
-be2 <-- ucp2 #DarkMagenta;line.dotted;text:green
+fp2 <.. pw2 :User view changes 
+pw2 <- ucp2 : receive subscribed \nNotifications
+cdms2 <-- pw2 
+be2 <-- ucp2  
 fisdb2 <- be2
-cdms2 -> mongo2
-
+cdms2 -> mongo2 
+ 
+centralredis <==> ucp2 #DarkRed;line.bold;text:green 
+  
 @enduml
-
+