Error occurred when fetching sidebar data
improve: use usersservice for getting domains instead of api gateway - closes #460
app
tests
conftest.py +14 -6
usersservice
__init__.py +2 -2
dao_domains.py +5 -21
chart/templates
deployment.yaml +2 -2
+ 14
- 6
@@ -66,7 +66,7 @@ def make_tested_request(
@@ -98,15 +98,23 @@ def client(app):
"claims": {"iss": "https://auth.usersservice-22-dev-authservice-va444e.ci.exphost.pl/dex", "sub": "CgR0ZXN0EgRsZGFw", "aud": "exphost-controller", "exp": 1697202958, "iat": 1697116558, "at_hash": "XDGcSLVlPMa-gGIok8d62A", "email": "test@mail.ru", "email_verified": True, "groups": ["test-org"], "name": "test"}} # workaround for auth_required and mock problem # noqa 501
+ 2
- 2
@@ -16,7 +16,7 @@ def create_app(test_config=None):
@@ -28,7 +28,7 @@ def create_app(test_config=None):
+ 5
- 21
@@ -4,30 +4,14 @@ import requests
+ 2
- 2
@@ -42,8 +42,8 @@ spec: