Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ray #25

Closed
wants to merge 289 commits into from
Closed

Ray #25

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
289 commits
Select commit Hold shift + click to select a range
b9ee3d8
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
uo264915 Feb 18, 2024
d759ed6
Merge pull request #25 from Arquisoft/pablo
uo264915 Feb 19, 2024
2ae680e
Merge pull request #26 from Arquisoft/develop
uo264915 Feb 19, 2024
1563327
images section 5.1 && 5.2
uo264915 Feb 19, 2024
3f00d68
Merge branch 'pablo' of https://github.com/Arquisoft/wiq_es2b into pablo
uo264915 Feb 21, 2024
6599ec8
Cambiar documentacion 1.2, 8.2 , 10.2 Arquisoft/wiq_es2b#30
uo264915 Feb 21, 2024
926e852
Merge pull request #35 from Arquisoft/pablo
uo264915 Feb 21, 2024
9e35560
[DOC] Apartado 5 de la documentación Arquisoft/wiq_es2b#13
uo264915 Feb 21, 2024
6b53997
Added some buttons to the main page
baraganio Feb 21, 2024
b7a6be1
Adding a new simple component
baraganio Feb 21, 2024
d406122
Merge pull request #36 from Arquisoft/carlos
baraganio Feb 21, 2024
e1e11ab
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
uo264915 Feb 21, 2024
3ac96fb
[DOC] Apartado 8 de la documentación Arquisoft/wiq_es2b#16
uo264915 Feb 21, 2024
e5492eb
Merge pull request #37 from Arquisoft/pablo
uo264915 Feb 21, 2024
65493f0
Creation of questions creation service, and demo of questions generat…
baraganio Feb 22, 2024
a11fc46
Merge branch 'develop' into carlos
baraganio Feb 22, 2024
59d6ee4
Merge pull request #40 from Arquisoft/carlos
baraganio Feb 22, 2024
31bcd72
:sparkles: Creada vista de juego WIQ
coral2742 Feb 22, 2024
b5e130a
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
coral2742 Feb 24, 2024
d52c896
:sparkles: Diagrama de Business Context modificado
UO285240 Feb 24, 2024
36dd884
:sparkles: Actualizado 03_system_scope_and_context.adoc
UO285240 Feb 24, 2024
24cc2cb
:sparkles: Diagrama de Technical Context modificado con data monitoring
UO285240 Feb 24, 2024
7988f8a
:sparkles: Diagrama de Deploymen View añadido
UO285240 Feb 24, 2024
bc60d5a
:sparkles: Mejoras en el apartado 3 de la documentación
UO285240 Feb 24, 2024
4f8b980
:sparkles: Parte 7 de la documentación realizada
UO285240 Feb 24, 2024
6f874a8
Merge branch 'coral', remote-tracking branch 'origin' into develop
UO285240 Feb 24, 2024
aaaf69d
Merge pull request #41 from Arquisoft/develop
uo264915 Feb 25, 2024
d57de3c
cambios visualizacion de la documentacion
uo264915 Feb 25, 2024
a0edd2d
Merge pull request #42 from Arquisoft/pablo
uo264915 Feb 25, 2024
1e5c6fe
Merge pull request #43 from Arquisoft/develop
uo264915 Feb 25, 2024
4269da7
cambios visualizacion imagenes docuemntacion 2
uo264915 Feb 25, 2024
8beada4
visualizacion imagen section 8
uo264915 Feb 25, 2024
03fa826
To complete [DOC] Apartado 12 de la documentación Arquisoft/wiq_es2b#20
uo264915 Feb 25, 2024
c6d7fe7
Apartado 12 - Merge pull request #44 from Arquisoft/pablo
uo264915 Feb 25, 2024
05b6171
:memo: Mejoras de la documentación parte 7
coral2742 Feb 25, 2024
a3b2940
Merge pull request #45 from Arquisoft/develop
UO285240 Feb 25, 2024
fa75c76
:memo: Añadidos términos y definiciones al glosario
coral2742 Feb 25, 2024
3837f5a
Merge pull request #46 from Arquisoft/coral
UO285240 Feb 25, 2024
57995e2
Merge pull request #47 from Arquisoft/develop
UO285240 Feb 25, 2024
04126c2
cambio diagrama 10.1
uo264915 Feb 26, 2024
ee55333
Fixing problems about the comunication of the app with the creation t…
baraganio Feb 26, 2024
b9d0a6a
Add the frontend template made by coral, to the question generation b…
baraganio Feb 26, 2024
f6452e2
Merge pull request #48 from Arquisoft/carlos
baraganio Feb 26, 2024
e3071da
Editada seccion 2 y hecha seccion 9
UO290054 Feb 28, 2024
a20a69f
Change on the way the app navigates between files, now it doesn't sho…
baraganio Mar 3, 2024
3b2ddd8
Exctract some code from the login.js file to the new MainPage.js one
baraganio Mar 3, 2024
99d1cd7
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
uo264915 Mar 4, 2024
9df0354
Merge pull request #49 from Arquisoft/carlos
UO285240 Mar 4, 2024
2d58553
Merge branch 'ray' into coral
coral2742 Mar 4, 2024
ddaf050
Merge pull request #50 from Arquisoft/coral
UO285240 Mar 4, 2024
48a8f83
Merge pull request #51 from Arquisoft/develop
UO285240 Mar 4, 2024
b286e6f
:bug: Arreglada llamada creation service de preguntas de Wikidata
coral2742 Mar 4, 2024
3ae88c6
Merge pull request #52 from Arquisoft/coral
UO285240 Mar 4, 2024
7dc77a8
Changes on the creation-service, now it returns one country, its capi…
baraganio Mar 5, 2024
dce4899
Configured the buttoms of the game to show all the posible options an…
baraganio Mar 5, 2024
19b8584
Merge pull request #53 from Arquisoft/carlos
baraganio Mar 5, 2024
a162cce
sincronizacion con develop (7 Marzo)
uo264915 Mar 7, 2024
8ada0b4
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
uo264915 Mar 7, 2024
18fe66d
Contador de preguntas correctas, cambios de CSS
uo264915 Mar 7, 2024
4d72020
Merge pull request #60 from Arquisoft/pablo
uo264915 Mar 7, 2024
b6b4e6e
Revision, cambios y actualización de la documentacion
uo264915 Mar 10, 2024
443f41a
Merge pull request #63 from Arquisoft/pablo
uo264915 Mar 10, 2024
c1071bd
:sparkles: Temporizador añadido, mejoras con preguntas automáticas y …
coral2742 Mar 10, 2024
6a2d318
:sparkles: Temporizador añadido a 2 minutos
coral2742 Mar 10, 2024
ca3023d
Merge pull request #64 from Arquisoft/develop
UO290054 Mar 11, 2024
c9d661d
instalado @babel/plugin-proposal-private-property-in-object
UO290054 Mar 11, 2024
86dbc02
Merge pull request #65 from Arquisoft/develop
UO290054 Mar 11, 2024
3dbae43
comentar test
UO290054 Mar 11, 2024
858e00b
areglar tests
UO290054 Mar 11, 2024
a27f554
nuevos test basicos
UO290054 Mar 11, 2024
965c9c3
Version mejorada test
UO290054 Mar 11, 2024
937690d
Visualización de la seccion 9 correcta
uo264915 Mar 11, 2024
83f07c9
Merge branch 'develop', remote-tracking branch 'origin' into carlos
baraganio Mar 11, 2024
dce1d3f
Merge branch 'develop', remote-tracking branch 'origin' into pablo
uo264915 Mar 13, 2024
69fa09d
Now the creation service supports different types of queries
baraganio Mar 18, 2024
973dfd8
Trying to solve some tests errors
baraganio Mar 18, 2024
118d410
Borrar componente Juego (no es necesario)
uo264915 Mar 18, 2024
7b11b83
Merge remote-tracking branch 'origin' into pablo
uo264915 Mar 18, 2024
103a2f7
Trying to solve some tests errors2
baraganio Mar 18, 2024
3b8a8b0
Borrar componente Juego (no es necesario)
uo264915 Mar 18, 2024
f15f37c
Merge branch 'develop', remote-tracking branch 'origin' into carlos
baraganio Mar 18, 2024
e475941
Trying to solve some tests errors 3
baraganio Mar 18, 2024
98b87b9
:sparkles: Temporizador añadido con cuenta atrás de 20 segundos
coral2742 Mar 18, 2024
d525fec
Trying to solve some tests errors 4
baraganio Mar 18, 2024
2ae2c4d
Merge pull request #78 from Arquisoft/carlos
baraganio Mar 18, 2024
2e97f3a
Merge pull request #79 from Arquisoft/develop
baraganio Mar 18, 2024
8d15121
Sincronización con develop (24 Marzo)
uo264915 Mar 24, 2024
fef70b4
Merge de develop
uo264915 Mar 24, 2024
68c6c9a
Añadida la funcionalidad de guardar las preguntas generadas
baraganio Mar 26, 2024
15b0284
Quitar dependencias y variables que no se usan con el fin de que no …
baraganio Mar 27, 2024
8a5dde3
Crear servicio para recuperar las preguntas guardadas en base de datos
baraganio Mar 27, 2024
458a4e5
Conectando el servicio retrieve-service al gateway y a la aplicacion
baraganio Mar 27, 2024
78ede82
Crear ventana de historial de preguntas y acabar de configurar el ser…
baraganio Mar 27, 2024
18dd79f
Merge pull request #82 from Arquisoft/carlos
baraganio Mar 27, 2024
6d0c648
Quitar dependencias y variables que no se usan con el fin de que no …
baraganio Mar 27, 2024
212ad7c
Merge pull request #83 from Arquisoft/carlos
baraganio Mar 27, 2024
25d50e0
Merge pull request #84 from Arquisoft/develop
baraganio Mar 27, 2024
49a7477
Quitar dependencias y variables inutiles (no falle el deploy) 2
baraganio Mar 27, 2024
4350743
Merge pull request #85 from Arquisoft/carlos
baraganio Mar 27, 2024
bbf5133
Merge pull request #86 from Arquisoft/develop
baraganio Mar 27, 2024
e8dda1b
Arreglar test register-form.steps
baraganio Mar 27, 2024
08129a1
Merge pull request #87 from Arquisoft/develop
baraganio Mar 27, 2024
3dbe1bb
Arreglar test register-form.steps 3
baraganio Mar 27, 2024
1b38664
Cambios en los archivos build y realease (añadir los nuevos servicios)
baraganio Mar 27, 2024
56ea4b4
Ejecutando npm install para generar los package-log.json
baraganio Mar 27, 2024
492a216
[APP] Implementación interfaz de MainPage Arquisoft/wiq_es2b#76
uo264915 Mar 28, 2024
d9d57fb
Sincronización con develop (28 Marzo)
uo264915 Mar 28, 2024
cbc574d
cambios css
uo264915 Mar 28, 2024
2bae69f
Arreglando fallo bucle infinito en peticiones
baraganio Mar 28, 2024
fc2de3a
Merge branch 'develop' into pablo
uo264915 Mar 30, 2024
78acdb3
Finalizacion del juego y mostrar puntuacion
uo264915 Mar 30, 2024
ada6418
Merge pull request #89 from Arquisoft/pablo
uo264915 Mar 30, 2024
2254984
Merge branch 'develop' into ray
UO290054 Mar 31, 2024
f540641
Merge branch 'develop' into ray
UO290054 Mar 31, 2024
7d11d8a
Historial de usuario implementado + errores varios
UO290054 Apr 1, 2024
e80c658
Implementación CSS de HistoricalData y otros cambios
uo264915 Apr 1, 2024
b33132f
Ajustes Histotico del usuario
UO290054 Apr 1, 2024
3613362
Merge branch 'master' into ray
UO290054 Apr 1, 2024
e197ad2
Merge pull request #92 from Arquisoft/ray
UO290054 Apr 1, 2024
2c0cf10
:sparkles: Modificaciones del reloj de juego
coral2742 Apr 1, 2024
3d1d556
Error despliegue
baraganio Apr 1, 2024
f71db54
Sincronizacion con master (1 abril)
uo264915 Apr 1, 2024
11ffd55
:sparkles: Temporizador añadido
coral2742 Apr 3, 2024
0e50e0e
:sparkles: Especificación de API con Openapi
coral2742 Apr 3, 2024
b779725
Merge from develop
baraganio Apr 4, 2024
f86c7a3
Arreglando las respuestas que no traen nombre (traen la etiqueta Q1234)
baraganio Apr 4, 2024
af050db
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
uo264915 Apr 7, 2024
3cc157c
Resolucion de problemas fin de partida
uo264915 Apr 7, 2024
92cce23
Resolucion problemas fin de partida
uo264915 Apr 7, 2024
c7052a5
Merge pull request #95 from Arquisoft/pablo
uo264915 Apr 7, 2024
e0cdd4f
sparkles: Cambios en temporizador
coral2742 Apr 7, 2024
3e8ddb7
:sparkles: Pequeños cambios en temporizador
UO285240 Apr 7, 2024
12687e4
Merge branch 'develop' into coral
UO285240 Apr 7, 2024
d0fb796
:sparkles: Temporizador solucionado
UO285240 Apr 7, 2024
838e093
:sparkles: 6 preguntas por partida
UO285240 Apr 7, 2024
4983926
:sparkles: Pregunta incorrecta si pasa de tiempo
UO285240 Apr 7, 2024
f2f4236
:sparkles: Manejo de tiempo agotado con modal
coral2742 Apr 7, 2024
4573723
Cambiando alguna peticiones post por get
baraganio Apr 7, 2024
1d8a5fa
Merge con develop
baraganio Apr 7, 2024
597fe01
Merge con develop
baraganio Apr 7, 2024
668b401
Update 06_runtime_view
baraganio Apr 7, 2024
881154f
Merge pull request #98 from Arquisoft/carlos
baraganio Apr 7, 2024
cfd29cd
Arreglos de warnings
uo264915 Apr 7, 2024
8f3de26
sparkles: Cambios en botones si se acaba el tiempo
coral2742 Apr 7, 2024
87d1d65
Merge branch 'develop' into coral
coral2742 Apr 7, 2024
2124385
Merge pull request #99 from Arquisoft/develop
baraganio Apr 7, 2024
5d8ad9e
:sparkles: Solucionado problema con temporizador
coral2742 Apr 7, 2024
3fdd330
Merge pull request #100 from Arquisoft/develop
uo264915 Apr 8, 2024
31ee341
Mostrar historiales automáticamente
uo264915 Apr 8, 2024
66ab7f8
menu de usuario desplegable
UO290054 Apr 8, 2024
4a536c1
Cambiando código del servicio de usuarios al de devolver preguntas
baraganio Apr 8, 2024
a2632df
Merge pull request #123 from Arquisoft/carlos
baraganio Apr 8, 2024
8c95df5
Mostrar los usuarios que están registrados en la aplicación por pantalla
baraganio Apr 8, 2024
01e5057
Merge pull request #124 from Arquisoft/carlos
baraganio Apr 8, 2024
9b1d504
:sparkles: Añadido Navbar
coral2742 Apr 9, 2024
da22e76
Merge branch 'develop' into coral-2
coral2742 Apr 9, 2024
9d54aee
:sparkles: Mensaje de tiempo agotado automatizado
coral2742 Apr 9, 2024
5dd6c1a
:sparkles: Esperar unos segundos tras finalizar partida
coral2742 Apr 9, 2024
dd899c8
:iphone: Añadido navbar responsive para móvil
coral2742 Apr 9, 2024
6dbdc47
:iphone: Juego responsive para móvil
coral2742 Apr 9, 2024
16730b0
:iphone: Página principal responsive y cambio de CSS
coral2742 Apr 10, 2024
0c76223
:sparkles: Botón de volver al menú principal
coral2742 Apr 10, 2024
d0d3bb6
:sparkles: Arreglo de puntuación con 2 decimales
coral2742 Apr 10, 2024
11f5964
:lipstick: CSS cambiado de la app
coral2742 Apr 10, 2024
109df3a
Merge branch 'develop' into pablo
uo264915 Apr 11, 2024
1bea630
[Test] Prueba testing MainPage
uo264915 Apr 11, 2024
e86e645
Cambiod test MainPage
uo264915 Apr 11, 2024
929cb52
Cambiod test MainPage
uo264915 Apr 11, 2024
1c648a3
Cambiod test MainPage
uo264915 Apr 11, 2024
eaae4c6
Cambiod test MainPage
uo264915 Apr 11, 2024
eb4f9ab
Merge pull request #130 from Arquisoft/pablo
uo264915 Apr 11, 2024
cb9e6a1
[DOC] Actualizar diagrama apartado 8 de la documentación Arquisoft/wi…
uo264915 Apr 14, 2024
25d7b0e
Merge pull request #131 from Arquisoft/pablo
uo264915 Apr 14, 2024
ba60801
Merge branch 'develop' into ray
UO290054 Apr 15, 2024
a3bb07f
LogOut terminado
UO290054 Apr 15, 2024
04962bd
ScoreBoard imlementado
UO290054 Apr 15, 2024
97ce4a6
Paginacion en tabla de historicaldata
baraganio Apr 15, 2024
6fafdf8
Merge pull request #132 from Arquisoft/ray
UO290054 Apr 15, 2024
f9f0d18
Merge branch 'develop' into carlos
baraganio Apr 15, 2024
d0b78a8
Sincro develop (15-Abril)
uo264915 Apr 15, 2024
3e5d2a3
Arreglo final de la partida
UO290054 Apr 15, 2024
648bca9
Merge pull request #133 from Arquisoft/carlos
uo264915 Apr 15, 2024
d78d3f2
Merge branch 'develop' into pablo
uo264915 Apr 15, 2024
1c605e8
tiempo de partida arreglado
UO290054 Apr 15, 2024
657ea29
logs comentados
UO290054 Apr 15, 2024
30881cf
Merge pull request #134 from Arquisoft/pablo
uo264915 Apr 15, 2024
4a9f35d
Merge branch 'develop' into ray
UO290054 Apr 15, 2024
45fbe07
Merge pull request #135 from Arquisoft/ray
UO290054 Apr 15, 2024
a606ee5
:lipstick: Navbar added in HistoricalData, UserData etc
coral2742 Apr 15, 2024
8886f0a
:lipstick: Navbar added in HistoricalData, UserData etc
coral2742 Apr 15, 2024
d144e9f
:lipstick: Changed CSS of HistoricalUserData
coral2742 Apr 15, 2024
94dd143
:lipstick: Changed CSS of HistoricalData
coral2742 Apr 15, 2024
2c672eb
Merge branch 'develop' into coral-2
coral2742 Apr 15, 2024
8241691
:lipstick: Changed CSS of Navbar
coral2742 Apr 15, 2024
34806aa
:lipstick: Changed Navbar access to main page
coral2742 Apr 15, 2024
9bea23c
:lipstick: Changed HistoricalUserData CSS
coral2742 Apr 15, 2024
e6b4994
:lipstick: Changed HistoricalData CSS
coral2742 Apr 15, 2024
3f2719f
:lipstick: Changed Ranking CSS
coral2742 Apr 15, 2024
805ac50
:lipstick: Changed Registered Users CSS
coral2742 Apr 15, 2024
845ab99
:test_tube: Changes in tests
coral2742 Apr 15, 2024
540c8be
:test_tube: Changes in main page tests
coral2742 Apr 15, 2024
82428e9
:sparkles: Changes in openapi
coral2742 Apr 15, 2024
b2a9f0f
:memo: Technical Context Diagram 3.2 changed
coral2742 Apr 18, 2024
f96cace
:memo: Technical Context Diagram 3.2 changed (also image size)
coral2742 Apr 18, 2024
daf806e
:memo: Error in tables solved
coral2742 Apr 18, 2024
5325d52
:memo:Title changed
coral2742 Apr 18, 2024
de016cc
Test historial de preguntas
uo264915 Apr 18, 2024
cf2cd09
Merge pull request #139 from Arquisoft/develop
uo264915 Apr 18, 2024
b3d4925
Test historial de preguntas
uo264915 Apr 18, 2024
fd1a602
Test historial de preguntas
uo264915 Apr 18, 2024
8064d60
Test historial de preguntas
uo264915 Apr 18, 2024
2005870
Test historial de preguntas
uo264915 Apr 18, 2024
bc085ef
:construction: Game configuration in progress
coral2742 Apr 18, 2024
09265e6
:lipstick: Footer added
coral2742 Apr 18, 2024
a5562a4
:sparkles: Configuration of time and number of questions
coral2742 Apr 18, 2024
519a70d
:lipstick: CSS changed in timer
coral2742 Apr 19, 2024
63dd021
:sparkles: Changes in navbar
coral2742 Apr 19, 2024
b9a4646
Cambio en la configuración de pruebas para cubrir todos los archivos
baraganio Apr 22, 2024
a5c6a40
:sparkles: Game design changed (responsive)
coral2742 Apr 22, 2024
a83a517
Merge branch 'develop' into coral-2
coral2742 Apr 22, 2024
599e477
Merge branch 'develop', remote-tracking branch 'origin' into carlos
baraganio Apr 22, 2024
17f8338
Añadido archivos de test a los servicios
baraganio Apr 22, 2024
ec4b56d
Merge branch 'develop' into carlos
baraganio Apr 22, 2024
0f490a8
paginacion Historico de usuario
UO290054 Apr 22, 2024
3f916cd
Merge branch 'develop' into ray
UO290054 Apr 22, 2024
c8da895
Test por defecto (se crea pero no comrpueba nada)
baraganio Apr 22, 2024
ea0daa4
Cambiadno un import mal escrito
baraganio Apr 22, 2024
392bf3d
Arreglando fallo test mainpage
baraganio Apr 22, 2024
b55c279
Merge pull request #147 from Arquisoft/carlos
baraganio Apr 22, 2024
ad30085
Merge pull request #148 from Arquisoft/develop
baraganio Apr 22, 2024
b1fab00
Update README.md
baraganio Apr 23, 2024
324a31a
Tests del gateway service
baraganio Apr 23, 2024
457395f
Merge remote-tracking branch 'origin' into carlos
baraganio Apr 23, 2024
68e86bb
Merge pull request #151 from Arquisoft/carlos
baraganio Apr 23, 2024
4e87224
Merge branch 'develop' into pablo
uo264915 Apr 23, 2024
4687f0e
Añadiendo tests a userservice
baraganio Apr 23, 2024
7eff51b
Añadiendo tests a authservice
baraganio Apr 23, 2024
fe9b795
Sincronizacion y tests
uo264915 Apr 23, 2024
a75bbfe
pagiancion completa ent todas las pestañas + errores de paginaciom an…
UO290054 Apr 24, 2024
ac1bdaf
cambio boton historicoUsusario
UO290054 Apr 24, 2024
19da8d8
Merge branch 'develop' into ray
UO290054 Apr 24, 2024
06055d9
Test HisotircalData y RegisteredUsers
uo264915 Apr 25, 2024
cb45484
Merge branch 'develop' into carlos
baraganio Apr 26, 2024
9a8ae02
Añadidas 2 nuevas consultas (habitantes y numero atómico)
baraganio Apr 26, 2024
f2757bb
Arreglando un fallo de userservice test
baraganio Apr 26, 2024
46a9dd4
Merge pull request #160 from Arquisoft/carlos
uo264915 Apr 26, 2024
d59b5ad
Test HistoricalData y RegisteredUsers
uo264915 Apr 26, 2024
3b1d454
Merge branch 'develop' into pablo
uo264915 Apr 26, 2024
74e846e
Merge pull request #161 from Arquisoft/pablo
uo264915 Apr 26, 2024
aea0c61
Merge branch 'develop' into ray
UO290054 Apr 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
teamname="wiq_0"
teamname="wiq_es2b"
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ jobs:
node-version: 20
- run: npm --prefix users/authservice ci
- run: npm --prefix users/userservice ci
- run: npm --prefix questions/creationservice ci
- run: npm --prefix questions/retrieveservice ci
- run: npm --prefix gatewayservice ci
- run: npm --prefix webapp ci
- run: npm --prefix users/authservice test -- --coverage
- run: npm --prefix users/userservice test -- --coverage
- run: npm --prefix questions/creationservice test -- --coverage
- run: npm --prefix questions/retrieveservice test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- name: Analyze with SonarCloud
Expand Down
60 changes: 48 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ jobs:
node-version: 20
- run: npm --prefix users/authservice ci
- run: npm --prefix users/userservice ci
- run: npm --prefix questions/creationservice ci
- run: npm --prefix questions/retrieveservice ci
- run: npm --prefix gatewayservice ci
- run: npm --prefix webapp ci
- run: npm --prefix users/authservice test -- --coverage
- run: npm --prefix users/userservice test -- --coverage
- run: npm --prefix questions/creationservice test -- --coverage
- run: npm --prefix questions/retrieveservice test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- name: Analyze with SonarCloud
Expand All @@ -35,6 +39,8 @@ jobs:
node-version: 20
- run: npm --prefix users/authservice install
- run: npm --prefix users/userservice install
- run: npm --prefix questions/creationservice install
- run: npm --prefix questions/retrieveservice install
- run: npm --prefix gatewayservice install
- run: npm --prefix webapp install
- run: npm --prefix webapp run build
Expand All @@ -53,7 +59,7 @@ jobs:
env:
API_URI: http://${{ secrets.DEPLOY_HOST }}:8000
with:
name: arquisoft/wiq_0/webapp
name: arquisoft/wiq_es2b/webapp
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -71,7 +77,7 @@ jobs:
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_0/authservice
name: arquisoft/wiq_es2b/authservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
Expand All @@ -88,11 +94,45 @@ jobs:
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_0/userservice
name: arquisoft/wiq_es2b/userservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: users/userservice
docker-push-creationservice:
name: Push creations service Docker Image to GitHub Packages
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_es2b/creationservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: questions/creationservice
docker-push-retrieveservice:
name: Push retrieves service Docker Image to GitHub Packages
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_es2b/retrieveservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: questions/retrieveservice
docker-push-gatewayservice:
name: Push gateway service Docker Image to GitHub Packages
runs-on: ubuntu-latest
Expand All @@ -102,22 +142,18 @@ jobs:
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Update OpenAPI configuration
run: |
DEPLOY_HOST=${{ secrets.DEPLOY_HOST }}
sed -i "s/SOMEIP/${DEPLOY_HOST}/g" gatewayservice/openapi.yaml
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_0/gatewayservice
name: arquisoft/wiq_es2b/gatewayservice
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: gatewayservice
deploy:
name: Deploy over SSH
runs-on: ubuntu-latest
needs: [docker-push-userservice,docker-push-authservice,docker-push-gatewayservice,docker-push-webapp]
needs: [docker-push-userservice,docker-push-authservice,docker-push-creationservice,docker-push-retrieveservice,docker-push-gatewayservice,docker-push-webapp]
steps:
- name: Deploy over SSH
uses: fifsky/ssh-action@master
Expand All @@ -126,7 +162,7 @@ jobs:
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
command: |
wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/.env -O .env
wget https://raw.githubusercontent.com/arquisoft/wiq_es2b/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_es2b/master/.env -O .env
docker compose --profile prod down
docker compose --profile prod up -d --pull always
docker compose --profile prod up -d --pull always
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# wiq_0
# wiq_es2b

