tests/functional_tests/env.conf
#!/bin/bash
############
# Authors: Ankshit Jain
# Purpose: This script contains all the environment variables used for functional
# tests.
# Date: 13-March-2018
# Previous Versions: None
###########
# All variables that are exported/imported are in upper case convention. They are:
# NUMBER_OF_EXECUTION_NODES : total number of execution nodes used for testing
# LOGGERCONFIG : path to the config file logger.json of logger module
# LBCONFIG : path to the config file nodes_data_conf.json of load balancer
# NODE_TLS_REJECT_UNAUTHORIZED : this variable relaxes the verification of
# certificates between https nodejs calls
# MSCONFIG : path to the conf.json of main server
# MSLABCONFIG : path to the labs.json of main server
# MSCOURSECONFIG : path to the course.json of main server
# MSAPIKEYS : path to the APIKeys.json of main
# ENCONFIG : the path for the conf.json file for an execution node
# ENSCORES : the path for the scores.json file for an execution node
# shellcheck disable=2034
NUMBER_OF_EXECUTION_NODES=10
# shellcheck disable=2034
LOGGERCONFIG='../deploy/configs/util/logger.json'
# shellcheck disable=2034
LBCONFIG='../deploy/configs/load_balancer/nodes_data_conf.json'
# shellcheck disable=2034
NODE_TLS_REJECT_UNAUTHORIZED=0
# shellcheck disable=2034
MSCONFIG="../deploy/configs/main_server/conf.json"
# shellcheck disable=2034
MSLABCONFIG="../deploy/configs/main_server/labs.json"
# shellcheck disable=2034
MSCOURSECONFIG="../deploy/configs/main_server/course.json"
# shellcheck disable=2034
MSAPIKEYS="../deploy/configs/main_server/APIKeys.json"
# shellcheck disable=2034
ENCONFIG="../deploy/configs/execution_nodes/execution_node_1/conf.json"
# shellcheck disable=2034
ENSCORES="../deploy/configs/execution_nodes/execution_node_1/scores.json"