From 40305f97cdb0404b4cce9dd4b372c3b37b34f799 Mon Sep 17 00:00:00 2001 From: AnaGciaSchz Date: Wed, 27 Mar 2024 15:02:15 +0100 Subject: [PATCH] EMP-3684 Using http to access search services --- src/adapter/docker.adapter.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/adapter/docker.adapter.ts b/src/adapter/docker.adapter.ts index a55ec061..37e66d07 100644 --- a/src/adapter/docker.adapter.ts +++ b/src/adapter/docker.adapter.ts @@ -63,15 +63,15 @@ function resolveEmpathyEndpoint(endpoint: DockerEndpoints, context: Record = { - search: `https://${endpointHost}/query/${endpointInstance}/search`, - popularSearches: `https://${endpointHost}/query/${endpointInstance}/empathize`, - recommendations: `https://${endpointHost}/query/${endpointInstance}/topclicked`, - nextQueries: `https://${endpointHost}/nextqueries/${endpointInstance}`, - querySuggestions: `https://${endpointHost}/query/${endpointInstance}/empathize`, - relatedTags: `https://${endpointHost}/relatedtags/${endpointInstance}`, - identifierResults: `https://${endpointHost}/query/${endpointInstance}/skusearch`, - semanticQueries: `https://${endpointHost}/semantics-api/search_single/${endpointInstance}`, - experienceControls: `https://${endpointHost}/config/v1/public/configs` + search: `http://${endpointHost}/query/${endpointInstance}/search`, + popularSearches: `http://${endpointHost}/query/${endpointInstance}/empathize`, + recommendations: `http://${endpointHost}/query/${endpointInstance}/topclicked`, + nextQueries: `http://${endpointHost}/nextqueries/${endpointInstance}`, + querySuggestions: `http://${endpointHost}/query/${endpointInstance}/empathize`, + relatedTags: `http://${endpointHost}/relatedtags/${endpointInstance}`, + identifierResults: `http://${endpointHost}/query/${endpointInstance}/skusearch`, + semanticQueries: `http://${endpointHost}/semantics-api/search_single/${endpointInstance}`, + experienceControls: `http://${endpointHost}/config/v1/public/configs` }; return empathyEndpoints[endpoint]; }