Skip to content

Commit

Permalink
Small comment notes and rearrangements
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed May 6, 2024
1 parent 594d84a commit dace4ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion auth-api/src/auth_api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class _Config: # pylint: disable=too-few-public-methods
LEAR_AFFILIATION_DETAILS_URL = f'{LEGAL_API_URL + LEGAL_API_VERSION_2}/businesses/search'
NAMEX_AFFILIATION_DETAILS_URL = f'{NAMEX_API_URL}/requests/search'

# PUB/SUB
# PUB/SUB - PUB: account-mailer-dev, auth-event-dev
GCP_AUTH_KEY = os.getenv('GCP_AUTH_KEY', None)
ACCOUNT_MAILER_TOPIC = os.getenv('ACCOUNT_MAILER_TOPIC', 'account-mailer-dev')
AUTH_EVENT_TOPIC = os.getenv('AUTH_EVENT_TOPIC', 'auth-event-dev')
Expand Down
4 changes: 2 additions & 2 deletions queue_services/account-mailer/src/account_mailer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ class _Config(): # pylint: disable=too-few-public-methods
NOTIFY_API_URL = os.getenv('NOTIFY_API_URL')
REPORT_API_BASE_URL = f'{os.getenv("REPORT_API_URL")}/reports'

# PUB/SUB
# SUBSCRIBES TO THIS TOPIC: account-mailer-dev
# PUB/SUB - SUB: account-mailer-dev
# If blank in PUB/SUB, this should match the https endpoint the subscription is pushing to.
AUTH_SUB_AUDIENCE = os.getenv('AUTH_SUB_AUDIENCE')
VERIFY_PUBSUB_EMAILS = os.getenv('VERIFY_PUBSUB_EMAILS', 'email1,email2').split(',')

Expand Down
10 changes: 5 additions & 5 deletions queue_services/auth-queue/src/auth_queue/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ class _Config: # pylint: disable=too-few-public-methods
DB_PORT = os.getenv('DATABASE_PORT', '5432')
SQLALCHEMY_DATABASE_URI = f'postgresql://{DB_USER}:{DB_PASSWORD}@{DB_HOST}:{int(DB_PORT)}/{DB_NAME}'

# PUB/SUB
# SUBSCRIBES TO THESE TOPICS: auth-event-dev and namex-nr-state-dev
GCP_AUTH_KEY = os.getenv('GCP_AUTH_KEY', None)
# PUB/SUB - PUB: account-mailer-dev, SUB: auth-event-dev and namex-nr-state-dev
ACCOUNT_MAILER_TOPIC = os.getenv('ACCOUNT_MAILER_TOPIC', 'account-mailer-dev')
AUTH_SUB_AUDIENCE = os.getenv('AUTH_SUB_AUDIENCE')
GCP_AUTH_KEY = os.getenv('GCP_AUTH_KEY', None)
# If blank in PUB/SUB, this should match the https endpoint the subscription is pushing to.
VERIFY_PUBSUB_EMAILS = os.getenv('VERIFY_PUBSUB_EMAILS', 'email1,email2').split(',')
ACCOUNT_MAILER_TOPIC = os.getenv('ACCOUNT_MAILER_TOPIC', 'account-mailer-dev')


PAY_API_URL = os.getenv('PAY_API_URL') + os.getenv('PAY_API_VERSION')

# Service account details
Expand Down

0 comments on commit dace4ab

Please sign in to comment.