Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libraries (#163) #164

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
-------------------
Expand Down
11 changes: 6 additions & 5 deletions evolved5g/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 [
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.12
current_version = 1.0.13
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)