mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-3176: Initial copy of community pages from architecture map and collapsed index page
This commit is contained in:
BIN
docs/messaging/queue/resource/sequence/jms-amqp-client.png
Normal file
BIN
docs/messaging/queue/resource/sequence/jms-amqp-client.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
52
docs/messaging/queue/resource/sequence/jms-amqp-client.puml
Normal file
52
docs/messaging/queue/resource/sequence/jms-amqp-client.puml
Normal file
@@ -0,0 +1,52 @@
|
||||
@startuml
|
||||
|
||||
Title: Mix of AMQP and JMS Messaging Clients
|
||||
|
||||
actor "User\n" as U
|
||||
participant "Python App\n(Apache Qpid App)" as PA
|
||||
participant "Simple File Share" as SFS
|
||||
participant "API Gateway" as AG
|
||||
participant "Repository Service" as RS
|
||||
participant "File Topic" as FT
|
||||
database "Content Repository" as CR
|
||||
|
||||
autonumber
|
||||
PA->FT: Subscribe to Topic
|
||||
U->SFS: Uploads a File
|
||||
activate SFS
|
||||
SFS->AG: HTTP POST\nFile
|
||||
activate AG
|
||||
AG->RS: HTTP POST\nStore file
|
||||
activate RS
|
||||
RS->CR: Store file
|
||||
activate CR
|
||||
CR->RS: File stored
|
||||
deactivate CR
|
||||
RS->FT: Write message (JMS)
|
||||
activate FT
|
||||
note right of FT
|
||||
alf-file-upload-message
|
||||
end note
|
||||
FT->RS: Message written
|
||||
deactivate FT
|
||||
RS->AG: 200 Content uploaded
|
||||
deactivate RS
|
||||
AG->SFS: 200 Content created
|
||||
deactivate AG
|
||||
SFS->U: File uploaded
|
||||
deactivate SFS
|
||||
|
||||
group Message Processed\nBy Python App
|
||||
autonumber 8
|
||||
PA->FT: Read Message (AMQP)
|
||||
note right of FT
|
||||
alf-file-upload-message
|
||||
end note
|
||||
activate FT
|
||||
FT->PA: Message content
|
||||
deactivate FT
|
||||
PA->PA: Process message
|
||||
PA->FT: wait on next message (AMQP)
|
||||
end
|
||||
|
||||
@enduml
|
BIN
docs/messaging/queue/resource/sequence/model-created-flow.png
Normal file
BIN
docs/messaging/queue/resource/sequence/model-created-flow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
@@ -0,0 +1,77 @@
|
||||
@startuml
|
||||
|
||||
Title: Flow for Model Creation Message
|
||||
|
||||
actor "User\n" as U
|
||||
participant "Model Manager App" as MMA
|
||||
participant "API Gateway" as AG
|
||||
participant "Search Service" as SS
|
||||
participant "Model Service" as MS
|
||||
participant "Repository Service" as RS
|
||||
participant "Model Topic" as MT
|
||||
database "Solr Index" as SI
|
||||
database "Content Repository" as CR
|
||||
database "Model Database" as MD
|
||||
|
||||
autonumber
|
||||
U->MMA: Creates a New Content Model
|
||||
activate MMA
|
||||
MMA->AG: HTTP POST\nStore model
|
||||
activate AG
|
||||
AG->MS: HTTP POST\nStore model
|
||||
activate MS
|
||||
MS->MD: Store model
|
||||
activate MD
|
||||
note right of MD
|
||||
NoSQL Database
|
||||
end note
|
||||
MD->MS: Model stored
|
||||
deactivate MD
|
||||
MS->MT: Write message
|
||||
activate MT
|
||||
note right of MT
|
||||
alf-model-created-message
|
||||
end note
|
||||
MT->MS: Message written
|
||||
deactivate MT
|
||||
MS->AG: 201 Content created
|
||||
deactivate MS
|
||||
AG->MMA: 201 Content created
|
||||
deactivate AG
|
||||
MMA->U: Model created
|
||||
deactivate MMA
|
||||
|
||||
group Message Processed\nBy Repository Service
|
||||
autonumber 7
|
||||
RS->MT: Read message
|
||||
activate MT
|
||||
note right of MT
|
||||
alf-model-created-message
|
||||
end note
|
||||
MT->RS: Message content
|
||||
deactivate MT
|
||||
RS->RS: Process model
|
||||
RS->CR: Store model
|
||||
activate CR
|
||||
CR->RS: Model stored
|
||||
deactivate CR
|
||||
end
|
||||
|
||||
group Message Processed\nBy Search Service
|
||||
autonumber 7
|
||||
SS->MT: Read message
|
||||
activate MT
|
||||
note right of MT
|
||||
alf-model-created-message
|
||||
end note
|
||||
MT->SS: Message content
|
||||
deactivate MT
|
||||
SS->SS: Process model
|
||||
SS->SI: Store model
|
||||
activate SI
|
||||
SI->SS: Model stored
|
||||
deactivate SI
|
||||
end
|
||||
|
||||
|
||||
@enduml
|
Reference in New Issue
Block a user