aboutsummaryrefslogtreecommitdiffstats
path: root/onap_data_provider/resources/customer_resource.py
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 /onap_data_provider/resources/customer_resource.py
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>
Diffstat (limited to 'onap_data_provider/resources/customer_resource.py')
-rw-r--r--onap_data_provider/resources/customer_resource.py2
1 files changed, 1 insertions, 1 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", []):