From: Bharath Thiruveedula Date: Thu, 6 Sep 2018 08:46:19 +0000 (+0530) Subject: Modify LinksSerializer to avoid chaos X-Git-Tag: 1.2.0~10 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=commitdiff_plain;h=16c4a5ff577f27c6ff404059612ecf68eb044b1f Modify LinksSerializer to avoid chaos Signed-off-by: Bharath Thiruveedula Change-Id: I99ab039536ba344a6d2c2d8884780dbf284a8a2a Issue-ID: VFC-1096 --- diff --git a/lcm/lcm/nf/serializers/notification_types.py b/lcm/lcm/nf/serializers/notification_types.py index 5ee5eb03..1472e292 100644 --- a/lcm/lcm/nf/serializers/notification_types.py +++ b/lcm/lcm/nf/serializers/notification_types.py @@ -24,7 +24,7 @@ from ext_virtual_link_info import ExtVirtualLinkInfoSerializer from vnf_info_modifications import VnfInfoModificationsSerializer -class LinksSerializer(serializers.Serializer): +class LccnLinksSerializer(serializers.Serializer): vnfInstance = LinkSerializer( help_text="Link to the resource representing the VNF instance to " "which the notified change applies.", @@ -123,6 +123,6 @@ class VnfLcmOperationOccurrenceNotification(serializers.Serializer): allow_null=True, required=False ) - _links = LinksSerializer( + _links = LccnLinksSerializer( help_text="Links to resources related to this resource.", required=True)