mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add client-server-diagram and top-level-architecture
This commit is contained in:
parent
71063c2478
commit
cace8cda4a
29
src/main/asciidoc/models/design/clientServer.puml
Normal file
29
src/main/asciidoc/models/design/clientServer.puml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
@startuml
|
||||||
|
|
||||||
|
skinparam linetype ortho
|
||||||
|
|
||||||
|
state Client {
|
||||||
|
state HTML
|
||||||
|
state CSS
|
||||||
|
}
|
||||||
|
|
||||||
|
state Server {
|
||||||
|
state Thymeleaf
|
||||||
|
state H2_Database
|
||||||
|
state ApplicationLogic {
|
||||||
|
state Controller : - CatalogController
|
||||||
|
state Controller : - CustomerController
|
||||||
|
state Controller : - InventoryController
|
||||||
|
state Controller : - OrderController
|
||||||
|
|
||||||
|
state Catalog
|
||||||
|
state Order
|
||||||
|
state Customer
|
||||||
|
state Inventory
|
||||||
|
}
|
||||||
|
Controller --> Thymeleaf
|
||||||
|
Thymeleaf --> HTML
|
||||||
|
Thymeleaf --> CSS
|
||||||
|
}
|
||||||
|
|
||||||
|
@enduml
|
BIN
src/main/asciidoc/models/design/clientServer.svg
(Stored with Git LFS)
Normal file
BIN
src/main/asciidoc/models/design/clientServer.svg
(Stored with Git LFS)
Normal file
Binary file not shown.
53
src/main/asciidoc/models/design/topLevelArchitecture.puml
Normal file
53
src/main/asciidoc/models/design/topLevelArchitecture.puml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
@startuml
|
||||||
|
|
||||||
|
'skinparam linetype ortho
|
||||||
|
skinparam linetype polyline
|
||||||
|
|
||||||
|
:Unauthentifizierter Nutzer\n[Person]\n: as UN
|
||||||
|
:Kunde\n[Person]: as Kunde
|
||||||
|
:Boss\n[Person]: as Boss
|
||||||
|
|
||||||
|
package Web_Application\n[Container] {
|
||||||
|
usecase UC1 as "**Cateringservice**
|
||||||
|
[Component: Spring Service]
|
||||||
|
Start-up und Konfiguration für den Cateringservice"
|
||||||
|
|
||||||
|
usecase UC2 as "**Katalog**
|
||||||
|
[Component: Spring Service, Controller und JPA Entity]
|
||||||
|
Katalogmanagement für den Cateringservice"
|
||||||
|
|
||||||
|
usecase UC3 as "**Bestellung**
|
||||||
|
[Component: Spring Controller]
|
||||||
|
Platzierung von Bestellungen"
|
||||||
|
|
||||||
|
usecase UC4 as "**Inventar**
|
||||||
|
[Component: Spring Servcie, Controller und JPA Entity]
|
||||||
|
Inventarmanagement für den Cateringservice"
|
||||||
|
|
||||||
|
usecase UC5 as "**Kunde**
|
||||||
|
[Component: Spring Servcie, Controller und JPA Entity]
|
||||||
|
Kundenmanagement für den Cateringservice"
|
||||||
|
}
|
||||||
|
|
||||||
|
database DB as "**Database**
|
||||||
|
[Container: H2]
|
||||||
|
Datenbank für den Cateringservice"
|
||||||
|
|
||||||
|
UN ----> UC1 : "**Login**\n[HTTPS]"
|
||||||
|
UN ----> UC5 : "**Registrierung**\n[HTTPS]"
|
||||||
|
UN ----> UC2 : "**Angebote durchstöbern**\n[HTTPS]"
|
||||||
|
|
||||||
|
Kunde ----> UC2 : "**Angebote durchstöbern**\n[HTTPS]"
|
||||||
|
Kunde ----> UC3 : "**Event buchen**\n[HTTPS]"
|
||||||
|
Kunde ---- UC5 : "**Konto löschen, Daten einsehen**\n[HTTPS]"
|
||||||
|
|
||||||
|
Boss ----> UC3 : "**Bestellungen nachschlagen**\n[HTTPS]"
|
||||||
|
Boss ----> UC4 : "**Inventar/Mitarbeiter verwalten**\n[HTTPS]"
|
||||||
|
Boss ----> UC2 : "**Angebot verändern**\n[HTTPS]"
|
||||||
|
|
||||||
|
UC2 ----> DB : "**Katalogdaten lesen und schreiben**\n[JPA]"
|
||||||
|
UC3 ----> DB : "**Bestelldaten lesen und schreiben**\n[JPA]"
|
||||||
|
UC4 ----> DB : "**Innventardaten lesen und schreiben**\n[JPA]"
|
||||||
|
UC5 ----> DB : "**Kundendaten lesen und schreiben**\n[JPA]"
|
||||||
|
|
||||||
|
@enduml
|
BIN
src/main/asciidoc/models/design/topLevelArchitecture.svg
(Stored with Git LFS)
Normal file
BIN
src/main/asciidoc/models/design/topLevelArchitecture.svg
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in a new issue