Skip to content

Remove cert in clamp

Richomme requested to merge remove_cert_in_clamp into develop

since the merge https://gerrit.onap.org/r/c/oom/+/116648, Clamp supports the basic/auth there is need anymore to set a hardcoded certificate. It was successfully tested locally on a Master lab

Python 3.8.0 (default, Feb 10 2020, 17:26:59) [GCC 9.2.1 20200123] on linux Type "help", "copyright", "credits" or "license" for more information.

from onapsdk.clamp.clamp_element import Clamp as Clamp Clamp.set_proxy({ 'http': 'socks5h://127.0.0.1:8085', 'https': 'socks5h://127.0.0.1:8085'}) Clamp.check_policies("minmax") False Clamp.check_policies("MinMax") True

this patch just consisted in removing cert and creating a header with the good basic/auth it is needed to go further on basic_clamp (pythonsdk_tests) consuming the SDK to perform operations in clamp

Merge request reports

Loading