Created
May 30, 2017 10:34
-
-
Save simonbrowndotje/4484933838805d4917d708dacfe40d84 to your computer and use it in GitHub Desktop.
Spring PetClinic - PlantUML diagram definitions
This file contains hidden or 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 | |
title Spring PetClinic - System Context | |
actor ClinicEmployee | |
[Spring PetClinic] <<Software System>> as SpringPetClinic | |
ClinicEmployee ..> SpringPetClinic : Uses | |
@enduml | |
@startuml | |
title Spring PetClinic - Containers | |
actor ClinicEmployee | |
package SpringPetClinic { | |
[Relational Database] <<Container>> as RelationalDatabase | |
[Web Application] <<Container>> as WebApplication | |
} | |
ClinicEmployee ..> WebApplication : Uses <<HTTP>> | |
WebApplication ..> RelationalDatabase : Reads from and writes to <<JDBC, port 9001>> | |
@enduml | |
@startuml | |
title Spring PetClinic - Web Application - Components | |
actor ClinicEmployee | |
[Relational Database] <<Container>> as RelationalDatabase | |
package WebApplication { | |
[ClinicService] <<Spring Service>> as ClinicService | |
[CrashController] <<Spring MVC Controller>> as CrashController | |
[OwnerController] <<Spring MVC Controller>> as OwnerController | |
[OwnerRepository] <<Spring Repository>> as OwnerRepository | |
[PetController] <<Spring MVC Controller>> as PetController | |
[PetRepository] <<Spring Repository>> as PetRepository | |
[VetController] <<Spring MVC Controller>> as VetController | |
[VetRepository] <<Spring Repository>> as VetRepository | |
[VisitController] <<Spring MVC Controller>> as VisitController | |
[VisitRepository] <<Spring Repository>> as VisitRepository | |
} | |
ClinicEmployee ..> CrashController : Uses <<HTTP>> | |
ClinicEmployee ..> OwnerController : Uses <<HTTP>> | |
ClinicEmployee ..> PetController : Uses <<HTTP>> | |
ClinicEmployee ..> VetController : Uses <<HTTP>> | |
ClinicEmployee ..> VisitController : Uses <<HTTP>> | |
ClinicService ..> OwnerRepository | |
ClinicService ..> PetRepository | |
ClinicService ..> VetRepository | |
ClinicService ..> VisitRepository | |
OwnerController ..> ClinicService | |
OwnerRepository ..> RelationalDatabase : Reads from and writes to <<JDBC>> | |
PetController ..> ClinicService | |
PetRepository ..> OwnerRepository | |
PetRepository ..> RelationalDatabase : Reads from and writes to <<JDBC>> | |
PetRepository ..> VisitRepository | |
VetController ..> ClinicService | |
VetRepository ..> RelationalDatabase : Reads from and writes to <<JDBC>> | |
VisitController ..> ClinicService | |
VisitRepository ..> RelationalDatabase : Reads from and writes to <<JDBC>> | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment