aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/mod
diff options
context:
space:
mode:
authorAlexander Mazuruk <a.mazuruk@samsung.com>2021-04-07 03:46:39 +0200
committerAlexander Mazuruk <a.mazuruk@samsung.com>2021-04-09 12:22:20 +0200
commit031694bad1802a75918b9b97d5c34faac729f0c6 (patch)
tree3469725d292dfa65e1e530614599ce89dd5599b3 /miss_htbt_service/mod
parent355969bee808b698a7600d69221ec44235459142 (diff)
Dependencies update: PyYAML to 5.4
PyYAML changelog: https://github.com/yaml/pyyaml/blob/master/CHANGES Additionally resolved deprecation warnings from PyYAML. Issue-ID: DCAEGEN2-2720 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: Ifb06a8a32417e7b4d8fad2b509bc76cbcbc20c55
Diffstat (limited to 'miss_htbt_service/mod')
-rw-r--r--miss_htbt_service/mod/trapd_vnf_table.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miss_htbt_service/mod/trapd_vnf_table.py b/miss_htbt_service/mod/trapd_vnf_table.py
index 6b883af..b1691ba 100644
--- a/miss_htbt_service/mod/trapd_vnf_table.py
+++ b/miss_htbt_service/mod/trapd_vnf_table.py
@@ -4,6 +4,7 @@
# Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
# Copyright (c) 2019 Pantheon.tech. All rights reserved.
# Copyright 2020 Deutsche Telekom. All rights reserved.
+# Copyright 2021 Samsung Electronics. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -51,7 +52,7 @@ _logger = get_logger.get_logger(__name__)
def hb_properties():
#Read the hbproperties.yaml for postgress and CBS related data
s=open(hb_properties_file, 'r')
- a=yaml.load(s)
+ a=yaml.full_load(s)
ip_address = a['pg_ipAddress']
port_num = a['pg_portNum']
user_name = a['pg_userName']