From 08ebd3bf89a4cc083b052a0c70a5e5947a487e8e Mon Sep 17 00:00:00 2001 From: YANGDB Date: Fri, 2 Jun 2023 12:37:28 -0700 Subject: [PATCH] update http.template mapping fix dependency in the docker-compose missing env var for cartservices add extra logging into the integration.py --- docker-compose.yml | 4 ++-- src/integrations/src/data.ini | 2 +- src/integrations/src/install.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1830e0430b..f0bd91be67 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -95,6 +95,7 @@ services: - "${CART_SERVICE_PORT}" environment: - CART_SERVICE_PORT + - FEATURE_FLAG_GRPC_SERVICE_ADDR - REDIS_ADDR - OTEL_EXPORTER_OTLP_ENDPOINT - OTEL_RESOURCE_ATTRIBUTES @@ -296,7 +297,6 @@ services: - OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE - WEB_OTEL_SERVICE_NAME=frontend-web depends_on: - - accountingservice - adservice - cartservice - checkoutservice @@ -306,7 +306,6 @@ services: - quoteservice - recommendationservice - shippingservice - - paymentservice logging: *logging # Load Generator @@ -412,6 +411,7 @@ services: ports: - "${QUOTE_SERVICE_PORT}" environment: + - FEATURE_FLAG_GRPC_SERVICE_ADDR - OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:4318 - OTEL_PHP_AUTOLOAD_ENABLED=true - QUOTE_SERVICE_PORT diff --git a/src/integrations/src/data.ini b/src/integrations/src/data.ini index eae3c1b2ef..2e62882289 100644 --- a/src/integrations/src/data.ini +++ b/src/integrations/src/data.ini @@ -245,7 +245,7 @@ http_template = { "type": "text" }, "bytes": { - "type": "long", + "type": "long" }, "method": { "type": "keyword", diff --git a/src/integrations/src/install.py b/src/integrations/src/install.py index 814a95411d..51a20dae26 100644 --- a/src/integrations/src/install.py +++ b/src/integrations/src/install.py @@ -163,6 +163,7 @@ def get_dist_version(auth): def upsert_obj(auth, items, api): for key in items: payload = json.loads(items[key]) + logger.info(f' calling: https://{opensearch_host}:9200/{api}/{key}') res = requests.put( url=f'https://{opensearch_host}:9200/{api}/{key}', auth=auth,