summaryrefslogtreecommitdiffstats
path: root/models-examples/src
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-02-15 10:49:17 +0100
committerAjith Sreekumar <ajith.sreekumar@bell.ca>2021-02-16 11:17:52 +0000
commit5aeffc5b5032cb4c14f00420136cd997a240c17d (patch)
tree7f785387c5ecbee2f5c6db63df860e58762f935c /models-examples/src
parent55fc900c3fbed2819b5b8a168dc29c5d583eccf3 (diff)
Fix the Naming policy example
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
Diffstat (limited to 'models-examples/src')
-rw-r--r--models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml b/models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml
index a44435111..6fc53d725 100644
--- a/models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml
+++ b/models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml
@@ -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