def __init__(self):
        with open('config/config_server_develop.yaml', 'r') as file:
            config_obj = yaml.load(file, Loader=yaml.FullLoader)

            self.influx_host = config_obj['iiot_server']['influxdb'][
                'ip_address']
            self.influx_port = config_obj['iiot_server']['influxdb']['port']

            self.influx_id = config_obj['iiot_server']['influxdb']['id']
            self.influx_pwd = config_obj['iiot_server']['influxdb']['pwd']
            self.influx_db = config_obj['iiot_server']['influxdb']['db']

        self.mongo_mgr = mongo_manager.MongoMgr()
 def __init__(self, redis_manager):
     self.mongo_mgr = mongo_manager.MongoMgr()
     self.redis_mgr = redis_manager