Fix the Naming policy example 32/117832/2
authorsebdet <sebastien.determe@intl.att.com>
Mon, 15 Feb 2021 09:49:17 +0000 (10:49 +0100)
committerAjith Sreekumar <ajith.sreekumar@bell.ca>
Tue, 16 Feb 2021 11:17:52 +0000 (11:17 +0000)
Change the attribute derived_from of the policy.data.increment-sequence attribute in the Naming policy example.
It should inherit from tosca.datatypes.Root

Issue-ID: POLICY-3067

Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I7a62b8c662b90a8481bb609d6a39e33ab9e7dada

models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml

index a444351..6fc53d7 100644 (file)
@@ -61,7 +61,7 @@ data_types:
                 type: policy.data.increment-sequence
                 required: false
     policy.data.increment-sequence:
-        derived_from: tosca.nodes.Root
+        derived_from: tosca.datatypes.Root
         properties:
             scope:
                 type: list
@@ -98,4 +98,4 @@ data_types:
                 required: true
             length:
                 type: string
-                required: true
\ No newline at end of file
+                required: true