From f833d3d2915b678d02ed81650b6154d29cd56492 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Thu, 21 Jul 2022 11:26:25 +0000 Subject: Fix issue with service subscription creation 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 --- onap_data_provider/resources/customer_resource.py | 2 +- setup.py | 2 +- 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 , Piotr Stanior ", description="Tool to provide data for ONAP instances", long_description=long_description, -- cgit 1.2.3-korg