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 #21

Closed
wants to merge 155 commits into from
Closed

Ray #21

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
437506f
Update sonar-project.properties
ExarcaFidalgo Jan 22, 2024
86c256a
Update README.md
ExarcaFidalgo Jan 22, 2024
ab88b30
0 por es2b
ExarcaFidalgo Jan 23, 2024
39825e8
Minucias de contenedores
ExarcaFidalgo Jan 26, 2024
ec03c0e
Apartado 1 de la documentación
uo264915 Feb 1, 2024
b9f45cb
Merge pull request #6 from Arquisoft/pablo
uo264915 Feb 2, 2024
61eb5d3
:memo: Documentation part 3 (business context done)
coral2742 Feb 2, 2024
3be346d
:memo: Documentation part 3 (business context diagram added)
coral2742 Feb 2, 2024
6dc9526
:memo: Documentation part 3 (technical context diagram added)
coral2742 Feb 3, 2024
15cded2
Merge pull request #7 from Arquisoft/coral
UO285240 Feb 3, 2024
ad8a5ac
Merge branch 'develop' into pablo
uo264915 Feb 5, 2024
ae2fdee
Plantilla docuemntacion
UO290054 Feb 5, 2024
399f658
Adaptacion de la pantilla
UO290054 Feb 5, 2024
f28f430
apartado 4 documentacion
uo264915 Feb 5, 2024
09bcd40
Merge pull request #8 from Arquisoft/pablo
uo264915 Feb 5, 2024
0beac18
changes of documentation part 4
uo264915 Feb 5, 2024
3592e2a
Merge pull request #9 from Arquisoft/pablo
uo264915 Feb 5, 2024
85a4ea1
Merge pull request #10 from Arquisoft/ray
UO290054 Feb 5, 2024
15bd93a
Merge pull request #11 from Arquisoft/develop
uo264915 Feb 5, 2024
0016857
changes json gh-pages
uo264915 Feb 5, 2024
962f1cb
Merge branch 'master' of https://github.com/Arquisoft/wiq_es2b
uo264915 Feb 5, 2024
6f9e23c
changes part 3 documentation
uo264915 Feb 5, 2024
2ff6274
changes part 3 doc
uo264915 Feb 5, 2024
27dc139
changes part 2 doc
uo264915 Feb 5, 2024
1acb999
changes part 2 doc
uo264915 Feb 5, 2024
02d8fc0
documentation part 10 && changes parts 1 and 4
uo264915 Feb 7, 2024
4415764
Merge pull request #21 from Arquisoft/pablo
uo264915 Feb 7, 2024
60d1aaa
settings
uo264915 Feb 7, 2024
4aaede4
settings
uo264915 Feb 7, 2024
9ad8661
Documentation of the technical risks
baraganio Feb 15, 2024
7743474
Correct some words spelling
baraganio Feb 15, 2024
5f76574
Merge pull request #23 from Arquisoft/carlos
uo264915 Feb 17, 2024
cae34d6
Merge branch 'develop' of https://github.com/Arquisoft/wiq_es2b into …
uo264915 Feb 17, 2024
6e10d3d
Merge pull request #24 from Arquisoft/develop
uo264915 Feb 17, 2024
f3d7615
settings doc deployment
uo264915 Feb 17, 2024
35f22bd
Merge branch 'master' of https://github.com/Arquisoft/wiq_es2b into p…
uo264915 Feb 17, 2024
2a43e39
doc part 8 (8.1 - To Do)
uo264915 Feb 17, 2024
9b89983
:bug: Update 03_system_scope_and_context.adoc
UO285240 Feb 17, 2024
dd215cc
Merge branch 'coral' of github.com:Arquisoft/wiq_es2b into coral
coral2742 Feb 17, 2024
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
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
b33132f
Ajustes Histotico del usuario
UO290054 Apr 1, 2024
3613362
Merge branch 'master' into ray
UO290054 Apr 1, 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"
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ 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
Expand Down
50 changes: 45 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ 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
Expand All @@ -35,6 +37,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 +57,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 +75,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 +92,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 @@ -109,15 +147,15 @@ jobs:
- 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 +164,9 @@ 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
docker compose --profile prod down
docker compose --profile prod up -d --pull always

12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 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)

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 +22,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 +106,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.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.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.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.
Loading