Skip to content

Commit

Permalink
GCP deployment phace-3
Browse files Browse the repository at this point in the history
  • Loading branch information
abidknashtech committed Dec 6, 2023
1 parent 9fd378c commit 7d11d56
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions car-ui/src/app/shared/services/car-details.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
8 changes: 4 additions & 4 deletions car-ui/src/app/shared/services/cart.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export class CartService {
cartItemCount$: Observable<number>;

//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);
Expand Down
2 changes: 1 addition & 1 deletion projects-changes-deploy.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cart-service
car-ui

0 comments on commit 7d11d56

Please sign in to comment.