mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-14 12:27:50 -04:00
fix
This commit is contained in:
committed by
Prajwol Amatya
parent
1789a1ad43
commit
c1bd9bd71d
@@ -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":
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user