from django.test import TestCase
import json
import os
# from AzureSite.settings import BASE_DIR
import glob



def read_json_attributes():
    adf_path = str(os.path.join(BASE_DIR+ '\ADFParameters.json')).replace('\\', '/')
    vault_path = str(os.path.join(BASE_DIR+ '\KeyVaultParameters.json')).replace('\\', '/')

    with open(adf_path) as file:
        ADFParameters = json.load(file)

    with open(vault_path) as file:
        KeyVaultParameters = json.load(file)

    return list(ADFParameters['parameters'].keys()), list(KeyVaultParameters['parameters'].keys())

# path = str(os.path.join(BASE_DIR+ '\AzureSite\sections.json')).replace('\\', '/')
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(BASE_DIR)
var = "{}/SupplyChain/databricks_linux/main.sh {} {}".format(BASE_DIR, "e", "yuabjk")
print('var' , var) 
429500f7354ffc48ebc67f6f9f545300d914b813
<mask token>


def read_json_attributes():
    adf_path = str(os.path.join(BASE_DIR + '\\ADFParameters.json')).replace(
        '\\', '/')
    vault_path = str(os.path.join(BASE_DIR + '\\KeyVaultParameters.json')
        ).replace('\\', '/')
    with open(adf_path) as file:
        ADFParameters = json.load(file)
    with open(vault_path) as file:
        KeyVaultParameters = json.load(file)
    return list(ADFParameters['parameters'].keys()), list(KeyVaultParameters
        ['parameters'].keys())


<mask token>

<mask token>


def read_json_attributes():
    adf_path = str(os.path.join(BASE_DIR + '\\ADFParameters.json')).replace(
        '\\', '/')
    vault_path = str(os.path.join(BASE_DIR + '\\KeyVaultParameters.json')
        ).replace('\\', '/')
    with open(adf_path) as file:
        ADFParameters = json.load(file)
    with open(vault_path) as file:
        KeyVaultParameters = json.load(file)
    return list(ADFParameters['parameters'].keys()), list(KeyVaultParameters
        ['parameters'].keys())


<mask token>
print(BASE_DIR)
<mask token>
print('var', var)

<mask token>


def read_json_attributes():
    adf_path = str(os.path.join(BASE_DIR + '\\ADFParameters.json')).replace(
        '\\', '/')
    vault_path = str(os.path.join(BASE_DIR + '\\KeyVaultParameters.json')
        ).replace('\\', '/')
    with open(adf_path) as file:
        ADFParameters = json.load(file)
    with open(vault_path) as file:
        KeyVaultParameters = json.load(file)
    return list(ADFParameters['parameters'].keys()), list(KeyVaultParameters
        ['parameters'].keys())


BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(BASE_DIR)
var = '{}/SupplyChain/databricks_linux/main.sh {} {}'.format(BASE_DIR, 'e',
    'yuabjk')
print('var', var)

from django.test import TestCase
import json
import os
import glob


def read_json_attributes():
    adf_path = str(os.path.join(BASE_DIR + '\\ADFParameters.json')).replace(
        '\\', '/')
    vault_path = str(os.path.join(BASE_DIR + '\\KeyVaultParameters.json')
        ).replace('\\', '/')
    with open(adf_path) as file:
        ADFParameters = json.load(file)
    with open(vault_path) as file:
        KeyVaultParameters = json.load(file)
    return list(ADFParameters['parameters'].keys()), list(KeyVaultParameters
        ['parameters'].keys())


BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(BASE_DIR)
var = '{}/SupplyChain/databricks_linux/main.sh {} {}'.format(BASE_DIR, 'e',
    'yuabjk')
print('var', var)

from django.test import TestCase
import json
import os
# from AzureSite.settings import BASE_DIR
import glob



def read_json_attributes():
    adf_path = str(os.path.join(BASE_DIR+ '\ADFParameters.json')).replace('\\', '/')
    vault_path = str(os.path.join(BASE_DIR+ '\KeyVaultParameters.json')).replace('\\', '/')

    with open(adf_path) as file:
        ADFParameters = json.load(file)

    with open(vault_path) as file:
        KeyVaultParameters = json.load(file)

    return list(ADFParameters['parameters'].keys()), list(KeyVaultParameters['parameters'].keys())

# path = str(os.path.join(BASE_DIR+ '\AzureSite\sections.json')).replace('\\', '/')
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(BASE_DIR)
var = "{}/SupplyChain/databricks_linux/main.sh {} {}".format(BASE_DIR, "e", "yuabjk")
print('var' , var) 