Odyssey
Variables
ody_migr_config Namespace Reference

Variables

tuple LOG_FORMATTER
 
string LOG_FILE_NAME = "/home/{}/logs/ody_migr_{}_{}.log"
 
string http_protocol = "1" else "http"
 
string server_host = "localhost:8000"
 
int SYS_TYPE_BATCH = 1
 
int SYS_TYPE_LIVE = 2
 
int SYS_TYPE_WEBONLY = 16
 
int SYS_TYPE_CLOSED = 64
 
string SERVER_URL = "{}://{}".format(http_protocol, server_host)
 
string SCRIPT_ROOT = "1" else "/opt/odyssey/tools/bin"
 
string ENV_MIGR_SECRET_KEY = "ODY_MIGR_SECRET_KEY"
 
string TEST_USERNAME = ""
 
string TEST_PASSWORD = ""
 
string TESTING_SERVER = "www4"
 
list SUPPORTED_DEV_CU = ["SCRUBCU", "CRUISECU"]
 
list SERVER_CHOICES = ["www4", "www3", "www5", "www6"]
 
string ACTION_OPT_CLEAN = "clean"
 
string ACTION_OPT_MIGRATE = "migrate"
 
string ACTION_OPT_SUMMARY = "summary"
 
list ACTION_CHOICES = [ACTION_OPT_CLEAN, ACTION_OPT_MIGRATE, ACTION_OPT_SUMMARY]
 
string DATA_OPT_SETTINGS = "settings"
 
string DATA_OPT_MEMBERS = "members"
 
string DATA_OPT_MEMDATA = "memdata"
 
string DATA_OPT_SWITCH_ACCT_MEMBERS = "switchaccountmembers"
 
string DATA_OPT_SWITCH_ACCOUNTS = "switchaccounts"
 
string DATA_OPT_MEMHIST = "memhist"
 
string DATA_OPT_CREATE_HIST = "createhistoryfile"
 
string DATA_OPT_GET_HIST = "gethistoryfile"
 
string DATA_OPT_ADMIN = "admin"
 
string DATA_OPT_LOANAPP = "loanapp"
 
string DATA_OPT_GETCULIST = "getculist"
 
string DATA_OPT_CLEANUP = "cleanup"
 
int HIST_CREATE_WAIT_TIME = 10
 
int MEMBERS_PAGE_SIZE = 50
 
int SWITCH_ACC_BATCH_SIZE = 400
 
list DATA_CHOICES_FOR_TEST
 
list SUPPORTED_CU_TEST = ["SCRUBCU", "CRUISECU"]
 
list DATA_CHOICES
 
dictionary EXPECTED_HASH_DICT
 
string KEY_MEMBERS = "members"
 
string DEFAULT_ERROR_STR = ''
 
list RESPONSE_KEYS = ["data", "action", "error"]
 
list RESPONSE_HIST_KEYS = ["file", "action", "error"]
 
dictionary EXPECTED_DATA_KEYS
 
string CREATE = "create"
 
string INSERT = "insert_all"
 
string INSERT_ONE = "insert_one"
 
string SELECT_RETURN = "select_and_return"
 
string SELECT = "select_and_print"
 
string SELECT_COUNT = "select_count"
 
string DELETE = "delete"
 
string TABLE_EXISTS = "table_exists"
 
string SUMMARY = "tables_summary"
 
list DEF_MENU_ITEM_PLATFORM = ["D", "M", "A"]
 
string FEATURE_NOT_FOUND = "CD_NT_FND"
 
string EXPECTED_EMPTY_FEATURE_CODE = ""
 
list NO_FEATURE_CODE_HREF
 
list NO_MENU_LINK_MODE
 
dictionary HCUCONNECT_MODE_CODE_MAP
 
dictionary FEATURE_CODE_HREF_MAP
 
dictionary FA_ICON_MAP
 
tuple BRANDING_TARGET_FILE
 
 BRANDING_BCK_FILE
 
 BRANDING_MMTH_FILE
 
tuple BRANDING_TMPL_FILE
 
dictionary BRANDING_DEFAULTS
 
dictionary SCHEDULE_INTERVAL_MAPPING
 
dictionary CUADMINPROGS_PERMISSIONS_MAPPING
 
list MEMBER_ACC_RIGHTS = ["ACCESS", "ES", "RDC", "BP"]
 
list DEF_MEMACCT_RIGHTS_OPTIONS = ["D", "A"]
 
int CU2_SPEC18 = 4
 
string USERID_CROSS_REF_CSV_FILE = "/home/{}/tmp/ody_migr_user_id_cross_reference.csv"
 
 MAMMOTH_ORPHANED_MEMLIST_CSV_FILE = \
 
 MAMMOTH_NEVER_LOGGEDIN_MEMLIST_CSV_FILE = \
 
 ADMIN_CUSURVEY_ID_MAP_CSV_FILE = \
 
 LOANAPP_SCHEMAMASTER_LOANID_MAP_CSV_FILE = \
 
 LOANAPP_USER_USERID_MAP_CSV_FILE = \
 
 SCHEDULED_TRANSFER_OUTLIERS_CSV_FILE = \
 
string MEMHIST_DOWNLOADED_FILE = "/home/{}/tmp/memhist"
 
string MEMHIST_ACCOUNT_HISTORY_FILENAME = "memhist_accounthistory"
 
string MEMHIST_LOAN_HISTORY_FILENAME = "memhist_loanhistory"
 
string KEY_CU_PREFIXED_TBLS = "cu_prefixed"
 
string KEY_COMMON_TBLS = "common"
 
dictionary ODY_MUST_EXIST_TABLES
 
dictionary AUDITUSER_DESCMAP
 

Detailed Description

Common config file shared accross all the modules.

Variable Documentation

◆ AUDITUSER_DESCMAP

dictionary ody_migr_config.AUDITUSER_DESCMAP
Initial value:
1 = {
2  "ADD": "Add New Account",
3  "DEL_A": "Delete Account",
4  "DEL_H": "Delete History",
5  "RESET": "Forgot Password",
6  "UPD_F": "Update Account"
7 }

Definition at line 546 of file ody_migr_config.py.

◆ BRANDING_BCK_FILE

ody_migr_config.BRANDING_BCK_FILE
Initial value:
1 = os.path.join(
2  os.path.dirname(BRANDING_TARGET_FILE), ".brand.{}.css")

Definition at line 345 of file ody_migr_config.py.

◆ BRANDING_MMTH_FILE

ody_migr_config.BRANDING_MMTH_FILE
Initial value:
1 = os.path.join(
2  os.path.dirname(BRANDING_TARGET_FILE), "brand.css")

Definition at line 349 of file ody_migr_config.py.

◆ BRANDING_TARGET_FILE

tuple ody_migr_config.BRANDING_TARGET_FILE
Initial value:
1 = ("/home/{}/public_html/bankingIncludes/production"
2  "/css/brand.{}.css")

Definition at line 341 of file ody_migr_config.py.

◆ BRANDING_TMPL_FILE

tuple ody_migr_config.BRANDING_TMPL_FILE
Initial value:
1 = ("/home/homecu/public_html/bankingIncludes"
2  "/css/brand.css")

Definition at line 353 of file ody_migr_config.py.

◆ CUADMINPROGS_PERMISSIONS_MAPPING

dictionary ody_migr_config.CUADMINPROGS_PERMISSIONS_MAPPING
Initial value:
1 = {
2  "LockedRpt": "lockedRpt",
3  "cu_notify": "notificationEmails",
4  "Index": "secureForms",
5  "ContMaint": "contMaint",
6  "SetupMail": "setupMail",
7  "SendMail": "sendMail",
8  "cu_reports": "cuReports",
9  "EmailSearch": "emailSearch",
10  "SurveyMntc": "surveyMntc",
11  "AdmECO": "secureMessages",
12  "AddChange": "userSupport"
13 }

Definition at line 406 of file ody_migr_config.py.

◆ DATA_CHOICES

list ody_migr_config.DATA_CHOICES
Initial value:
1 = [
2  DATA_OPT_SETTINGS,
3  DATA_OPT_MEMDATA,
4  DATA_OPT_SWITCH_ACCOUNTS,
5  DATA_OPT_MEMHIST,
6  DATA_OPT_ADMIN,
7  DATA_OPT_LOANAPP
8 
9 ]

Definition at line 108 of file ody_migr_config.py.

◆ DATA_CHOICES_FOR_TEST

list ody_migr_config.DATA_CHOICES_FOR_TEST
Initial value:
1 = [
2  DATA_OPT_SETTINGS,
3  DATA_OPT_MEMBERS,
4  DATA_OPT_MEMDATA,
5  DATA_OPT_CREATE_HIST,
6  DATA_OPT_GET_HIST,
7  DATA_OPT_ADMIN
8 ]

Definition at line 94 of file ody_migr_config.py.

◆ EXPECTED_HASH_DICT

dictionary ody_migr_config.EXPECTED_HASH_DICT
Initial value:
1 = {
2  DATA_OPT_SETTINGS: {
3  "SCRUBCU": "0fd5f28efe6f1c8858ab251738eda5555a38bd9e",
4  "CRUISECU": "ae74dc467ffacdaaafaa1a457d73704df8e6dbb2",
5  },
6  "members": {
7  "SCRUBCU": "64ee2be7ed12c75fbe03f761685dad4386cfff97",
8  "CRUISECU": "e603fbfca999c4b02bc831bd5ab49037b788736e",
9  },
10  DATA_OPT_MEMDATA: {
11  "SCRUBCU": "72a82e4b1b29eb2e1ab9b7eed2094bcd9d4bc520",
12  "CRUISECU": "63067f1c4f8d8c7abec7df6a3cad1ee920ef6630",
13  },
14  DATA_OPT_CREATE_HIST: {
15  "SCRUBCU": "f0e7befce9d7cd29b05a85787438a8a553aca290",
16  "CRUISECU": "12a7944ca58b49bd3af001145d4b6877326eceb9",
17  },
18  DATA_OPT_GET_HIST: {
19  "SCRUBCU": "c2d6f276212bfcfc7c68fe080806648d2bbd3910",
20  "CRUISECU": "af5eb1dd2862f9433d8d85dd21e45aee09b2043f",
21  # to test history file does not exist as SOCU is not listed in
22  # SUPPORTED_CU_TEST
23  "SOCU": "d38f8bb69acaef2fe1c5a1055fe0abab723f313c"
24  },
25  DATA_OPT_ADMIN: {
26  "SCRUBCU": "39ca9d4bc5a81fbf4dd1bf64b56c3f0e5b71d323",
27  "CRUISECU": "666b7bcb47937454acf4eaebf537ae4eb26cebf6",
28  }
29 }

Definition at line 121 of file ody_migr_config.py.

◆ FA_ICON_MAP

dictionary ody_migr_config.FA_ICON_MAP
Initial value:
1 = {
2  "Sign Out": "power-off",
3  "Logout": "power-off",
4  "Transfers": "exchange",
5  "Transfer": "exchange",
6  "Account": "bank",
7  "Accounts": "bank",
8  "Commercial": "sitemap",
9  "Communications": "sliders",
10  "Disclosures": "file-text-o",
11  "Profile": "cogs",
12  "Pay Bills": "money",
13  "PayBills": "money",
14  "Mobile PayBills": "money",
15  "Mobile Pay": "money",
16  "Mobile Deposit": "anchor"
17 }

Definition at line 320 of file ody_migr_config.py.

◆ FEATURE_CODE_HREF_MAP

dictionary ody_migr_config.FEATURE_CODE_HREF_MAP
Initial value:
1 = {
2  "hcuAccounts": "BASIC",
3  "hcuTxtBanking": "SMS",
4  "hcuTransfer": "TRN",
5  "hcuAlerts": "ALERT",
6  # seen in www4 (doesn't have equivalent .prg file in Odyssey) "hcuEalerts": "ALERT", "hcuMobilePay": "MBILLPAY", "hcuStatement": "ESTMT", # seen in www4 (doesn't have equivalent .prg file in Odyssey)
7  "hcuStatements": "ESTMT",
8  "hcuSecureMail": "SECUREMSG",
9  "hcuDownload": "TRNDOWN",
10  "hcuTransferSchedule": "TRNSCHED",
11  "hcuArchiveCheck": "BASIC",
12  "hcuForms": "BASIC",
13  "hcuProfileAlias": "BASIC",
14  "hcuProfileEmail": "BASIC",
15  "hcuProfilePwd": "BASIC",
16  "hcuProfileSecurity": "BASIC",
17  "hcuProfileDesc": "BASIC",
18  "hcuOrderChecks": "BASIC", # hcuConnect + mode=DELUXE_OP
19  "hcuDisclosures": "BASIC",
20  "hcuHistory": "BASIC"
21 }

Definition at line 292 of file ody_migr_config.py.

◆ LOG_FORMATTER

tuple ody_migr_config.LOG_FORMATTER
Initial value:
1 = ('%(asctime)s %(name)-4s %(process)-6s '
2  '%(levelname)-6s %(message)s')

Definition at line 10 of file ody_migr_config.py.

◆ NO_FEATURE_CODE_HREF

list ody_migr_config.NO_FEATURE_CODE_HREF
Initial value:
1 = [
2  "hcuLogout",
3  "hcuContactUs"
4 ]

Definition at line 229 of file ody_migr_config.py.

◆ NO_MENU_LINK_MODE

list ody_migr_config.NO_MENU_LINK_MODE
Initial value:
1 = [
2  "DREAMPOINTS",
3  "HcuDMI",
4  "DMI",
5  "PSCU_ACCPT",
6  "PSCU_INFO",
7  "FICS",
8  "FIS_EZCARD",
9  "HcuEZCARD",
10  "GOTOMYCARD",
11  "FISERV_CPS"
12 ]

Definition at line 235 of file ody_migr_config.py.

◆ SCHEDULE_INTERVAL_MAPPING

dictionary ody_migr_config.SCHEDULE_INTERVAL_MAPPING
Initial value:
1 = {
2  "OneTime": "OneTime",
3  "EveryWeek": "Weekly",
4  "Every2Weeks": "BiWeekly",
5  "Every2Months": "Every2Months",
6  "SemiMonthly": "FifteenthLast",
7  "OnceMonthly": "Monthly",
8  "Every3Months": "Quarterly",
9  "Every6Months": "SemiAnnually",
10  "Annually": "Annually"
11 }

Definition at line 392 of file ody_migr_config.py.