This commit is contained in:
Viktor Scharf
2024-10-23 11:11:28 +02:00
committed by Prajwol Amatya
parent 1789a1ad43
commit c1bd9bd71d
2 changed files with 9 additions and 5 deletions

View File

@@ -241,7 +241,6 @@ config = {
"extraServerEnvironment": {
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
"COLLABORATION_DEBUG_ADDR": "0.0.0.0:9304",
"OCIS_ADD_RUN_SERVICES": "collaboration",
},
},
"cliCommands": {
@@ -3152,6 +3151,7 @@ def wopiCollaborationService(name):
"COLLABORATION_CS3API_DATAGATEWAY_INSECURE": "true",
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"COLLABORATION_WOPI_SECRET": "some-wopi-secret",
"OCIS_ADD_RUN_SERVICES": "collaboration",
}
if name == "collabora":

View File

@@ -3,13 +3,17 @@ Feature: service health check
Scenario: check service health
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9304/healthz | collaboration |
| endpoint | service |
| wopi-onlyoffice:9304/healthz | collaboration |
| wopi-collabora:9304/healthz | collaboration |
| wopi-fakeoffice:9304/healthz | collaboration |
Then the HTTP status code of responses on all endpoints should be "200"
Scenario: check service readiness
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9304/readyz | collaboration |
| endpoint | service |
| wopi-onlyoffice:9304/readyz | collaboration |
| wopi-collabora:9304/readyz | collaboration |
| wopi-fakeoffice:9304/readyz | collaboration |
Then the HTTP status code of responses on all endpoints should be "200"