2021-06-30 19:49:04 +03:00
|
|
|
from starlette.config import Config
|
|
|
|
|
|
|
|
|
|
|
|
config = Config(".env")
|
|
|
|
|
|
|
|
# Resource Info
|
|
|
|
RESOURCE_LOCATION: str = config("RESOURCE_LOCATION", default="")
|
|
|
|
TRE_ID: str = config("TRE_ID", default="")
|
2022-05-06 01:38:19 +03:00
|
|
|
TRE_URL: str = config("TRE_URL", default="")
|
2022-03-03 17:36:28 +03:00
|
|
|
API_CLIENT_ID: str = config("API_CLIENT_ID", default="")
|
2022-03-14 23:33:55 +03:00
|
|
|
TEST_USER_NAME: str = config("TEST_USER_NAME", default="")
|
|
|
|
TEST_USER_PASSWORD: str = config("TEST_USER_PASSWORD", default="")
|
|
|
|
TEST_APP_ID: str = config("TEST_APP_ID", default="")
|
2022-03-03 17:36:28 +03:00
|
|
|
AAD_TENANT_ID: str = config("AAD_TENANT_ID", default="")
|
2022-03-23 10:06:08 +03:00
|
|
|
TEST_ACCOUNT_CLIENT_ID: str = config("TEST_ACCOUNT_CLIENT_ID", default="")
|
|
|
|
TEST_ACCOUNT_CLIENT_SECRET: str = config("TEST_ACCOUNT_CLIENT_SECRET", default="")
|
2021-11-25 16:01:53 +03:00
|
|
|
TEST_WORKSPACE_APP_ID: str = config("TEST_WORKSPACE_APP_ID", default="")
|
2022-04-14 18:43:54 +03:00
|
|
|
TEST_WORKSPACE_APP_SECRET: str = config("TEST_WORKSPACE_APP_SECRET", default="")
|
2022-10-03 17:03:42 +03:00
|
|
|
TEST_WORKSPACE_APP_PLAN: str = config("WORKSPACE_APP_SERVICE_PLAN_SKU", default="")
|
2022-04-04 21:01:47 +03:00
|
|
|
|
|
|
|
# Perf test env vars - set these in private.env if you want to run perf tests and use an existing
|
|
|
|
# workspace + workspace service for quicker execution. If they're blank the perf test will create + delete them.
|
|
|
|
PERF_TEST_WORKSPACE_ID: str = config("PERF_TEST_WORKSPACE_ID", default="")
|
|
|
|
PERF_TEST_WORKSPACE_SERVICE_ID: str = config("PERF_TEST_WORKSPACE_SERVICE_ID", default="")
|
2022-08-17 15:07:36 +03:00
|
|
|
|
|
|
|
# Set workspace id of an existing workspace to skip creation of a workspace during E2E tests
|
2022-11-10 21:52:21 +03:00
|
|
|
TEST_WORKSPACE_ID: str = config("TEST_WORKSPACE_ID", default="")
|
|
|
|
TEST_AAD_WORKSPACE_ID: str = config("TEST_AAD_WORKSPACE_ID", default="")
|