-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e553469
commit 39b5bd0
Showing
2 changed files
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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', '') | ||
|
@@ -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 | ||
|
@@ -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 | ||
|