diff --git a/.env b/.env index 501ea59ac1..02d6da5e4b 100644 --- a/.env +++ b/.env @@ -54,9 +54,9 @@ AD_ADDR=ad:${AD_PORT} AD_DOCKERFILE=./src/ad/Dockerfile # Cart Service -CART_SERVICE_PORT=7070 -CART_SERVICE_ADDR=cartservice:${CART_SERVICE_PORT} -CART_SERVICE_DOCKERFILE=./src/cartservice/src/Dockerfile +CART_PORT=7070 +CART_ADDR=cart:${CART_PORT} +CART_DOCKERFILE=./src/cart/src/Dockerfile # Checkout Service CHECKOUT_SERVICE_PORT=5050 diff --git a/.github/workflows/component-build-images.yml b/.github/workflows/component-build-images.yml index 811e9bd524..f1733c1ee8 100644 --- a/.github/workflows/component-build-images.yml +++ b/.github/workflows/component-build-images.yml @@ -59,8 +59,8 @@ jobs: tag_suffix: ad context: ./ setup-qemu: true - - file: ./src/cartservice/src/Dockerfile - tag_suffix: cartservice + - file: ./src/cart/src/Dockerfile + tag_suffix: cart context: ./ setup-qemu: false - file: ./src/checkoutservice/Dockerfile diff --git a/.gitignore b/.gitignore index 11243be1e7..d63384d14e 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,7 @@ test/tracetesting/tracetesting-vars.yaml # Ignore copied/generated protobuf files /src/accounting/src/protos/ -/src/cartservice/src/protos/ +/src/cart/src/protos/ /src/featureflagservice/proto/ /src/featureflagservice/src/ffs_demo_pb.erl /src/featureflagservice/src/ffs_service_*.erl diff --git a/.licenserc.json b/.licenserc.json index 410195e9e1..fe6d6fa34f 100644 --- a/.licenserc.json +++ b/.licenserc.json @@ -39,8 +39,8 @@ "ignore": [ "node_modules/", "/src/accounting/src/protos/", - "src/cartservice/src/obj/", - "src/cartservice/tests/obj/", + "src/cart/src/obj/", + "src/cart/tests/obj/", "src/checkoutservice/genproto/", "src/featureflagservice/assets/vendor/", "src/featureflagservice/priv/", diff --git a/CHANGELOG.md b/CHANGELOG.md index dbea49621c..fbaefcb1d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,8 @@ the release. ([#1840](https://github.com/open-telemetry/opentelemetry-demo/pull/1840)) * [otel-collector] rename otelcol to otel-collector ([#1841](https://github.com/open-telemetry/opentelemetry-demo/pull/1841)) +* [cart] rename cartservice to cart + ([#1839](https://github.com/open-telemetry/opentelemetry-demo/pull/1839)) ## 1.12.0 diff --git a/docker-compose-tests.yml b/docker-compose-tests.yml index 1a4d7577c4..6d388d46c2 100644 --- a/docker-compose-tests.yml +++ b/docker-compose-tests.yml @@ -38,7 +38,7 @@ services: TRACETEST_IMAGE_VERSION: ${TRACETEST_IMAGE_VERSION} environment: - AD_ADDR - - CART_SERVICE_ADDR + - CART_ADDR - CHECKOUT_SERVICE_ADDR - CURRENCY_SERVICE_ADDR - EMAIL_SERVICE_ADDR @@ -61,7 +61,7 @@ services: condition: service_started ad: condition: service_started - cartservice: + cart: condition: service_started checkoutservice: condition: service_started diff --git a/docker-compose.minimal.yml b/docker-compose.minimal.yml index b9b73a7707..71b66a05e4 100644 --- a/docker-compose.minimal.yml +++ b/docker-compose.minimal.yml @@ -50,29 +50,29 @@ services: logging: *logging # Cart service - cartservice: - image: ${IMAGE_NAME}:${DEMO_VERSION}-cartservice + cart: + image: ${IMAGE_NAME}:${DEMO_VERSION}-cart container_name: cart-service build: context: ./ - dockerfile: ${CART_SERVICE_DOCKERFILE} + dockerfile: ${CART_DOCKERFILE} cache_from: - - ${IMAGE_NAME}:${IMAGE_VERSION}-cartservice + - ${IMAGE_NAME}:${IMAGE_VERSION}-cart deploy: resources: limits: memory: 160M restart: unless-stopped ports: - - "${CART_SERVICE_PORT}" + - "${CART_PORT}" environment: - - CART_SERVICE_PORT + - CART_PORT - FLAGD_HOST - VALKEY_ADDR - OTEL_EXPORTER_OTLP_ENDPOINT - OTEL_RESOURCE_ATTRIBUTES - - OTEL_SERVICE_NAME=cartservice - - ASPNETCORE_URLS=http://*:${CART_SERVICE_PORT} + - OTEL_SERVICE_NAME=cart + - ASPNETCORE_URLS=http://*:${CART_PORT} depends_on: valkey-cart: condition: service_started @@ -98,7 +98,7 @@ services: - "${CHECKOUT_SERVICE_PORT}" environment: - CHECKOUT_SERVICE_PORT - - CART_SERVICE_ADDR + - CART_ADDR - CURRENCY_SERVICE_ADDR - EMAIL_SERVICE_ADDR - FLAGD_HOST @@ -110,7 +110,7 @@ services: - OTEL_RESOURCE_ATTRIBUTES - OTEL_SERVICE_NAME=checkoutservice depends_on: - cartservice: + cart: condition: service_started currencyservice: condition: service_started @@ -200,7 +200,7 @@ services: - PORT=${FRONTEND_PORT} - FRONTEND_ADDR - AD_ADDR - - CART_SERVICE_ADDR + - CART_ADDR - CHECKOUT_SERVICE_ADDR - CURRENCY_SERVICE_ADDR - PRODUCT_CATALOG_SERVICE_ADDR @@ -219,7 +219,7 @@ services: depends_on: ad: condition: service_started - cartservice: + cart: condition: service_started checkoutservice: condition: service_started diff --git a/docker-compose.yml b/docker-compose.yml index 7d70f18b29..3bc8cde7ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -79,30 +79,30 @@ services: logging: *logging # Cart service - cartservice: - image: ${IMAGE_NAME}:${DEMO_VERSION}-cartservice + cart: + image: ${IMAGE_NAME}:${DEMO_VERSION}-cart container_name: cart-service build: context: ./ - dockerfile: ${CART_SERVICE_DOCKERFILE} + dockerfile: ${CART_DOCKERFILE} cache_from: - - ${IMAGE_NAME}:${IMAGE_VERSION}-cartservice + - ${IMAGE_NAME}:${IMAGE_VERSION}-cart deploy: resources: limits: memory: 160M restart: unless-stopped ports: - - "${CART_SERVICE_PORT}" + - "${CART_PORT}" environment: - - CART_SERVICE_PORT + - CART_PORT - FLAGD_HOST - FLAGD_PORT - VALKEY_ADDR - OTEL_EXPORTER_OTLP_ENDPOINT - OTEL_RESOURCE_ATTRIBUTES - - OTEL_SERVICE_NAME=cartservice - - ASPNETCORE_URLS=http://*:${CART_SERVICE_PORT} + - OTEL_SERVICE_NAME=cart + - ASPNETCORE_URLS=http://*:${CART_PORT} depends_on: valkey-cart: condition: service_started @@ -132,7 +132,7 @@ services: - FLAGD_HOST - FLAGD_PORT - CHECKOUT_SERVICE_PORT - - CART_SERVICE_ADDR + - CART_ADDR - CURRENCY_SERVICE_ADDR - EMAIL_SERVICE_ADDR - PAYMENT_SERVICE_ADDR @@ -144,7 +144,7 @@ services: - OTEL_RESOURCE_ATTRIBUTES - OTEL_SERVICE_NAME=checkoutservice depends_on: - cartservice: + cart: condition: service_started currencyservice: condition: service_started @@ -272,7 +272,7 @@ services: - PORT=${FRONTEND_PORT} - FRONTEND_ADDR - AD_ADDR - - CART_SERVICE_ADDR + - CART_ADDR - CHECKOUT_SERVICE_ADDR - CURRENCY_SERVICE_ADDR - PRODUCT_CATALOG_SERVICE_ADDR @@ -291,7 +291,7 @@ services: depends_on: ad: condition: service_started - cartservice: + cart: condition: service_started checkoutservice: condition: service_started diff --git a/docker-gen-proto.sh b/docker-gen-proto.sh index d75adb8aac..c7b7842418 100755 --- a/docker-gen-proto.sh +++ b/docker-gen-proto.sh @@ -23,7 +23,7 @@ gen_proto_python() { #gen_proto_dotnet accounting #gen_proto_java ad -#gen_proto_dotnet cartservice +#gen_proto_dotnet cart gen_proto_go checkoutservice #gen_proto_cpp currencyservice #gen_proto_ruby emailservice diff --git a/ide-gen-proto.sh b/ide-gen-proto.sh index bb4dc4e069..cd456f40c5 100755 --- a/ide-gen-proto.sh +++ b/ide-gen-proto.sh @@ -67,7 +67,7 @@ gen_proto_ts() { gen_proto_dotnet accounting # gen_proto_java ad -gen_proto_dotnet cartservice +gen_proto_dotnet cart gen_proto_go checkoutservice # gen_proto_cpp currencyservice # gen_proto_ruby emailservice diff --git a/renovate.json5 b/renovate.json5 index 2348ad4eef..ba6eaeee8e 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -23,8 +23,8 @@ "groupName": "ad", }, { - "matchFileNames": ["src/cartservice/**"], - "groupName": "cartservice", + "matchFileNames": ["src/cart/**"], + "groupName": "cart", }, { "matchFileNames": ["src/checkoutservice/**"], diff --git a/src/cartservice/NuGet.config b/src/cart/NuGet.config similarity index 100% rename from src/cartservice/NuGet.config rename to src/cart/NuGet.config diff --git a/src/cartservice/README.md b/src/cart/README.md similarity index 86% rename from src/cartservice/README.md rename to src/cart/README.md index fbc6fbc1ee..f2b2db6484 100644 --- a/src/cartservice/README.md +++ b/src/cart/README.md @@ -11,5 +11,5 @@ Run `dotnet restore` and `dotnet build`. From the root directory of this repository, run: ```sh -docker compose build cartservice +docker compose build cart ``` diff --git a/src/cartservice/cartservice.sln b/src/cart/cart.sln similarity index 89% rename from src/cartservice/cartservice.sln rename to src/cart/cart.sln index 8d32082529..6fedf6359f 100644 --- a/src/cartservice/cartservice.sln +++ b/src/cart/cart.sln @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26124.0 MinimumVisualStudioVersion = 15.0.26124.0 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cartservice", "src\cartservice.csproj", "{2348C29F-E8D3-4955-916D-D609CBC97FCB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cart", "src\cart.csproj", "{2348C29F-E8D3-4955-916D-D609CBC97FCB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cartservice.tests", "tests\cartservice.tests.csproj", "{59825342-CE64-4AFA-8744-781692C0811B}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cart.tests", "tests\cart.tests.csproj", "{59825342-CE64-4AFA-8744-781692C0811B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/cartservice/src/.dockerignore b/src/cart/src/.dockerignore similarity index 100% rename from src/cartservice/src/.dockerignore rename to src/cart/src/.dockerignore diff --git a/src/cartservice/src/Dockerfile b/src/cart/src/Dockerfile similarity index 79% rename from src/cartservice/src/Dockerfile rename to src/cart/src/Dockerfile index bf9ebcac19..9e4df98450 100644 --- a/src/cartservice/src/Dockerfile +++ b/src/cart/src/Dockerfile @@ -20,12 +20,12 @@ ARG TARGETARCH WORKDIR /usr/src/app/ -COPY ./src/cartservice/ ./ +COPY ./src/cart/ ./ COPY ./pb/ ./pb/ -RUN dotnet restore ./src/cartservice.csproj -r linux-musl-$TARGETARCH +RUN dotnet restore ./src/cart.csproj -r linux-musl-$TARGETARCH -RUN dotnet publish ./src/cartservice.csproj -r linux-musl-$TARGETARCH --no-restore -o /cartservice +RUN dotnet publish ./src/cart.csproj -r linux-musl-$TARGETARCH --no-restore -o /cart # ----------------------------------------------------------------------------- @@ -33,9 +33,9 @@ RUN dotnet publish ./src/cartservice.csproj -r linux-musl-$TARGETARCH --no-resto FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine3.20 WORKDIR /usr/src/app/ -COPY --from=builder /cartservice/ ./ +COPY --from=builder /cart/ ./ ENV DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false -EXPOSE ${CART_SERVICE_PORT} -ENTRYPOINT [ "./cartservice" ] +EXPOSE ${CART_PORT} +ENTRYPOINT [ "./cart" ] diff --git a/src/cartservice/src/Program.cs b/src/cart/src/Program.cs similarity index 98% rename from src/cartservice/src/Program.cs rename to src/cart/src/Program.cs index 6c52229ce4..365c7db35c 100644 --- a/src/cartservice/src/Program.cs +++ b/src/cart/src/Program.cs @@ -2,8 +2,8 @@ // SPDX-License-Identifier: Apache-2.0 using System; -using cartservice.cartstore; -using cartservice.services; +using cart.cartstore; +using cart.services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; diff --git a/src/cartservice/src/appsettings.json b/src/cart/src/appsettings.json similarity index 100% rename from src/cartservice/src/appsettings.json rename to src/cart/src/appsettings.json diff --git a/src/cartservice/src/cartservice.csproj b/src/cart/src/cart.csproj similarity index 100% rename from src/cartservice/src/cartservice.csproj rename to src/cart/src/cart.csproj diff --git a/src/cartservice/src/cartstore/ICartStore.cs b/src/cart/src/cartstore/ICartStore.cs similarity index 91% rename from src/cartservice/src/cartstore/ICartStore.cs rename to src/cart/src/cartstore/ICartStore.cs index fe85b175de..80e249e5d6 100644 --- a/src/cartservice/src/cartstore/ICartStore.cs +++ b/src/cart/src/cartstore/ICartStore.cs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 using System.Threading.Tasks; -namespace cartservice.cartstore; +namespace cart.cartstore; public interface ICartStore { diff --git a/src/cartservice/src/cartstore/ValkeyCartStore.cs b/src/cart/src/cartstore/ValkeyCartStore.cs similarity index 99% rename from src/cartservice/src/cartstore/ValkeyCartStore.cs rename to src/cart/src/cartstore/ValkeyCartStore.cs index 1a16dcc6c0..a486839ee8 100644 --- a/src/cartservice/src/cartstore/ValkeyCartStore.cs +++ b/src/cart/src/cartstore/ValkeyCartStore.cs @@ -10,7 +10,7 @@ using System.Diagnostics.Metrics; using System.Diagnostics; -namespace cartservice.cartstore; +namespace cart.cartstore; public class ValkeyCartStore : ICartStore { diff --git a/src/cartservice/src/services/CartService.cs b/src/cart/src/services/CartService.cs similarity index 97% rename from src/cartservice/src/services/CartService.cs rename to src/cart/src/services/CartService.cs index 093b3bda2d..5578f45fff 100644 --- a/src/cartservice/src/services/CartService.cs +++ b/src/cart/src/services/CartService.cs @@ -4,11 +4,11 @@ using System.Threading.Tasks; using System; using Grpc.Core; -using cartservice.cartstore; +using cart.cartstore; using OpenFeature; using Oteldemo; -namespace cartservice.services; +namespace cart.services; public class CartService : Oteldemo.CartService.CartServiceBase { @@ -80,7 +80,7 @@ public override async Task EmptyCart(EmptyCartRequest request, ServerCall try { - if (await _featureFlagHelper.GetBooleanValueAsync("cartServiceFailure", false)) + if (await _featureFlagHelper.GetBooleanValueAsync("cartFailure", false)) { await _badCartStore.EmptyCartAsync(request.UserId); } diff --git a/src/cartservice/tests/CartServiceTests.cs b/src/cart/tests/CartServiceTests.cs similarity index 99% rename from src/cartservice/tests/CartServiceTests.cs rename to src/cart/tests/CartServiceTests.cs index 372b10cc41..45173d1432 100644 --- a/src/cartservice/tests/CartServiceTests.cs +++ b/src/cart/tests/CartServiceTests.cs @@ -9,7 +9,7 @@ using Xunit; using static Oteldemo.CartService; -namespace cartservice.tests; +namespace cart.tests; public class CartServiceTests { diff --git a/src/cartservice/tests/cartservice.tests.csproj b/src/cart/tests/cart.tests.csproj similarity index 92% rename from src/cartservice/tests/cartservice.tests.csproj rename to src/cart/tests/cart.tests.csproj index fd079fc30f..c7ef905f72 100644 --- a/src/cartservice/tests/cartservice.tests.csproj +++ b/src/cart/tests/cart.tests.csproj @@ -16,6 +16,6 @@ - + diff --git a/src/checkoutservice/main.go b/src/checkoutservice/main.go index c67251aaab..3258976320 100644 --- a/src/checkoutservice/main.go +++ b/src/checkoutservice/main.go @@ -177,7 +177,7 @@ func main() { svc.productCatalogSvcClient = pb.NewProductCatalogServiceClient(c) defer c.Close() - mustMapEnv(&svc.cartSvcAddr, "CART_SERVICE_ADDR") + mustMapEnv(&svc.cartSvcAddr, "CART_ADDR") c = mustCreateClient(svc.cartSvcAddr) svc.cartSvcClient = pb.NewCartServiceClient(c) defer c.Close() diff --git a/src/flagd/demo.flagd.json b/src/flagd/demo.flagd.json index 3c55a93ef0..452e334418 100644 --- a/src/flagd/demo.flagd.json +++ b/src/flagd/demo.flagd.json @@ -55,7 +55,7 @@ }, "defaultVariant": "off" }, - "cartServiceFailure": { + "cartFailure": { "description": "Fail cart service", "state": "ENABLED", "variants": { diff --git a/src/frontend/gateways/rpc/Cart.gateway.ts b/src/frontend/gateways/rpc/Cart.gateway.ts index ba025e609e..25dfc87a41 100644 --- a/src/frontend/gateways/rpc/Cart.gateway.ts +++ b/src/frontend/gateways/rpc/Cart.gateway.ts @@ -4,9 +4,9 @@ import { ChannelCredentials } from '@grpc/grpc-js'; import { Cart, CartItem, CartServiceClient, Empty } from '../../protos/demo'; -const { CART_SERVICE_ADDR = '' } = process.env; +const { CART_ADDR = '' } = process.env; -const client = new CartServiceClient(CART_SERVICE_ADDR, ChannelCredentials.createInsecure()); +const client = new CartServiceClient(CART_ADDR, ChannelCredentials.createInsecure()); const CartGateway = () => ({ getCart(userId: string) { diff --git a/src/frontend/next.config.js b/src/frontend/next.config.js index e7ee99bd0c..e81a2ebc80 100755 --- a/src/frontend/next.config.js +++ b/src/frontend/next.config.js @@ -14,7 +14,7 @@ dotenvExpand.expand(myEnv); const { AD_ADDR = '', - CART_SERVICE_ADDR = '', + CART_ADDR = '', CHECKOUT_SERVICE_ADDR = '', CURRENCY_SERVICE_ADDR = '', PRODUCT_CATALOG_SERVICE_ADDR = '', @@ -46,7 +46,7 @@ const nextConfig = { }, env: { AD_ADDR, - CART_SERVICE_ADDR, + CART_ADDR, CHECKOUT_SERVICE_ADDR, CURRENCY_SERVICE_ADDR, PRODUCT_CATALOG_SERVICE_ADDR, diff --git a/test/tracetesting/cartservice/add-item-to-cart.yaml b/test/tracetesting/cart/add-item-to-cart.yaml similarity index 96% rename from test/tracetesting/cartservice/add-item-to-cart.yaml rename to test/tracetesting/cart/add-item-to-cart.yaml index 61af56c9f6..c42b1f21df 100644 --- a/test/tracetesting/cartservice/add-item-to-cart.yaml +++ b/test/tracetesting/cart/add-item-to-cart.yaml @@ -10,7 +10,7 @@ spec: type: grpc grpc: protobufFile: ../../../pb/demo.proto - address: ${var:CART_SERVICE_ADDR} + address: ${var:CART_ADDR} method: oteldemo.CartService.AddItem request: |- { diff --git a/test/tracetesting/cartservice/all.yaml b/test/tracetesting/cart/all.yaml similarity index 100% rename from test/tracetesting/cartservice/all.yaml rename to test/tracetesting/cart/all.yaml diff --git a/test/tracetesting/cartservice/check-if-cart-is-empty.yaml b/test/tracetesting/cart/check-if-cart-is-empty.yaml similarity index 95% rename from test/tracetesting/cartservice/check-if-cart-is-empty.yaml rename to test/tracetesting/cart/check-if-cart-is-empty.yaml index bb3977b084..de9f409b5d 100644 --- a/test/tracetesting/cartservice/check-if-cart-is-empty.yaml +++ b/test/tracetesting/cart/check-if-cart-is-empty.yaml @@ -10,7 +10,7 @@ spec: type: grpc grpc: protobufFile: ../../../pb/demo.proto - address: ${var:CART_SERVICE_ADDR} + address: ${var:CART_ADDR} method: oteldemo.CartService.GetCart request: |- { diff --git a/test/tracetesting/cartservice/check-if-cart-is-populated.yaml b/test/tracetesting/cart/check-if-cart-is-populated.yaml similarity index 95% rename from test/tracetesting/cartservice/check-if-cart-is-populated.yaml rename to test/tracetesting/cart/check-if-cart-is-populated.yaml index 3e1fad6790..db753c1e33 100644 --- a/test/tracetesting/cartservice/check-if-cart-is-populated.yaml +++ b/test/tracetesting/cart/check-if-cart-is-populated.yaml @@ -10,7 +10,7 @@ spec: type: grpc grpc: protobufFile: ../../../pb/demo.proto - address: ${var:CART_SERVICE_ADDR} + address: ${var:CART_ADDR} method: oteldemo.CartService.GetCart request: |- { diff --git a/test/tracetesting/cartservice/empty-cart.yaml b/test/tracetesting/cart/empty-cart.yaml similarity index 95% rename from test/tracetesting/cartservice/empty-cart.yaml rename to test/tracetesting/cart/empty-cart.yaml index ddf4d63208..bc97074858 100644 --- a/test/tracetesting/cartservice/empty-cart.yaml +++ b/test/tracetesting/cart/empty-cart.yaml @@ -10,7 +10,7 @@ spec: type: grpc grpc: protobufFile: ../../../pb/demo.proto - address: ${var:CART_SERVICE_ADDR} + address: ${var:CART_ADDR} method: oteldemo.CartService.EmptyCart request: |- { diff --git a/test/tracetesting/run.bash b/test/tracetesting/run.bash index dbcd65421f..ce2f914d1f 100755 --- a/test/tracetesting/run.bash +++ b/test/tracetesting/run.bash @@ -8,7 +8,7 @@ set -e # Availalble services to test -ALL_SERVICES=("ad" "cartservice" "currencyservice" "checkoutservice" "frontend" "emailservice" "paymentservice" "productcatalogservice" "recommendationservice" "shippingservice") +ALL_SERVICES=("ad" "cart" "currencyservice" "checkoutservice" "frontend" "emailservice" "paymentservice" "productcatalogservice" "recommendationservice" "shippingservice") ## Script variables # Will contain the list of services to test @@ -36,8 +36,8 @@ spec: values: - key: AD_ADDR value: $AD_ADDR - - key: CART_SERVICE_ADDR - value: $CART_SERVICE_ADDR + - key: CART_ADDR + value: $CART_ADDR - key: CHECKOUT_SERVICE_ADDR value: $CHECKOUT_SERVICE_ADDR - key: CURRENCY_SERVICE_ADDR