Skip to content

Commit

Permalink
Merge pull request #22 from Financial-Times/feature/UPPSF-4629-concep…
Browse files Browse the repository at this point in the history
…t-publishing

Route '/concept' to cm-generic-concept-transformer service
  • Loading branch information
ivan-p-nikolov authored Nov 20, 2023
2 parents 447c45f + c075e3b commit 75ffa1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions default.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75ffa1a

Please sign in to comment.