diff --git a/cart-service/gcp-deploy-service.yaml b/cart-service/gcp-deploy-service.yaml index 90282154..1aa8d09a 100644 --- a/cart-service/gcp-deploy-service.yaml +++ b/cart-service/gcp-deploy-service.yaml @@ -108,6 +108,6 @@ metadata: name: cartservice-configmap data: # Configuration values can be set as key-value properties - MYSQL_HOST: 35.196.34.197 + MYSQL_HOST: 35.237.157.220 SERVICE_NAME: CartService INVENTORY_HOST: http://34.73.103.83:9091 diff --git a/cloud-function/gcpcloudfunction/gcpcarfunction.iml b/cloud-function/gcpcloudfunction/gcpcarfunction.iml deleted file mode 100644 index 9cb6dfbc..00000000 --- a/cloud-function/gcpcloudfunction/gcpcarfunction.iml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/deployment/gcpresources/terraform/main.tf b/deployment/gcpresources/terraform/main.tf index ab9e737a..140dd448 100644 --- a/deployment/gcpresources/terraform/main.tf +++ b/deployment/gcpresources/terraform/main.tf @@ -153,7 +153,7 @@ resource "google_container_cluster" "car-demo-gke" { enable_autopilot = true deletion_protection = false node_config { - machine_type = "e2-medium" + machine_type = "n2-standard-2" } } @@ -187,6 +187,7 @@ resource "null_resource" "axon-server-gke" { } #GKE Cluster for elasticsearch +/* resource "google_container_cluster" "elasticsearch-server-gke" { name = "elasticsearch-server-gke" location = var.gcp_region_1 @@ -206,6 +207,7 @@ resource "null_resource" "elasticsearch-server-gke" { } depends_on = [google_container_cluster.elasticsearch-server-gke] } +*/ #----------------------GCP firestore---------------------------- /* @@ -233,7 +235,8 @@ resource "google_storage_bucket" "function_bucket" { data "archive_file" "source" { type = "zip" output_path = "/tmp/function-source.zip" - source_dir = "/home/knoldus/IdeaProjects/car-demo/cloud-function/gcpcarfunction" + source_dir = "[ CLOUD-FUNCTION ABSOLUTE PATH ]" + // ex. "/home/knoldus/IdeaProjects/car-demo/cloud-function/gcpcarfunction" } resource "google_storage_bucket_object" "zip" { diff --git a/elastic-search/gcp-deploy-service.yaml b/elastic-search/gcp-deploy-service.yaml index 5a18afca..0157ec7b 100644 --- a/elastic-search/gcp-deploy-service.yaml +++ b/elastic-search/gcp-deploy-service.yaml @@ -60,6 +60,6 @@ data: SERVICE_NAME: ElasticsearchService GCP_PROJECT_ID: datamesh-2 PUB_SUB_SUBSCRIPTION: vehicle-subscription - ELASTICSEARCH_HOST: 34.73.12.63 + ELASTICSEARCH_HOST: 34.23.97.151 ELASTICSEARCH_PORT: 9200 PUB_SUB_TOPIC_ID: vehicle diff --git a/inventory-service/gcp-deploy-service.yaml b/inventory-service/gcp-deploy-service.yaml index 657d8819..1e9ce26f 100644 --- a/inventory-service/gcp-deploy-service.yaml +++ b/inventory-service/gcp-deploy-service.yaml @@ -116,8 +116,8 @@ metadata: name: inventory-configmap data: # Configuration values can be set as key-value properties - MYSQL_HOST: 35.237.239.230 - AXON_HOST: 34.139.45.85:8124 + MYSQL_HOST: 35.237.157.220 + AXON_HOST: 34.74.53.130:8124 SERVICE_NAME: InventoryService GCP_PROJECT_ID: datamesh-2 PRODUCT_SUBSCRIPTION: inventory_subscription diff --git a/order-service/gcp-deploy-services.yaml b/order-service/gcp-deploy-services.yaml index cc922c1b..9eed3929 100644 --- a/order-service/gcp-deploy-services.yaml +++ b/order-service/gcp-deploy-services.yaml @@ -109,6 +109,6 @@ metadata: name: orderservice-configmap data: # Configuration values can be set as key-value properties - MYSQL_HOST: 335.237.239.230 - AXON_HOST: 34.139.45.85:8124 + MYSQL_HOST: 35.237.157.220 + AXON_HOST: 34.74.53.130:8124 SERVICE_NAME: OrderService diff --git a/payment-service/gcp-deploy-service.yaml b/payment-service/gcp-deploy-service.yaml index 54a6d571..a1956fa7 100644 --- a/payment-service/gcp-deploy-service.yaml +++ b/payment-service/gcp-deploy-service.yaml @@ -106,6 +106,6 @@ metadata: name: payment-configmap data: # Configuration values can be set as key-value properties - MYSQL_HOST: 35.237.239.230 - AXON_HOST: 34.139.45.85:8124 + MYSQL_HOST: 35.237.157.220 + AXON_HOST: 34.74.53.130:8124 SERVICE_NAME: PaymentService diff --git a/shipment-service/gcp-deploy-service.yaml b/shipment-service/gcp-deploy-service.yaml index 9b4e5d3b..9638ef9d 100644 --- a/shipment-service/gcp-deploy-service.yaml +++ b/shipment-service/gcp-deploy-service.yaml @@ -116,8 +116,8 @@ metadata: name: shipment-configmap data: # Configuration values can be set as key-value properties - MYSQL_HOST: 35.237.239.230 - AXON_HOST: 34.139.45.85:8124 + MYSQL_HOST: 35.237.157.220 + AXON_HOST: 34.74.53.130:8124 GCP_PROJECT_ID: datamesh-2 PUB_SUB_TOPIC_ID: shipment-notification SERVICE_NAME: ShipmentService