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 #65 from Arquisoft/documentation
Reviewed Deliverable I Documentation
- Loading branch information
Showing
26 changed files
with
169 additions
and
67 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
flowchart TD | ||
el1[User] -.->|Interacts with| sis1(WIQ Webapp) | ||
subgraph WIQ | ||
sis1 --> |Authenticate| sis2(Gateway Service) | ||
sis1 --> |Create user| sis2 | ||
sis1 --> |Get questions| sis5(Question Generation Service) | ||
flowchart LR | ||
el1[User] -.-> sis1(WIQ) | ||
subgraph System | ||
sis1 | ||
end | ||
sis5 -.-> D[Wikidata] | ||
sis1 -.-> el2[Wikidata] |
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,8 @@ | ||
flowchart TD | ||
subgraph Whitebox Wikidata Infinite Quest | ||
sis1(Web App) -.->|Get questions| sis2(Question Generation Service) | ||
sis1 -.->|Authenticate| sis3(Users Management) | ||
sis1 -.->|Create user| sis3 | ||
end | ||
el1(User) -.->|Interacts with| sis1 | ||
sis2 -.-> sis4(Wikidata) |
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,8 @@ | ||
flowchart TD | ||
subgraph Whitebox Users Management | ||
sis1(Gateway Service) -.->|Log in validation| sis2(Authentication Service) | ||
sis1 -.->|Sing up user| sis3(User Service) | ||
sis3 -.-> db1[(MongoDB)] | ||
sis2 -.-> db1 | ||
end | ||
sis4(Web App) -.-> sis1 |
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,5 @@ | ||
flowchart TD | ||
subgraph Scope And Context | ||
el1(User) -.->|Interacts with| sis1(Wikidata Infinite Quest) | ||
sis1 -.-> sis2(Wikidata) | ||
end |
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,13 @@ | ||
sequenceDiagram | ||
User ->>+ App: click login link | ||
App -->>- User: show login view | ||
User ->>+ App: click login button | ||
App ->> Gateway Service: loginUser() | ||
Gateway Service ->> User Service: post('/login') | ||
|
||
User Service ->> Database: validateRequiredFields() | ||
Database -->> User Service: | ||
|
||
User Service -->> Gateway Service: | ||
Gateway Service -->> App: | ||
App -->>- User: |
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,13 @@ | ||
sequenceDiagram | ||
User ->>+ App: click register link | ||
App -->>- User: show register view | ||
User ->>+ App: click add user button | ||
App ->> Gateway Service: addUser() | ||
Gateway Service ->> Auth Service: post('/addUser') | ||
|
||
Auth Service ->> Database: validateRequiredFields() | ||
Database -->> Auth Service: | ||
|
||
Auth Service -->> Gateway Service: | ||
Gateway Service -->> App: | ||
App -->>- User: |
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,72 @@ | ||
''' | ||
@startuml | ||
|
||
|
||
title Deployment Diagram | ||
|
||
!theme vibrant | ||
|
||
left to right direction | ||
node AzureServer{ | ||
|
||
|
||
node DockerContainer1 { | ||
component MongoDB | ||
} | ||
|
||
node DockerContainer2 { | ||
component AuthService | ||
} | ||
|
||
|
||
node DockerContainer3{ | ||
component UserService | ||
} | ||
|
||
node DockerContainer7{ | ||
component GatewayService | ||
} | ||
|
||
node DockerContainer4 { | ||
component WebApp | ||
} | ||
|
||
node DockerContainer8{ | ||
component QuestionGenerationSystem | ||
} | ||
|
||
|
||
|
||
|
||
|
||
node DockerContainer5{ | ||
component Grafana | ||
} | ||
|
||
node DockerContainer6{ | ||
component Prometheus | ||
} | ||
|
||
} | ||
|
||
node Wikidata{ | ||
|
||
} | ||
|
||
node UserDevice { | ||
node WebBrowser { | ||
} | ||
|
||
|
||
|
||
Actor User | ||
|
||
} | ||
|
||
User -l-> WebBrowser : "uses" | ||
|
||
|
||
WebApp -d-> WebBrowser : "shows on user device" | ||
QuestionGenerationSystem -d-> Wikidata : "Fetches data" | ||
@enduml | ||
''' |
Oops, something went wrong.