Skip to content

Commit

Permalink
not used
Browse files Browse the repository at this point in the history
  • Loading branch information
bolyachevets committed Sep 27, 2024
1 parent e553469 commit 39b5bd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
5 changes: 0 additions & 5 deletions queue_services/account-mailer/devops/vaults.gcp.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ DATABASE_PASSWORD="op://database/$APP_ENV/auth-db-gcp/DATABASE_PASSWORD"
DATABASE_PORT="op://database/$APP_ENV/auth-db-gcp/DATABASE_PORT"
DATABASE_NAME="op://database/$APP_ENV/auth-db-gcp/DATABASE_NAME"
DATABASE_UNIX_SOCKET="op://database/$APP_ENV/auth-db-gcp/DATABASE_UNIX_SOCKET"
JWT_OIDC_ISSUER="op://keycloak/$APP_ENV/jwt-base/JWT_OIDC_ISSUER"
KEYCLOAK_BASE_URL="op://keycloak/$APP_ENV/base/KEYCLOAK_BASE_URL"
KEYCLOAK_REALMNAME="op://keycloak/$APP_ENV/base/KEYCLOAK_REALMNAME"
SBC_AUTH_ADMIN_CLIENT_ID="op://keycloak/$APP_ENV/sbc-auth-admin/SBC_AUTH_ADMIN_CLIENT_ID"
SBC_AUTH_ADMIN_CLIENT_SECRET="op://keycloak/$APP_ENV/sbc-auth-admin/SBC_AUTH_ADMIN_CLIENT_SECRET"
PAY_API_URL="op://API/$APP_ENV/pay-api/PAY_API_URL"
PAY_API_VERSION="op://API/$APP_ENV/pay-api/PAY_API_VERSION"
NOTIFY_API_URL="op://API/$APP_ENV/notify-api/NOTIFY_API_URL"
Expand Down
18 changes: 0 additions & 18 deletions queue_services/account-mailer/src/account_mailer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,6 @@ class _Config(): # pylint: disable=too-few-public-methods
else:
SQLALCHEMY_DATABASE_URI = f'postgresql://{DB_USER}:{DB_PASSWORD}@{DB_HOST}:{int(DB_PORT)}/{DB_NAME}' # noqa: E231, E501

# Keycloak & Jwt
JWT_OIDC_ISSUER = os.getenv('JWT_OIDC_ISSUER')

# Keycloak auth config baseurl
KEYCLOAK_BASE_URL = os.getenv('KEYCLOAK_BASE_URL')
KEYCLOAK_REALMNAME = os.getenv('KEYCLOAK_REALMNAME')
KEYCLOAK_ADMIN_USERNAME = os.getenv('SBC_AUTH_ADMIN_CLIENT_ID')
KEYCLOAK_ADMIN_SECRET = os.getenv('SBC_AUTH_ADMIN_CLIENT_SECRET')

# Service account details
KEYCLOAK_SERVICE_ACCOUNT_ID = os.getenv('SBC_AUTH_ADMIN_CLIENT_ID')
KEYCLOAK_SERVICE_ACCOUNT_SECRET = os.getenv('SBC_AUTH_ADMIN_CLIENT_SECRET')

# API endpoints
PAY_API_URL = os.getenv('PAY_API_URL', '')
PAY_API_VERSION = os.getenv('PAY_API_VERSION', '')
Expand Down Expand Up @@ -135,8 +122,6 @@ class _Config(): # pylint: disable=too-few-public-methods
# MHR QUALIFIED SUPPLIER PDF File name
MHR_QS_AGREEMENT_FILE = os.getenv('MHR_QS_AGREEMENT_FILE', 'MHR_QualifiedSuppliersAgreement.pdf')

# If any value is present in this flag, starts up a keycloak docker
USE_TEST_KEYCLOAK_DOCKER = os.getenv('USE_TEST_KEYCLOAK_DOCKER', None)
USE_DOCKER_MOCK = os.getenv('USE_DOCKER_MOCK', None)

# BC online admin email
Expand Down Expand Up @@ -172,9 +157,6 @@ class TestConfig(_Config): # pylint: disable=too-few-public-methods
)

JWT_OIDC_ISSUER = os.getenv('JWT_OIDC_TEST_ISSUER')
# Service account details
KEYCLOAK_SERVICE_ACCOUNT_ID = os.getenv('KEYCLOAK_TEST_ADMIN_CLIENTID')
KEYCLOAK_SERVICE_ACCOUNT_SECRET = os.getenv('KEYCLOAK_TEST_ADMIN_SECRET')
BCOL_ADMIN_EMAIL = '[email protected]'

# Minio variables
Expand Down

0 comments on commit 39b5bd0

Please sign in to comment.