mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-11 00:09:46 -05:00
fix after review
This commit is contained in:
committed by
Prajwol Amatya
parent
18e0af90b7
commit
1789a1ad43
@@ -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",
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user