[![Deploy on release](https://github.com/Arquisoft/wiq_0/actions/workflows/release.yml/badge.svg)](https://github.com/Arquisoft/wiq_0/actions/workflows/release.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_0&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_0)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_0&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_0)
[![Deploy on release](https://github.com/Arquisoft/wiq_es2b/actions/workflows/release.yml/badge.svg)](https://github.com/Arquisoft/wiq_es2b/actions/workflows/release.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_es2b&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_es2b)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Arquisoft_wiq_es2b&metric=coverage)](https://sonarcloud.io/summary/new_code?id=Arquisoft_wiq_es2b)

The direction of the webapp is: http://74.234.51.78:3000/

This is a base repo for the [Software Architecture course](http://arquisoft.github.io/) in [2023/2024 edition](https://arquisoft.github.io/course2324.html).

Expand All @@ -22,7 +24,7 @@ Both the user and auth service share a Mongo database that is accessed with mong
The fastest way for launching this sample project is using docker. Just clone the project:

```sh
git clone https://github.com/Arquisoft/wiq_0.git
git clone https://github.com/Arquisoft/wiq_es2b.git
```

and launch it with docker compose:
Expand Down Expand Up @@ -106,10 +108,12 @@ deploy:
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
command: |

wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/.env -O .env
docker compose --profile prod down
docker compose --profile prod up -d --pull always

```

This action uses three secrets that must be configured in the repository:
Expand Down
40 changes: 36 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,37 @@ services:
networks:
- mynetwork

creationservice:
container_name: creationservice-${teamname:-defaultASW}
image: ghcr.io/arquisoft/wiq_es2b/creationservice:latest
profiles: ["dev", "prod"]
build: ./questions/creationservice
depends_on:
- mongodb
ports:
- "8005:8005"
networks:
- mynetwork
environment:
MONGODB_URI: mongodb://mongodb:27017/questiondb

retrieveservice:
container_name: retrieveservice-${teamname:-defaultASW}
image: ghcr.io/arquisoft/wiq_es2b/retrieveservice:latest
profiles: ["dev", "prod"]
build: ./questions/retrieveservice
depends_on:
- mongodb
ports:
- "8004:8004"
networks:
- mynetwork
environment:
MONGODB_URI: mongodb://mongodb:27017/questiondb

authservice:
container_name: authservice-${teamname:-defaultASW}
image: ghcr.io/arquisoft/wiq_0/authservice:latest
image: ghcr.io/arquisoft/wiq_es2b/authservice:latest
profiles: ["dev", "prod"]
build: ./users/authservice
depends_on:
Expand All @@ -27,7 +55,7 @@ services:

userservice:
container_name: userservice-${teamname:-defaultASW}
image: ghcr.io/arquisoft/wiq_0/userservice:latest
image: ghcr.io/arquisoft/wiq_es2b/userservice:latest
profiles: ["dev", "prod"]
build: ./users/userservice
depends_on:
Expand All @@ -41,24 +69,28 @@ services:

gatewayservice:
container_name: gatewayservice-${teamname:-defaultASW}
image: ghcr.io/arquisoft/wiq_0/gatewayservice:latest
image: ghcr.io/arquisoft/wiq_es2b/gatewayservice:latest
profiles: ["dev", "prod"]
build: ./gatewayservice
depends_on:
- mongodb
- userservice
- authservice
- creationservice
- retrieveservice
ports:
- "8000:8000"
networks:
- mynetwork
environment:
AUTH_SERVICE_URL: http://authservice:8002
USER_SERVICE_URL: http://userservice:8001
CREATION_SERVICE_URL: http://creationservice:8005
RETRIEVE_SERVICE_URL: http://retrieveservice:8004

webapp:
container_name: webapp-${teamname:-defaultASW}
image: ghcr.io/arquisoft/wiq_0/webapp:latest
image: ghcr.io/arquisoft/wiq_es2b/webapp:latest
profiles: ["dev", "prod"]
build: ./webapp
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## The documentation
In this project, the documentation is compiled locally and deployed to GitHub pages.
The deployment url is: [https://arquisoft.github.io/wiq_0/](https://arquisoft.github.io/wiq_0/).
The deployment url is: [https://arquisoft.github.io/wiq_es2b/](https://arquisoft.github.io/wiq_es2b/).

### Documentation build
For the documentation, we are going to use [AsciiDoc](https://asciidoc.org/) and [PlantUML](https://plantuml.com) and follow the [Arc42](https://github.com/arc42/arc42-template) template. If you want to be able to generate the doc locally you need to install Ruby, Java and some dependencies to translate the AsciiDoc code into html. If you are in Linux you can install Ruby and Java simply by executing:
Expand Down Expand Up @@ -30,6 +30,6 @@ npm run build
The documentation will be generated under the `docs/build` directory.

### Documentation deployment
If we want to deploy it to GitHub pages, so it is accessible via [https://arquisoft.github.io/wiq_0/](https://arquisoft.github.io/wiq_0/), we need to execute `npm run deploy`.
If we want to deploy it to GitHub pages, so it is accessible via [https://arquisoft.github.io/wiq_es2b/](https://arquisoft.github.io/wiq_es2b/), we need to execute `npm run deploy`.

If you check the `package.json` in this directory you can see how deploying is as easy as executing `gh-pages -d build`, which can be directly executed using `npm run deploy` in the docs directory. The `gh-pages` package is in charge of pushing the documentation generated directory (basically some htmls) to a special github branch called gh-pages. Everything pushed to this branch is accessible on the repository page. Note that we only want to push there the documentation. Also is important that the documentation build is not pushed to the other branches of the project.
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 added docs/images/07-Deployment View.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/07-DeploymentView.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/07-DeploymentViewTest.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/10_1_Quality_Tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/DOCsection5_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/DOCsection5_2.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/DOCsection5_3.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/DOCsection8_1.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/DeplymentViewTest.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// configure EN settings for asciidoc
include::src/config.adoc[]

= image:arc42-logo.png[arc42] Template
= image:arc42-logo.png[arc42] WIQ ES-2B Documentation
:revnumber: 8.2 EN
:revdate: January 2023
:revremark: (based upon AsciiDoc version)
Expand Down
Loading