From 2cb8e78b80e88785a73f988e0f2874211bf8294f Mon Sep 17 00:00:00 2001 From: JazzarKarim Date: Fri, 5 Apr 2024 11:23:45 -0700 Subject: [PATCH 1/3] fixed vaults.gcp.env for entity-pay --- queue_services/entity-pay/devops/vaults.gcp.env | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/queue_services/entity-pay/devops/vaults.gcp.env b/queue_services/entity-pay/devops/vaults.gcp.env index 74cf07cc7e..3281c69063 100644 --- a/queue_services/entity-pay/devops/vaults.gcp.env +++ b/queue_services/entity-pay/devops/vaults.gcp.env @@ -1,12 +1,14 @@ +AUDIENCE="op://gcp-queue/$APP_ENV/payment/AUDIENCE" +ENTITY_FILER_TOPIC="op://gcp-queue/$APP_ENV/payment/ENTITY_FILER_TOPIC" +ENTITY_MAILER_TOPIC="op://gcp-queue/$APP_ENV/payment/ENTITY_MAILER_TOPIC" DATABASE_NAME="op://database/$APP_ENV/business-db/DATABASE_NAME" DATABASE_PASSWORD="op://database/$APP_ENV/business-db/DATABASE_PASSWORD" DATABASE_PORT="op://database/$APP_ENV/business-db/DATABASE_PORT" DATABASE_UNIX_SOCKET="op://database/$APP_ENV/business-db/DATABASE_UNIX_SOCKET" DATABASE_USERNAME="op://database/$APP_ENV/business-db/DATABASE_USERNAME" +GCP_AUTH_KEY="op://gcp-queue/$APP_ENV/payment/GCP_AUTH_KEY" PAY_API_URL="op://API/$APP_ENV/pay-api/PAY_API_URL" PAY_API_VERSION="op://API/$APP_ENV/pay-api/PAY_API_VERSION" -AUDIENCE="op://gcp-queue/$APP_ENV/payment/AUDIENCE" -TOPIC_NAME="op://gcp-queue/$APP_ENV/payment/TOPIC_NAME" PUBLISHER_AUDIENCE="op://gcp-queue/$APP_ENV/payment/PUBLISHER_AUDIENCE" -GCP_AUTH_KEY="op://gcp-queue/$APP_ENV/payment/GCP_AUTH_KEY" +TOPIC_NAME="op://gcp-queue/$APP_ENV/payment/TOPIC_NAME" SENTRY_DSN="" \ No newline at end of file From daa94511981fd132046eff724f90df147fae525b Mon Sep 17 00:00:00 2001 From: JazzarKarim Date: Fri, 5 Apr 2024 11:43:55 -0700 Subject: [PATCH 2/3] updated in response to Argus' comment --- queue_services/entity-filer/devops/vaults.gcp.env | 2 +- queue_services/entity-pay/devops/vaults.gcp.env | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/queue_services/entity-filer/devops/vaults.gcp.env b/queue_services/entity-filer/devops/vaults.gcp.env index 0f2e929227..290d1899a7 100644 --- a/queue_services/entity-filer/devops/vaults.gcp.env +++ b/queue_services/entity-filer/devops/vaults.gcp.env @@ -32,7 +32,7 @@ NATS_FILER_SUBJECT="op://nats/$APP_ENV/nats-filer/NATS_FILER_SUBJECT" NATS_ENTITY_EVENT_SUBJECT="op://nats/$APP_ENV/nats-filer/NATS_ENTITY_EVENT_SUBJECT" NATS_EMAILER_SUBJECT="op://nats/$APP_ENV/nats-emailer/NATS_EMAILER_SUBJECT" AUDIENCE="op://gcp-queue/$APP_ENV/payment/AUDIENCE" -TOPIC_NAME="op://gcp-queue/$APP_ENV/filer/TOPIC_NAME" +TOPIC_NAME="op://gcp-queue/$APP_ENV/topics/ENTITY_FILER_TOPIC" PUBLISHER_AUDIENCE="op://gcp-queue/$APP_ENV/payment/PUBLISHER_AUDIENCE" GCP_AUTH_KEY="op://gcp-queue/$APP_ENV/payment/GCP_AUTH_KEY" SENTRY_DSN="" \ No newline at end of file diff --git a/queue_services/entity-pay/devops/vaults.gcp.env b/queue_services/entity-pay/devops/vaults.gcp.env index 3281c69063..45b85aafd9 100644 --- a/queue_services/entity-pay/devops/vaults.gcp.env +++ b/queue_services/entity-pay/devops/vaults.gcp.env @@ -1,6 +1,6 @@ AUDIENCE="op://gcp-queue/$APP_ENV/payment/AUDIENCE" -ENTITY_FILER_TOPIC="op://gcp-queue/$APP_ENV/payment/ENTITY_FILER_TOPIC" -ENTITY_MAILER_TOPIC="op://gcp-queue/$APP_ENV/payment/ENTITY_MAILER_TOPIC" +ENTITY_FILER_TOPIC="op://gcp-queue/$APP_ENV/topics/ENTITY_FILER_TOPIC" +ENTITY_MAILER_TOPIC="op://gcp-queue/$APP_ENV/topics/ENTITY_MAILER_TOPIC" DATABASE_NAME="op://database/$APP_ENV/business-db/DATABASE_NAME" DATABASE_PASSWORD="op://database/$APP_ENV/business-db/DATABASE_PASSWORD" DATABASE_PORT="op://database/$APP_ENV/business-db/DATABASE_PORT" From d9f05f9aa5ce4248a3af24443a3f12e7d508274d Mon Sep 17 00:00:00 2001 From: JazzarKarim Date: Fri, 5 Apr 2024 11:58:14 -0700 Subject: [PATCH 3/3] reverted topic name change --- queue_services/entity-filer/devops/vaults.gcp.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queue_services/entity-filer/devops/vaults.gcp.env b/queue_services/entity-filer/devops/vaults.gcp.env index 290d1899a7..0f2e929227 100644 --- a/queue_services/entity-filer/devops/vaults.gcp.env +++ b/queue_services/entity-filer/devops/vaults.gcp.env @@ -32,7 +32,7 @@ NATS_FILER_SUBJECT="op://nats/$APP_ENV/nats-filer/NATS_FILER_SUBJECT" NATS_ENTITY_EVENT_SUBJECT="op://nats/$APP_ENV/nats-filer/NATS_ENTITY_EVENT_SUBJECT" NATS_EMAILER_SUBJECT="op://nats/$APP_ENV/nats-emailer/NATS_EMAILER_SUBJECT" AUDIENCE="op://gcp-queue/$APP_ENV/payment/AUDIENCE" -TOPIC_NAME="op://gcp-queue/$APP_ENV/topics/ENTITY_FILER_TOPIC" +TOPIC_NAME="op://gcp-queue/$APP_ENV/filer/TOPIC_NAME" PUBLISHER_AUDIENCE="op://gcp-queue/$APP_ENV/payment/PUBLISHER_AUDIENCE" GCP_AUTH_KEY="op://gcp-queue/$APP_ENV/payment/GCP_AUTH_KEY" SENTRY_DSN="" \ No newline at end of file