aboutsummaryrefslogtreecommitdiffstats
path: root/onap_data_provider
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-09-27 09:12:41 +0200
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-09-27 09:27:05 +0200
commit7d764e28301a3c98c3a42a6926e524a4d2b3c6d9 (patch)
treea0d253944a7331872a5f0a357d666ba02d6b92de /onap_data_provider
parent013329754f7a70695dbc306f33f7e09111416337 (diff)
Data provider 0.7.2 version0.7.2
Uses latest onapsdk and fix passing few parameters Issue-ID: INT-2264 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I73d80a0d81661a6082a04414f2623df3725165cb
Diffstat (limited to 'onap_data_provider')
-rw-r--r--onap_data_provider/resources/service_instance_resource.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/onap_data_provider/resources/service_instance_resource.py b/onap_data_provider/resources/service_instance_resource.py
index b23de40..4c3da81 100644
--- a/onap_data_provider/resources/service_instance_resource.py
+++ b/onap_data_provider/resources/service_instance_resource.py
@@ -122,9 +122,9 @@ class ServiceInstanceResource(Resource):
sdc_service=service,
customer=self.customer,
owning_entity=owning_entity,
- project=Project(self.data["project"]),
- line_of_business=LineOfBusiness(self.data["line_of_business"]),
- platform=Platform(self.data["platform"]),
+ project=Project(self.data["project"]).name,
+ line_of_business=LineOfBusiness(self.data["line_of_business"]).name,
+ platform=Platform(self.data["platform"]).name,
cloud_region=cloud_region,
tenant=tenant,
service_instance_name=self.data["service_instance_name"],