generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302 from Arquisoft/develop
fixed query
- Loading branch information
Showing
22 changed files
with
454 additions
and
247 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@startuml | ||
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml | ||
!include <c4/C4_Context.puml> | ||
|
||
title Context Diagram for the Kiwiq System (C4 Level 1) | ||
AddElementTag("Person", $bgColor="#darkgreen", $fontColor="#white") | ||
AddElementTag("Internal system", $bgColor="#darkseagreen", $fontColor="#003300") | ||
AddElementTag("External system", $bgColor="#gray", $fontColor="#white") | ||
'Containers | ||
Person(player, Player,"An authenticated player that wants to play Kiwiq games", $tags="Person") | ||
|
||
Container(kiwiq, "Kiwiq System","", "System that allows the users to play Kiwiq games", $tags="Internal system") | ||
|
||
|
||
System_Ext(wikidata,"WikiData API","Contains the information used for the question generation", $tags="External system") | ||
|
||
'RELATIONS | ||
Rel(player,kiwiq,"Plays games") | ||
Rel(kiwiq,wikidata,"Asks for data for question generation") | ||
@enduml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@startuml | ||
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml | ||
!include <c4/C4_Context.puml> | ||
|
||
title Container Diagram for the Kiwiq System (C4 Level 2) | ||
AddElementTag("Person", $bgColor="#darkgreen", $fontColor="#white") | ||
AddElementTag("Internal system", $bgColor="#darkseagreen", $fontColor="#003300") | ||
AddElementTag("External system", $bgColor="#gray", $fontColor="#white") | ||
AddElementTag("Database", $bgColor="#darkgreen", $fontColor="#white") | ||
'Containers | ||
Person(player, Player's Browser,"Preferred browser (Firefox, Chrome, Opera...)") | ||
|
||
System_Boundary(wiq,"Kiwiq Server"){ | ||
Container(proxy,"Proxy","Nginx","Nginx web server", $tags="Internal system") | ||
Container(web_app, "Kiwiq Client", "React, Typescript", "nginx web server", $tags="Internal system") | ||
Container(backend_api, "Kiwiq REST API","Java SpringBoot 3",".jar file", $tags="Internal system") | ||
Container(question_generator,"Question generator","Java, JPA",".jar file",$tags="Internal system") | ||
ContainerDb(database,"Kiwiq Database","PostgreSQL","PostgreSQL docker container", $tags="Database") | ||
} | ||
System_Ext(wikidata,"WikiData API","REST API", $tags="External system") | ||
|
||
'RELATIONS | ||
Rel(player,proxy,"Uses","HTTPS") | ||
Rel(proxy,web_app,"Serves","HTTPS") | ||
Rel(question_generator,wikidata,"Asks for data","SPARQL,HTTPS") | ||
Rel(web_app,backend_api,"Asks for user/game information","JSON,HTTPS") | ||
Rel(question_generator, database,"Stores questions ","JPA") | ||
Rel(backend_api,database,"Stores game/user information","JPA") | ||
|
||
|
||
@enduml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@startuml | ||
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml | ||
!include <c4/C4_Container.puml> | ||
!include <c4/C4_Component.puml> | ||
title Container Diagram for the Kiwiq System (C4 Level 3) | ||
AddElementTag("Person", $bgColor="#darkgreen", $fontColor="#white") | ||
AddElementTag("Internal system", $bgColor="#darkseagreen", $fontColor="#003300") | ||
AddElementTag("External system", $bgColor="#gray", $fontColor="#white") | ||
AddElementTag("Database", $bgColor="#darkgreen", $fontColor="#white") | ||
AddElementTag("Component", $bgColor="#darkolivegreen", $fontColor="#white") | ||
'Containers | ||
Person(player, Player's Browser,"Preferred browser (Firefox, Chrome, Opera...)") | ||
|
||
System_Boundary(wiq,"Kiwiq Server"){ | ||
Container(proxy,"Proxy","Nginx","Nginx web server", $tags="Internal system") | ||
Container(web_app, "Kiwiq Client", "React, Typescript", "nginx web server", $tags="Internal system") | ||
System_Boundary(backend_api,"Kiwiq REST API"){ | ||
Component(auth,"Authentication module") | ||
Component(games,"Game module") | ||
Component(questions,"Question module") | ||
Component(statistics,"Statistics module") | ||
} | ||
|
||
Container(question_generator,"Question generator","Java, JPA",".jar file",$tags="Internal system") | ||
ContainerDb(database,"Kiwiq Database","PostgreSQL","PostgreSQL docker container", $tags="Database") | ||
} | ||
|
||
System_Ext(wikidata,"WikiData API","REST API", $tags="External system") | ||
|
||
'RELATIONS | ||
Rel(player,proxy,"Uses","HTTPS") | ||
Rel(proxy,web_app,"Serves","HTTPS") | ||
Rel(question_generator,wikidata,"Asks for data","SPARQL,HTTPS") | ||
Rel(question_generator, database,"Stores questions ","JPA") | ||
|
||
Rel(web_app,questions,"Asks for question information","JSON,HTTPS") | ||
Rel(web_app,games,"Plays a game","JSON,HTTPS") | ||
Rel(web_app,auth,"Ask for login and register","JSON,HTTPS") | ||
Rel(web_app,statistics,"Asks for statistics","JSON,HTTPS") | ||
|
||
|
||
Rel(games,database,"Stores game/user information","JPA") | ||
|
||
Rel(games,questions,"Gets questions") | ||
Rel(questions,database,"Stores game/user information","JPA") | ||
Rel(statistics,database,"Stores game/user information","JPA") | ||
Rel(auth,database,"Stores game/user information","JPA") | ||
@enduml |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@startuml | ||
|
||
title WIQ Deployment View | ||
|
||
legend right | ||
|Color| Type | | ||
|<#darkseagreen>| Container | | ||
|<#darkolivegreen>| WIQ Server | | ||
|<#OliveDrab>| External Service | | ||
end legend | ||
|
||
node "Server Hosting WIQ" #darkolivegreen { | ||
node "KIWIQ Proxy" #darkseagreen | ||
node "KIWIQ WebApp Server" #darkseagreen { | ||
component "KIWIQ React Application" | ||
} | ||
node "KIWIQ API" #darkseagreen{ | ||
component "KIWIQ_API.jar" | ||
} | ||
node "PostgreSQL Docker" #darkseagreen{ | ||
database "KIWIQ Database" | ||
} | ||
node "Question generator" #darkseagreen{ | ||
component "Question_Generator.jar" | ||
} | ||
node "Grafana" #darkseagreen | ||
node "Prometheus" #darkseagreen | ||
} | ||
node "User Computer" #OliveDrab { | ||
frame "Web Client" | ||
} | ||
node "WikiData Server" #OliveDrab { | ||
frame "WikiData REST API" | ||
} | ||
"Web Client" ..> "KIWIQ Proxy" : "HTTPS" | ||
"KIWIQ Proxy" ..> "KIWIQ React Application" | ||
"KIWIQ React Application" ..> "KIWIQ_API.jar" : "HTTPS" | ||
"KIWIQ_API.jar" ..> "KIWIQ Database" : "JPA" | ||
"Question_Generator.jar" ..> "WikiData REST API" : "HTTPS, SPARQL" | ||
"Question_Generator.jar" ..> "KIWIQ Database" : "JPA" | ||
"Prometheus" ..> "KIWIQ_API.jar" : "Actuator" | ||
"Grafana" ..> "Prometheus" | ||
@enduml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@startuml | ||
|
||
title KIWIQ API Deployment View | ||
|
||
legend right | ||
|Color| Type | | ||
|<#darkseagreen>| WIQ artifact | | ||
|<#OliveDrab>| Package | | ||
end legend | ||
|
||
node "KIWIQ_API.jar" #darkseagreen { | ||
component "auth" #OliveDrab | ||
component "commons"#OliveDrab | ||
component "game" #OliveDrab | ||
component "questions" #OliveDrab | ||
component "statistics" #OliveDrab | ||
|
||
} | ||
"auth" ..> "commons" | ||
"game" ..> "commons" | ||
"questions" ..> "commons" | ||
"statistics" ..> "commons" | ||
"game" ..> "questions" | ||
"game" ..> "statistics" | ||
@enduml |
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
Oops, something went wrong.