From 7d11d567bdc69c8bc12f92fb3c893f28638f2d83 Mon Sep 17 00:00:00 2001 From: abidknashtech Date: Wed, 6 Dec 2023 11:43:24 +0530 Subject: [PATCH] GCP deployment phace-3 --- car-ui/src/app/shared/services/car-details.service.ts | 6 +++--- car-ui/src/app/shared/services/cart.service.ts | 8 ++++---- projects-changes-deploy.txt | 2 +- 3 files changed, 8 insertions(+), 8 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 db427bfe..e3bea99a 100644 --- a/car-ui/src/app/shared/services/car-details.service.ts +++ b/car-ui/src/app/shared/services/car-details.service.ts @@ -8,9 +8,9 @@ import { CarBrand, CarDetails } from "../module/cars-details.model"; }) export class CarDetailsService { //GCP host - private brandsUrlGCP = "http://104.196.67.100/v1/data/brands"; - private carModelsUrlGCP = "http://104.196.67.100/v1/data/cars/"; - private addBulkDataGCP: string = "http://104.196.67.100/v1/data"; + private brandsUrlGCP = "http://34.73.26.229/v1/data/brands"; + private carModelsUrlGCP = "http://34.73.26.229/v1/data/cars/"; + private addBulkDataGCP: string = "http://34.73.26.229/v1/data"; //azure host private brandsUrlAzure = "http://localhost/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 edcfac2b..ea4255b7 100644 --- a/car-ui/src/app/shared/services/cart.service.ts +++ b/car-ui/src/app/shared/services/cart.service.ts @@ -13,11 +13,11 @@ export class CartService { cartItemCount$: Observable; //cart service api - private getCartItemUrl : string = "http://34.138.206.73:9094/cart/get"; - private removeFromCartUrl :string = "http://34.138.206.73:9094/cart/remove"; - private addToCartUrl : string = "http://34.138.206.73:9094/cart/add"; + private getCartItemUrl : string = "http://35.237.176.209:9094/cart/get"; + private removeFromCartUrl :string = "http://35.237.176.209:9094/cart/remove"; + private addToCartUrl : string = "http://35.237.176.209:9094/cart/add"; //order service api - private placeOrderUrl :string = "http://35.231.54.205:9090/orders"; + private placeOrderUrl :string = "http://35.196.154.210:9090/orders"; constructor(private httpClient: HttpClient) { const initialCount = parseInt(localStorage.getItem('cartCount') || '0', 10); diff --git a/projects-changes-deploy.txt b/projects-changes-deploy.txt index 86d08c93..1434ad97 100644 --- a/projects-changes-deploy.txt +++ b/projects-changes-deploy.txt @@ -1 +1 @@ -cart-service +car-ui