From c075e3bada2913fe0ec2e9af1ecb71b71fabe37a Mon Sep 17 00:00:00 2001 From: Ivan Nikolov Date: Fri, 17 Nov 2023 14:48:47 +0200 Subject: [PATCH] Route '/concept' to cm-generic-concept-transformer service --- default.vcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.vcl b/default.vcl index 26fdea8..2329110 100644 --- a/default.vcl +++ b/default.vcl @@ -51,6 +51,9 @@ sub vcl_recv { set req.url = regsub(req.url, "locations-smartlogic", "notify"); set req.backend_hint = dynBackend.backend("locations-smartlogic-notifier"); } + elif (req.url ~ "^\/concept/.*$") { + set req.backend_hint = dynBackend.backend("cm-generic-concept-transformer"); + } elif (req.url ~ "^\/__[\w-]*\/.*$") { # create a new backend dynamically to match the requested URL that will be looked up in the Kubernetes DNS. # For example calling the URL /__content-ingester/xyz will forward the request to the service content-ingester with the url /xyz