diff --git a/docs/src/03_system_scope_and_context.adoc b/docs/src/03_system_scope_and_context.adoc index c528e90..340402a 100644 --- a/docs/src/03_system_scope_and_context.adoc +++ b/docs/src/03_system_scope_and_context.adoc @@ -48,28 +48,46 @@ The title of the table is the name of your system, the three columns contain the **** -**** - -**** - -=== Technical Context - -[role="arc42help"] -**** -.Contents -Technical interfaces (channels and transmission media) linking your system to its environment. In addition a mapping of domain specific input/output to the channels, i.e. an explanation which I/O uses which channel. - -.Motivation -Many stakeholders make architectural decision based on the technical interfaces between the system and its context. Especially infrastructure or hardware designers decide these technical interfaces. - -.Form -E.g. UML deployment diagram describing channels to neighboring systems, -together with a mapping table showing the relationships between channels and input/output. - -**** - -**** - -**** - -**** +[plantuml,"Context diagram",png] +---- +actor Player +actor Client +database MongoDB <> +[WIQ Game] <> +[Wikidata] <> +[UsersInfoAPI] <> +[GeneratedQuestionsAPI] <> +Player .> (WIQ Game) : login +Client ..> (UsersInfoAPI) +Client ..> (GeneratedQuestionsAPI) +MongoDB --> (UsersInfoAPI) +MongoDB --> (GeneratedQuestionsAPI) +[WIQ Game] <.> (Wikidata) : WikidataAPI +[WIQ Game] <--> (MongoDB) +---- + +[cols="e,2e" options="header"] +|=== +|Element |Description + +|Player +|Plays the game and can consult past scores + +|Client +|Can access the data about players and generated questions + +|WIQ Game +|Main system in which generated questions are shown and can be answered by players + +|Wikidata +|External data repository from which questions are generated using the WikidataAPI + +|MongoDB +|Database for storing generated questions, players' info and scores + +|Users Info API +|Allows clients to see the info about players stored in the database + +|Generated Questions API +|Allows clients to see the info about generated questions stored in the database +|=== \ No newline at end of file