commit | 0ca3d400f25810df7b1eb811dc529e0d1231a184 | [log] [tgz] |
---|---|---|
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | Fri Sep 13 12:50:59 2019 +0200 |
committer | Daniel Rose <dr695h@att.com> | Fri Sep 13 14:00:13 2019 +0000 |
tree | 0d66de7bd407ce7f3e4101ac8681b609ab6cac7b | |
parent | bfeeb24819035523222149d4fffdf9f7de363fc2 [diff] |
Refactor healthcheck-k8s.py Error reporting was improved by returning actual error message from subprocess call to 'kubectl' command. Code readability was improved by defining a dictionary of endpoint names to check and their IPs. Unsecure 'shell=True' property in Popen constructor for kubectl command in SDNC DB was removed and command string itself sanitized. Overall code readability was improved by reusing common commands in a loop. Change-Id: I19f8f71e27196bb55a9be3d58cd0885ceba3af0c Issue-ID: TEST-213 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Responsible for the integration framework / automated tools, code and scripts, best practice guidance related to cross-project Continuous System Integration Testing (CSIT), and delivery of the ONAP project.
See https://wiki.onap.org/display/DW/Integration+Project for additional details.
See respective directories for additional details about each sub-project.