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.
- Loading branch information
1 parent
f0ebf48
commit 1f8d0a2
Showing
12 changed files
with
119 additions
and
256 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.
Binary file not shown.
Binary file not shown.
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,38 @@ | ||
@startuml Diagrama de secuencia plantuml | ||
actor Usuario | ||
participant webapp | ||
participant gatewayservice | ||
participant authservice | ||
participant questionservice | ||
database mongodb | ||
Usuario -> webapp: inicio sesión | ||
webapp --> Usuario: pedir nombre/contraseña | ||
Usuario -> webapp: dar nombre/contraseña | ||
webapp -> gatewayservice: verificar usuario | ||
gatewayservice -> authservice: verificar usuario | ||
authservice -> mongodb: verificar usuario | ||
mongodb --> authservice: verificación correcta | ||
authservice --> gatewayservice: verificación correcta | ||
gatewayservice --> webapp: verificación correcta | ||
webapp --> Usuario: inicio sesión correcto | ||
Usuario -> webapp: acceder al juego | ||
webapp -> gatewayservice: pedir preguntas | ||
gatewayservice -> questionservice: pedir preguntas | ||
questionservice -> mongodb: pedir preguntas | ||
mongodb --> questionservice: dar preguntas | ||
questionservice --> gatewayservice: dar preguntas | ||
gatewayservice --> webapp: dar preguntas | ||
webapp --> Usuario: mostrar primera pregunta | ||
Usuario -> webapp: responder | ||
webapp -> webapp: verificar respuesta | ||
webapp --> Usuario: indicar si es respuesta correcta o incorrecta | ||
webapp --> Usuario: mostrar siguiente pregunta | ||
Usuario -> webapp: responder | ||
webapp -> webapp: verificar respuesta | ||
webapp --> Usuario: indicar si es respuesta correcta o incorrecta | ||
webapp --> Usuario: mostrar pregunta n | ||
Usuario -> webapp: responder pregunta n | ||
webapp -> webapp: verificar respuesta | ||
webapp --> Usuario: indicar si es respuesta correcta o incorrecta | ||
webapp --> Usuario: mostrar número de aciertos y fallos | ||
@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 Diagrama de secuencia plantuml | ||
actor Usuario | ||
participant webapp | ||
participant gatewayservice | ||
participant authservice | ||
participant questionservice | ||
actor wikidata as "Wikidata" | ||
database mongodb | ||
Usuario -> webapp: acceder al juego | ||
webapp -> gatewayservice: pedir preguntas | ||
gatewayservice -> questionservice: pedir preguntas | ||
questionservice -> mongodb: pedir preguntas | ||
mongodb --> questionservice: no hay suficientes preguntas | ||
webapp --> webapp: retraso preguntas | ||
webapp --> Usuario: mensaje de espera | ||
questionservice -> wikidata: hacer consulta | ||
wikidata --> questionservice: devolver resultados | ||
questionservice -> questionservice: transformar resultados en preguntas | ||
questionservice -> mongodb: guardar preguntas | ||
mongodb --> questionservice: dar preguntas | ||
questionservice --> gatewayservice: dar preguntas | ||
gatewayservice --> webapp: dar preguntas | ||
webapp --> Usuario: quitar mensaje de espera | ||
webapp --> Usuario: mostrar primera pregunta | ||
@enduml |
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.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.