Skip to content

Commit

Permalink
Split diagram for better visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelayori committed Feb 26, 2024
1 parent be6c7ca commit db4e31d
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions docs/src/08_concepts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ class Role {
+ setName(name: String): void
}
class WiqEs04bApplication {
+ main(args: String[]): void
}
interface PlayerService {
+ addNewPlayer(playerDto: PlayerDto): Player
+ getUsers(): List<Player>
Expand Down Expand Up @@ -155,6 +151,28 @@ class RoleDto {
+ name: String
}
Question "1" *- "1" Category
GameSession "*" *-- "1" Player
Role "*" - "*" Player
PlayerService <|.. PlayerServiceImpl
RoleService <|.. RoleServiceImpl
PlayerService ..> Player
RoleService ..> Role
PlayerService ..> PlayerDto
PlayerServiceImpl ..> PlayerRepository
RoleServiceImpl .> RoleRepository
RoleService ..> RoleDto
PlayerRepository --|> CrudRepository
RoleRepository -|> CrudRepository
@enduml
----

[plantuml, domain-model-2, svg]
----
@startuml
class WiqEs04bApplication {
+ main(args: String[]): void
}
class CustomErrorController {
+ error(model: Model, webRequest: HttpServletRequest): String
}
Expand All @@ -181,23 +199,9 @@ class CustomAuthenticationFailureHandler {
+ onAuthenticationFailure(request: HttpServletRequest, response: HttpServletResponse, exception: AuthenticationException): void
}
Question "1" *- "1" Category
GameSession "*" *-- "1" Player
Role "*" - "*" Player
PlayerService <|.. PlayerServiceImpl
RoleService <|.. RoleServiceImpl
PlayerService ..> Player
RoleService ..> Role
PlayerService ..> PlayerDto
PlayerServiceImpl ..> PlayerRepository
RoleServiceImpl .> RoleRepository
RoleService ..> RoleDto
PlayerRepository --|> CrudRepository
RoleRepository -|> CrudRepository
@enduml
----


=== Hexagonal Architecture

Our application is structured using hexagonal architecture principles, which prioritize the separation of core logic from peripheral concerns like user interface and external API interactions.
Expand Down

0 comments on commit db4e31d

Please sign in to comment.