summaryrefslogtreecommitdiffstats
path: root/onap_data_provider
diff options
context:
space:
mode:
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"],