diff --git a/microservices/gatewayApi/tests/conftest.py b/microservices/gatewayApi/tests/conftest.py index bdf6a35..e82dac4 100644 --- a/microservices/gatewayApi/tests/conftest.py +++ b/microservices/gatewayApi/tests/conftest.py @@ -150,7 +150,11 @@ class Response: 'hosts': ['myapi.api.gov.bc.ca'], 'ns_attributes': {'perm-domains': ['.api.gov.bc.ca', '.cluster.local']}, 'overrides': { - 'aps.route.session.cookie.enabled': ['myapi.api.gov.bc.ca'] + 'aps.route.session.cookie.enabled': ['myapi.api.gov.bc.ca'], + "aps.route.dataclass.low": [], + "aps.route.dataclass.medium": [], + "aps.route.dataclass.high": [], + "aps.route.dataclass.public": [] }, 'select_tag': 'ns.sescookie.dev' } diff --git a/microservices/gatewayApi/v2/routes/gateway.py b/microservices/gatewayApi/v2/routes/gateway.py index 5403067..c897809 100644 --- a/microservices/gatewayApi/v2/routes/gateway.py +++ b/microservices/gatewayApi/v2/routes/gateway.py @@ -343,6 +343,7 @@ def write_config(namespace: str) -> object: "aps.route.dataclass.low": get_route_overrides(tempFolder, "aps.route.dataclass.low"), "aps.route.dataclass.medium": get_route_overrides(tempFolder, "aps.route.dataclass.medium"), "aps.route.dataclass.high": get_route_overrides(tempFolder, "aps.route.dataclass.high"), + "aps.route.dataclass.public": get_route_overrides(tempFolder, "aps.route.dataclass.public"), } } log.debug("[%s] - Initiating request to kube API %s" % (dp, route_payload))