diff --git a/HISTORY.rst b/HISTORY.rst index 43685ad..524619b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,17 @@ History ======= +------------------- +1.0.13 (2023-09-18) +------------------- +* TSN endpoints, set ssl verify to false + +------------------- +1.0.12 (2023-09-14) +------------------- +* Minor improvement on validation pipeline. On tests related with TSN allow the PORT to be Null in the constructor of the TSNManager class. If so, don't add the port when constructing the tsn endpoint url + + ------------------- 1.0.12 (2023-09-14) ------------------- diff --git a/evolved5g/sdk.py b/evolved5g/sdk.py index 1759b1b..49d9a87 100644 --- a/evolved5g/sdk.py +++ b/evolved5g/sdk.py @@ -1818,7 +1818,7 @@ def get_configuration_for_tsn_profile( retrieve_specific_resource_name(self.tsn_manager.api_name, "TSN_DETAIL_PROFILE"). \ format(profileName=self.name) - response = requests.get(url=url, headers=self.tsn_manager.headers_auth) + response = requests.get(url=url, headers=self.tsn_manager.headers_auth , verify = False) response.raise_for_status() parameters_dict = json.loads(response.text)[self.name] return self.TSNProfileConfiguration(parameters_dict) @@ -1833,7 +1833,7 @@ def get_tsn_profiles(self) -> [TSNProfile]: url = self.url_prefix + self.service_discoverer. \ retrieve_specific_resource_name(self.api_name, "TSN_LIST_PROFILES") - response = requests.get(url=url, headers=self.headers_auth) + response = requests.get(url=url, headers=self.headers_auth , verify= False) response.raise_for_status() response_dict = json.loads(response.text) return [ @@ -1863,7 +1863,7 @@ def apply_tsn_profile_to_netapp( "TSN_APPLY_CONFIGURATION") response = requests.post( - url=url, json=data, headers=self.headers_auth + url=url, json=data, headers=self.headers_auth, verify= False ) response.raise_for_status() response = json.loads(response.text) @@ -1902,7 +1902,8 @@ def apply_profile_with_overriden_parameters_to_netapp( response = requests.post( url=url, json=data, - headers=self.headers_auth + headers=self.headers_auth, + verify= False ) response.raise_for_status() response = json.loads(response.text) @@ -1927,7 +1928,7 @@ def clear_profile_for_tsn_netapp_identifier( "token": clearance_token, } response = requests.post( - url=url, json=data, headers=self.headers_auth + url=url, json=data, headers=self.headers_auth, verify= False ) response.raise_for_status() assert "success" in json.loads(response.text)["message"] diff --git a/setup.cfg b/setup.cfg index 370812a..7a92b96 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.12 +current_version = 1.0.13 commit = True tag = True diff --git a/setup.py b/setup.py index 508b91e..bc566f4 100644 --- a/setup.py +++ b/setup.py @@ -48,6 +48,6 @@ test_suite="tests", tests_require=test_requirements, url="https://github.com/EVOLVED-5G/SDK-CLI", - version="1.0.12", + version="1.0.13", zip_safe=False, )