fix bug for failure in creating subscriptions for vnfm 77/93277/1
authorhongyuzhao <zhao.hongyu@zte.com.cn>
Mon, 12 Aug 2019 03:13:52 +0000 (11:13 +0800)
committerhongyuzhao <zhao.hongyu@zte.com.cn>
Mon, 12 Aug 2019 03:27:03 +0000 (11:27 +0800)
Change-Id: Ia08e46bbbe5091c269194d02ba3209a6ce6e6899
Issue-ID: VFC-1484
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
lcm/lcm/nf/biz/create_subscription.py

index fe06272..2b1f606 100644 (file)
@@ -134,7 +134,7 @@ class CreateSubscription:
         }
         SubscriptionModel.objects.create(subscription_id=self.subscription_id,
                                          callback_uri=self.callback_uri,
-                                         auth_info=self.authentication,
+                                         auth_info=json.dumps(self.authentication),
                                          notification_types=json.dumps(self.notification_types),
                                          operation_types=json.dumps(self.operation_types),
                                          operation_states=json.dumps(self.operation_states),