Skip to content

Commit 6450143

Browse files
committed
fix test for gatewayApi
1 parent 7689124 commit 6450143

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

microservices/gatewayApi/tests/conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@ class Response:
150150
'hosts': ['myapi.api.gov.bc.ca'],
151151
'ns_attributes': {'perm-domains': ['.api.gov.bc.ca', '.cluster.local']},
152152
'overrides': {
153-
'aps.route.session.cookie.enabled': ['myapi.api.gov.bc.ca']
153+
'aps.route.session.cookie.enabled': ['myapi.api.gov.bc.ca'],
154+
"aps.route.dataclass.low": [],
155+
"aps.route.dataclass.medium": [],
156+
"aps.route.dataclass.high": [],
157+
"aps.route.dataclass.public": []
154158
},
155159
'select_tag': 'ns.sescookie.dev'
156160
}

microservices/gatewayApi/v2/routes/gateway.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ def write_config(namespace: str) -> object:
343343
"aps.route.dataclass.low": get_route_overrides(tempFolder, "aps.route.dataclass.low"),
344344
"aps.route.dataclass.medium": get_route_overrides(tempFolder, "aps.route.dataclass.medium"),
345345
"aps.route.dataclass.high": get_route_overrides(tempFolder, "aps.route.dataclass.high"),
346+
"aps.route.dataclass.public": get_route_overrides(tempFolder, "aps.route.dataclass.public"),
346347
}
347348
}
348349
log.debug("[%s] - Initiating request to kube API %s" % (dp, route_payload))

0 commit comments

Comments
 (0)