aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-07-21 11:26:25 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-07-21 11:46:15 +0000
commitf833d3d2915b678d02ed81650b6154d29cd56492 (patch)
treee0a5eee03909bca8e0eaba85920bf2cae59daa62
parent0d390e6544ea206acd26da021dc809319214de36 (diff)
Fix issue with service subscription creation0.7.1
Service subscription creation on Customer failing on A&AI request because of the ONAP SDK change which was not applied on data-provider Issue-ID: INT-2140 Change-Id: I6e7cb03dd121688bef5c88350e2f30823d083890 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
-rw-r--r--onap_data_provider/resources/customer_resource.py2
-rw-r--r--setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/onap_data_provider/resources/customer_resource.py b/onap_data_provider/resources/customer_resource.py
index 2bbb1ef..76bb7bb 100644
--- a/onap_data_provider/resources/customer_resource.py
+++ b/onap_data_provider/resources/customer_resource.py
@@ -123,7 +123,7 @@ class CustomerResource(Resource):
logging.debug("Create ServiceSubscription %s", self.data["service-type"])
if not self.exists:
self._service_subscription = self._customer.subscribe_service(
- Service(self.data["service-type"])
+ self.data["service-type"]
)
for tenant_cloud_region_data in self.data.get("tenants", []):
diff --git a/setup.py b/setup.py
index cf5f193..e9b1652 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ with open("README.md", "r", encoding="utf-8") as readme:
setuptools.setup(
name="onap_data_provider",
- version="0.7.0",
+ version="0.7.1",
author="Michal Jagiello <michal.jagiello@t-mobile.pl>, Piotr Stanior <piotr.stanior@t-mobile.pl>",
description="Tool to provide data for ONAP instances",
long_description=long_description,