From 8815cbe6eb155b52d501f43ce54a0507a33c846d Mon Sep 17 00:00:00 2001 From: Theo Reichert Date: Fri, 10 Nov 2023 23:57:07 +0100 Subject: [PATCH] Add catering design model --- src/main/asciidoc/models/design/catering.puml | 37 +++++++++++++++++++ src/main/asciidoc/models/design/catering.svg | 3 ++ 2 files changed, 40 insertions(+) create mode 100644 src/main/asciidoc/models/design/catering.puml create mode 100644 src/main/asciidoc/models/design/catering.svg diff --git a/src/main/asciidoc/models/design/catering.puml b/src/main/asciidoc/models/design/catering.puml new file mode 100644 index 0000000..9e514a7 --- /dev/null +++ b/src/main/asciidoc/models/design/catering.puml @@ -0,0 +1,37 @@ +@startuml +skinparam linetype ortho +skinparam groupInheritance 2 + +package catering { + class Catering { + - LOGIN_ROUTE : String = "/login" + + main(args : String[]) : void + } + Catering +-- CateringWebConfiguration + Catering +-- WebSecurityConfiguration + + class CateringWebConfiguration { + + addViewController(registry : ViewControllerRegistry) : void + } + class WebSecurityConfiguration { + + configure(http : HttpSecurity) : void + } +} + +package Spring { + class SpringApplication + class ViewControllerRegistry + interface WebMvcConfigurer + class HttpSecurity +} + Catering ..> SpringApplication : <> + CateringWebConfiguration ..> ViewControllerRegistry : <> + CateringWebConfiguration ..|> WebMvcConfigurer + +package Salespoint { + class SalespointSecurityConfiguration {} +} + WebSecurityConfiguration ..> HttpSecurity : <> + WebSecurityConfiguration --|> SalespointSecurityConfiguration + +@enduml \ No newline at end of file diff --git a/src/main/asciidoc/models/design/catering.svg b/src/main/asciidoc/models/design/catering.svg new file mode 100644 index 0000000..531c354 --- /dev/null +++ b/src/main/asciidoc/models/design/catering.svg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef02137bc665ce21606b8b14f7241817def49bfc74994abb1d3b8a5965861986 +size 19542