From cc7b33484a0da56996fb16bb8111c4dcbd7e9d32 Mon Sep 17 00:00:00 2001 From: Avni Salhotra <132402145+avni-work@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:28:28 -0700 Subject: [PATCH] Testing valut config mapping (#178) * Add code owner for strr-api directory * adding thor as a codeowner for strr-api * add pay_api_version and comment out sub audience --- queue_services/strr-pay/src/strr_pay/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/queue_services/strr-pay/src/strr_pay/config.py b/queue_services/strr-pay/src/strr_pay/config.py index 8f465288..ba3b3fbd 100644 --- a/queue_services/strr-pay/src/strr_pay/config.py +++ b/queue_services/strr-pay/src/strr_pay/config.py @@ -82,7 +82,7 @@ class Config: # pylint: disable=too-few-public-methods PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) - PAYMENT_SVC_URL = os.getenv("PAYMENT_SVC_URL", "") + PAYMENT_SVC_URL = os.getenv("PAY_API_URL", "") + os.getenv("PAY_API_VERSION", "") SENTRY_DSN = os.getenv("SENTRY_DSN", None) @@ -92,8 +92,8 @@ class Config: # pylint: disable=too-few-public-methods PUBLISHER_AUDIENCE = os.getenv( "PUBLISHER_AUDIENCE", "https://pubsub.googleapis.com/google.pubsub.v1.Publisher" ) - SUB_AUDIENCE = os.getenv("SUB_AUDIENCE", "") - SUB_SERVICE_ACCOUNT = os.getenv("SUB_SERVICE_ACCOUNT", "") + # SUB_AUDIENCE = os.getenv("SUB_AUDIENCE", "") + # SUB_SERVICE_ACCOUNT = os.getenv("SUB_SERVICE_ACCOUNT", "") SQLALCHEMY_TRACK_MODIFICATIONS = False