You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
633 B
38 lines
633 B
@startuml
|
|
|
|
actor user
|
|
participant news_aggregator_back
|
|
database db
|
|
participant source_1
|
|
participant source_2
|
|
|
|
activate user
|
|
|
|
user -> news_aggregator_back ++ : /general
|
|
news_aggregator_back -> db ++ : GET
|
|
return response
|
|
|
|
group db records is outdated
|
|
news_aggregator_back -> source_1 ++ : GET
|
|
return response
|
|
news_aggregator_back -> db ++ : POST
|
|
return response
|
|
|
|
news_aggregator_back -> source_2 ++ : GET
|
|
return response
|
|
news_aggregator_back -> db ++ : POST
|
|
return response
|
|
end
|
|
|
|
return response
|
|
|
|
@enduml
|
|
|
|
'request
|
|
'
|
|
'for sources as source
|
|
' check db
|
|
' if !updated
|
|
' update source
|
|
'
|
|
'show
|