Created
March 9, 2023 13:59
-
-
Save marcellodesales/3eee0af42de6c08b9652470ad4230d1e to your computer and use it in GitHub Desktop.
PUML for minitwit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
skin rose | |
title Minitwit - Components | |
package viasat.platform.cloud <<Frame>> { | |
class ConfigService | |
class HostService | |
ConfigService --> HostService | |
} | |
package flask <<Frame>> { | |
class Blueprint | |
class Flask | |
} | |
package viasat.platform.core <<Frame>> { | |
class HttpResponseDecorator | |
object auth << FlaskAuth >> | |
} | |
package viasat.platform.observability <<Frame>> { | |
annotation HealthcheckRoutes << flask.Blueprint >> | |
annotation AdminRoutes << flask.Blueprint >> | |
flask.Blueprint <|-down- HealthcheckRoutes: Is a | |
flask.Blueprint <|-down- AdminRoutes: Is a | |
AdminRoutes --> viasat.platform.cloud.HostService | |
HealthcheckRoutes --> viasat.platform.cloud.HostService | |
AdminRoutes --> viasat.platform.core.auth | |
} | |
package minitwit <<Folder>> { | |
object app | |
app -down-|> flask.Flask: Is a | |
app "1" *-up- viasat.platform.observability.AdminRoutes | |
app "1" *-up- viasat.platform.observability.HealthcheckRoutes | |
app --> viasat.platform.core.HttpResponseDecorator | |
app --> viasat.platform.cloud.ConfigService | |
app --> viasat.platform.cloud.HostService | |
} | |
package Database <<Database>> { | |
class db <<sqlalchemy>> | |
minitwit.app "1" *-up- db | |
} | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment