From 8e86bb7817a272fa8d1c6ecc16435e1324326ac0 Mon Sep 17 00:00:00 2001 From: Satoshi Fujii Date: Tue, 12 Oct 2021 05:21:57 +0000 Subject: Remove unused code config_notif.py is not referenced from main code and not used at all. Also tests/HB_Array.json is not used by any test. Signed-off-by: Satoshi Fujii Issue-ID: DCAEGEN2-2939 Change-Id: I6d462a406e2d36d0243f4a72b7faac2f79e353d9 --- miss_htbt_service/mod/trapd_vnf_table.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'miss_htbt_service/mod/trapd_vnf_table.py') diff --git a/miss_htbt_service/mod/trapd_vnf_table.py b/miss_htbt_service/mod/trapd_vnf_table.py index 81f1f3b..ffef262 100644 --- a/miss_htbt_service/mod/trapd_vnf_table.py +++ b/miss_htbt_service/mod/trapd_vnf_table.py @@ -36,7 +36,6 @@ import get_logger import db_monitoring as dbmon import htbtworker as pm import misshtbtd as db -import config_notif as cf import cbs_polling as cbs prog_name = os.path.basename(__file__) @@ -89,21 +88,6 @@ def verify_DB_creation_hb_common(user_name,password,ip_address,port_num,db_name) return _db_status -def verify_cbsPolling_required(): - _cbspolling_status = True - os.environ['pytest']='test' - os.environ['CONSUL_HOST']='localhost' - os.environ['SERVICE_NAME']='mvp-dcaegen2-heartbeat-static' - try: - _cbspolling_status=cf.config_notif_run() - except Exception as e: - print("Config_notify error - %s" % e) - - os.unsetenv('pytest') - os.unsetenv('CONSUL_HOST') - os.unsetenv('SERVICE_NAME') - return _cbspolling_status - def verify_cbspolling(): os.environ['pytest']='test' os.environ['SERVICE_NAME']='mvp-dcaegen2-heartbeat-static' -- cgit 1.2.3-korg