X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=catalog%2Fpackages%2Fserializers%2Fvnf_pkg_notifications.py;h=c1dab6a6fbdd9305febd46e1306727678dd9833e;hb=a40cb469e3aa364fb2a0f016632bc642b4ecbdb7;hp=72ae6fe1b8a3855a41a5d33cd80cf10146ff3811;hpb=3ae91013f198d512364579822e37fc35b5996f49;p=modeling%2Fetsicatalog.git diff --git a/catalog/packages/serializers/vnf_pkg_notifications.py b/catalog/packages/serializers/vnf_pkg_notifications.py index 72ae6fe..c1dab6a 100644 --- a/catalog/packages/serializers/vnf_pkg_notifications.py +++ b/catalog/packages/serializers/vnf_pkg_notifications.py @@ -87,14 +87,14 @@ class PkgmNotificationsFilter(serializers.Serializer): required=False ) vnfdId = serializers.ListField( - child=serializers.UUIDField(), + child=serializers.CharField(), help_text="Match VNF packages with a VNFD identifier" "listed in the attribute", required=False, allow_null=False ) vnfPkgId = serializers.ListField( - child=serializers.UUIDField(), + child=serializers.CharField(), help_text="Match VNF packages with a VNFD identifier" "listed in the attribute", required=False, @@ -168,12 +168,12 @@ class PkgChangeNotificationSerializer(serializers.Serializer): required=True, allow_null=False ) - vnfPkgId = serializers.UUIDField( + vnfPkgId = serializers.CharField( help_text="Identifier of the VNF package.", required=True, allow_null=False ) - vnfdId = serializers.UUIDField( + vnfdId = serializers.CharField( help_text="This identifier, which is managed by the VNF provider, " "identifies the VNF package and the VNFD in a globally unique way.", required=True, @@ -227,12 +227,12 @@ class PkgOnboardingNotificationSerializer(serializers.Serializer): required=True, allow_null=False ) - vnfPkgId = serializers.UUIDField( + vnfPkgId = serializers.CharField( help_text="Identifier of the VNF package.", required=True, allow_null=False ) - vnfdId = serializers.UUIDField( + vnfdId = serializers.CharField( help_text="This identifier, which is managed by the VNF provider, " "identifies the VNF package and the VNFD in a globally unique way.", required=True,