Skip to content

Commit

Permalink
Add component diagram with multiple interface versions #21
Browse files Browse the repository at this point in the history
  • Loading branch information
pintergreg committed Oct 9, 2024
1 parent 19b3b93 commit 962e4a0
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions lectures/figures/user_statistics/interface_versions.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@startuml
skin rose
package client {
[UI]
}
package oldclient{
[UI] as oui
}
package "user statistics" {
[data collector]
[data aggregator]
[rest adapter]
}

database "database" {

}

interface "PostgreSQL adapter\n(Psycopg 3)" as da

interface "HTTP\n(REST) v1" as rest1 #Red
interface "HTTP\n(REST) v2" as rest2 #Yellow
interface "HTTP\n(REST) v3" as rest3 #GreenYellow


[rest adapter] -down- rest1
[rest adapter] -down- rest2
[rest adapter] -down- rest3

[data collector] -down- da
da -down- [database]

[UI] -up- rest3
oui -up- rest2
[rest adapter] <- [data aggregator]

[data aggregator] <- [data collector]
@enduml
1 change: 1 addition & 0 deletions lectures/figures/user_statistics/interface_versions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 962e4a0

Please sign in to comment.