From d224903ec21a1b0557c3441e7a596e3da68f75c4 Mon Sep 17 00:00:00 2001 From: abidknashtech Date: Fri, 1 Dec 2023 13:36:04 +0530 Subject: [PATCH] GCP deployment phace-3 --- .../src/app/shared/services/car-details.service.ts | 12 ++++++------ car-ui/src/app/shared/services/cart.service.ts | 8 ++++---- projects-changes-deploy.txt | 3 +-- 3 files changed, 11 insertions(+), 12 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 99e729e5..08c33a18 100644 --- a/car-ui/src/app/shared/services/car-details.service.ts +++ b/car-ui/src/app/shared/services/car-details.service.ts @@ -8,14 +8,14 @@ import { CarBrand, CarDetails } from "../module/cars-details.model"; }) export class CarDetailsService { //GCP host - private brandsUrlGCP = "http://35.243.195.1/v1/data/brands"; - private carModelsUrlGCP = "http://35.243.195.1/v1/data/cars/"; - private addBulkDataGCP: string = "http://35.243.195.1/v1/data"; + private brandsUrlGCP = "http://34.138.247.208:8080/v1/data/brands"; + private carModelsUrlGCP = "http://34.138.247.208:8080/v1/data/cars/"; + private addBulkDataGCP: string = "http://34.138.247.208:8080/v1/data"; //azure host - private brandsUrlAzure = "http://40.88.227.104/v1/data/brands"; - private carModelsUrlAzure = "http://40.88.227.104/v1/data/cars/"; - private addBulkDataAzure: string = "http://40.88.227.104/v1/data"; + private brandsUrlAzure = "http://localhost/v1/data/brands"; + private carModelsUrlAzure = "http://localhost/v1/data/cars/"; + private addBulkDataAzure: string = "http://localhost/v1/data"; //private brandsUrlGCPSSE = "http://35.193.88.251/v1/data/brands-sse"; //private eventSource!: EventSource; diff --git a/car-ui/src/app/shared/services/cart.service.ts b/car-ui/src/app/shared/services/cart.service.ts index 3305b3fd..11432e08 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.23.248.115:9094/cart/get"; - private removeFromCartUrl :string = "http://34.23.248.115:9094/cart/remove"; - private addToCartUrl : string = "http://34.23.248.115:9094/cart/add"; + private getCartItemUrl : string = "http://34.75.16.102:9094/cart/get"; + private removeFromCartUrl :string = "http://34.75.16.102:9094/cart/remove"; + private addToCartUrl : string = "http://34.75.16.102:9094/cart/add"; //order service api - private placeOrderUrl :string = "http://35.196.63.112:9090/orders"; + private placeOrderUrl :string = "http://34.148.71.187: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 7666b1c5..a2d34583 100644 --- a/projects-changes-deploy.txt +++ b/projects-changes-deploy.txt @@ -1,2 +1 @@ -cart-service -admin-service \ No newline at end of file +car-ui \ No newline at end of file