Skip to content

Commit

Permalink
Runtime view documentation
Browse files Browse the repository at this point in the history
Fixed error position DB and added wikidata
  • Loading branch information
UO289930 authored Feb 24, 2024
2 parents ce7b848 + de2450d commit ec66d51
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/src/06_runtime_view.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Sequence diagram for showing the process of a user logging in:
[plantuml,"Login diagram",png]
----
actor User
collections FrontEnd
collections UsersService
database DB
User -> FrontEnd: Request login
FrontEnd -> UsersService: loginUser()
UsersService -> DB: checkUserData()
Expand All @@ -27,7 +30,10 @@ Sequence diagram for showing the process of a user creating an account:
[plantuml,"Sign Up diagram",png]
----
actor User
collections FrontEnd
collections UsersService
database DB
User -> FrontEnd: Request sign up
FrontEnd -> UsersService: registerUser()
UsersService -> DB: checkCredentialsExist()
Expand All @@ -38,4 +44,27 @@ UsersService -> UsersService: signUp()
UsersService -> FrontEnd: Redirect to login page
@enduml
----

=== Data retrieval from WikiData

Sequence diagram for the process of retrieving data from WikiData

[plantuml,"WikiData diagram",png]
----
actor User
collections FrontEnd
collections QuestionGenerator
database Wikidata
User -> FrontEnd: Request a game
FrontEnd -> QuestionGenerator: createGame()
QuestionGenerator-> Wikidata: Sparql query
Wikidata-> QuestionGenerator : entitites data
QuestionGenerator-> QuestionGenerator: fillQuestionStack()
QuestionGenerator-> QuestionGenerator: popGameQuestions()
QuestionGenerator-> FrontEnd: Send game
FrontEnd -> User: Question 1
User-> FrontEnd: Answer 1
----

=== <Runtime Scenario n>

0 comments on commit ec66d51

Please sign in to comment.