File tree Expand file tree Collapse file tree 6 files changed +34
-0
lines changed
server/application-server Expand file tree Collapse file tree 6 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,12 @@ jobs:
120
120
echo "MAIL_PORT=${{ vars.MAIL_PORT }}" >> .env
121
121
echo "EMAIL_ENABLED=${{ vars.EMAIL_ENABLED }}" >> .env
122
122
echo "EMAIL_FROM=${{ vars.EMAIL_FROM }}" >> .env
123
+
124
+ echo "CLEANUP_WORKFLOW_RUN_DRY_RUN=${{ vars.CLEANUP_WORKFLOW_RUN_DRY_RUN }}" >> .env
125
+ echo "HELIOS_ENVIRONMENT_NAME=${{ vars.HELIOS_ENVIRONMENT_NAME }}" >> .env
126
+ echo "HELIOS_PROD_SECRET_KEY=${{ secrets.HELIOS_PROD_SECRET_KEY }}" >> .env
127
+ echo "HELIOS_STAGING_SECRET_KEY=${{ secrets.HELIOS_STAGING_SECRET_KEY }}" >> .env
128
+
123
129
124
130
- name : SSH to VM and Execute Docker-Compose Up
125
131
Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ services:
127
127
- HELIOS_TOKEN_EXCHANGE_CLIENT=${HELIOS_TOKEN_EXCHANGE_CLIENT}
128
128
- HELIOS_TOKEN_EXCHANGE_SECRET=${HELIOS_TOKEN_EXCHANGE_SECRET}
129
129
- DATA_SYNC_RUN_ON_STARTUP=${DATA_SYNC_RUN_ON_STARTUP}
130
+ - CLEANUP_WORKFLOW_RUN_DRY_RUN=${CLEANUP_WORKFLOW_RUN_DRY_RUN}
131
+ - HELIOS_ENVIRONMENT_NAME=${HELIOS_ENVIRONMENT_NAME}
132
+ - HELIOS_PROD_SECRET_KEY=${HELIOS_PROD_SECRET_KEY}
133
+ - HELIOS_STAGING_SECRET_KEY=${HELIOS_STAGING_SECRET_KEY}
130
134
depends_on :
131
135
- postgres
132
136
- nats-server
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ dependencies {
52
52
implementation ' org.flywaydb:flyway-database-postgresql:11.8.2'
53
53
implementation ' io.jsonwebtoken:jjwt-api:0.12.6'
54
54
implementation ' io.sentry:sentry-spring-boot-starter-jakarta:8.9.0'
55
+ // Helios push-based status updates
56
+ implementation " de.tum.cit.aet:helios-status-spring-starter:1.0.0"
55
57
runtimeOnly ' io.jsonwebtoken:jjwt-impl:0.12.6'
56
58
runtimeOnly ' io.jsonwebtoken:jjwt-jackson:0.12.6'
57
59
runtimeOnly ' org.postgresql:postgresql'
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ spring:
22
22
issuer-uri : ${OAUTH_ISSUER_URL}
23
23
24
24
helios :
25
+ status :
26
+ enabled : false
27
+ environment-name : ${HELIOS_ENVIRONMENT_NAME}
28
+ endpoints :
29
+ - url : http://localhost:8080/api/environments/status
30
+ secretKey : ${HELIOS_LOCAL_SECRET_KEY:}
25
31
clientBaseUrl : " http://localhost:4200"
26
32
27
33
logging :
Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ spring:
23
23
issuer-uri : ${OAUTH_ISSUER_URL}
24
24
25
25
helios :
26
+ status :
27
+ enabled : true
28
+ environment-name : ${HELIOS_ENVIRONMENT_NAME}
29
+ endpoints :
30
+ - url : https://helios.aet.cit.tum.de/api/environments/status
31
+ secretKey : ${HELIOS_PROD_SECRET_KEY:}
32
+ - url : https://helios-staging.aet.cit.tum.de/api/environments/status
33
+ secretKey : ${HELIOS_STAGING_SECRET_KEY:}
26
34
clientBaseUrl : " https://helios.aet.cit.tum.de"
27
35
28
36
nats :
Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ spring:
23
23
issuer-uri : ${OAUTH_ISSUER_URL}
24
24
25
25
helios :
26
+ status :
27
+ enabled : true
28
+ environment-name : ${HELIOS_ENVIRONMENT_NAME}
29
+ endpoints :
30
+ - url : https://helios.aet.cit.tum.de/api/environments/status
31
+ secretKey : ${HELIOS_PROD_SECRET_KEY:}
32
+ - url : https://helios-staging.aet.cit.tum.de/api/environments/status
33
+ secretKey : ${HELIOS_STAGING_SECRET_KEY:}
26
34
clientBaseUrl : " https://helios-staging.aet.cit.tum.de"
27
35
28
36
nats :
You can’t perform that action at this time.
0 commit comments