From 2dd86287e4e95c761cc564b2a9d42da09687b647 Mon Sep 17 00:00:00 2001 From: abidknashtech Date: Thu, 30 Nov 2023 20:02:31 +0530 Subject: [PATCH] GCP deployment pahce-3 --- car-ui/src/app/shared/services/car-details.service.ts | 2 +- car-ui/src/app/shared/services/cart.service.ts | 4 ++-- projects-changes-deploy.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/car-ui/src/app/shared/services/car-details.service.ts b/car-ui/src/app/shared/services/car-details.service.ts index 54afa45f..58ad6d16 100644 --- a/car-ui/src/app/shared/services/car-details.service.ts +++ b/car-ui/src/app/shared/services/car-details.service.ts @@ -7,7 +7,7 @@ import { CarBrand, CarDetails } from "../module/cars-details.model"; providedIn: "root", }) export class CarDetailsService { - private const ADMIN_GCP_HOST = `localhost`; + private const ADMIN_GCP_HOST = `35.243.195.1`; //GCP host private brandsUrlGCP = "http://${this.ADMIN_GCP_HOST}/v1/data/brands"; diff --git a/car-ui/src/app/shared/services/cart.service.ts b/car-ui/src/app/shared/services/cart.service.ts index 25cbf605..cfc5600a 100644 --- a/car-ui/src/app/shared/services/cart.service.ts +++ b/car-ui/src/app/shared/services/cart.service.ts @@ -11,8 +11,8 @@ export class CartService { private cartItemCountSubject: BehaviorSubject; cartItemCount$: Observable; - private const CART_HOST = `localhost`; - private const ORDER_HOST = 'localhost'; + private const CART_HOST = `34.23.248.115`; + private const ORDER_HOST = '35.196.63.112'; private getCartItemUrl : string = "http://${this.CART_HOST}:9094/cart/get"; private removeFromCartUrl :string = "http://${this.CART_HOST}:9094/cart/remove"; private addToCartUrl : string = "http://${this.CART_HOST}:9094/cart/add"; diff --git a/projects-changes-deploy.txt b/projects-changes-deploy.txt index a1d822a3..a2d34583 100644 --- a/projects-changes-deploy.txt +++ b/projects-changes-deploy.txt @@ -1 +1 @@ -cart-service \ No newline at end of file +car-ui \ No newline at end of file