fix after review

This commit is contained in:
Viktor Scharf
2024-10-23 10:09:52 +02:00
committed by Prajwol Amatya
parent 18e0af90b7
commit 1789a1ad43
5 changed files with 12 additions and 10 deletions

View File

@@ -241,6 +241,7 @@ config = {
"extraServerEnvironment": {
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
"COLLABORATION_DEBUG_ADDR": "0.0.0.0:9304",
"OCIS_ADD_RUN_SERVICES": "collaboration",
},
},
"cliCommands": {
@@ -2326,6 +2327,7 @@ def ocisServer(storage = "ocis", accounts_hash_difficulty = 4, volumes = [], dep
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"EVENTHISTORY_STORE": "memory",
"OCIS_TRANSLATION_PATH": "%s/tests/config/translations" % dirs["base"],
# debug addresses required for running services health tests
"ACTIVITYLOG_DEBUG_ADDR": "0.0.0.0:9197",
"APP_PROVIDER_DEBUG_ADDR": "0.0.0.0:9165",
"APP_REGISTRY_DEBUG_ADDR": "0.0.0.0:9243",

View File

@@ -1,14 +1,14 @@
Feature: service health check
Scenario: health check
Scenario: check service health
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9297/healthz | antivirus |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: ready check
Scenario: check service readiness
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9297/readyz | antivirus |

View File

@@ -1,14 +1,14 @@
Feature: service health check
Scenario: health check defauts service
Scenario: check service health
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9304/healthz | collaboration |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: service ready check
Scenario: check service readiness
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9304/readyz | collaboration |

View File

@@ -1,14 +1,14 @@
Feature: service health check
Scenario: health check
Scenario: check service health
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9174/healthz | notification |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: ready check
Scenario: check service readiness
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9174/readyz | notification |

View File

@@ -1,7 +1,7 @@
Feature: service health check
Scenario: health check defauts service
Scenario: check default services health
When a user requests these endpoints:
| endpoint | service | comment |
# | %base_url_without_scheme_and_port%:9197/healthz | activitylog | #get 500 |
@@ -50,7 +50,7 @@ Feature: service health check
Then the HTTP status code of responses on all endpoints should be "200"
@env-config
Scenario: health check extra services
Scenario: check extra services health
Given the following configs have been set:
| config | value |
| OCIS_ADD_RUN_SERVICES | audit,auth-app,auth-bearer,policies |
@@ -67,7 +67,7 @@ Feature: service health check
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: service ready check
Scenario: check default services readiness
When a user requests these endpoints:
| endpoint | service | comment |
# | %base_url_without_scheme_and_port%:9197/readyz | activitylog | #get 500 |
@@ -116,7 +116,7 @@ Feature: service health check
Then the HTTP status code of responses on all endpoints should be "200"
@env-config
Scenario: health check extra services
Scenario: check extra services readiness
Given the following configs have been set:
| config | value |
| OCIS_ADD_RUN_SERVICES | audit,auth-app,auth-bearer,policies |