import os
from pathlib import Path


class ProjectVariables:
    PROJECT_ROOT_DIR = os.path.dirname(Path(os.path.abspath(__file__)).parent.parent)

    ENVIRONMENT = os.environ['ENVIRONMENT_VAR'] \
        if 'ENVIRONMENT_VAR' in os.environ else 'local'

    MAIN_CONFIG_YML_PATH = f'/data/config/{ENVIRONMENT}/main-config.yaml'

    WIREMOCK_ROOT_DIR = PROJECT_ROOT_DIR + '/data/wiremock'
    WIREMOCK_FILES_ROOT_DIR = WIREMOCK_ROOT_DIR + '/__files/'
