summaryrefslogtreecommitdiffstats
path: root/models-examples/src
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-04-14 08:20:51 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-04-14 09:01:35 -0400
commit5ccb1d8fe91c077a611f39184cabeb01c86c3b86 (patch)
tree55def79127048cd98e016cdd48d1e9bd0826d9f5 /models-examples/src
parentcd59a05848e5acf63ede3287d36463469d121099 (diff)
Change length to a string
This field is now a string. Issue-ID: POLICY-2486 Change-Id: Ie6707e29f2b069e3938897b62bd0591fd023016e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'models-examples/src')
-rw-r--r--models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml4
-rw-r--r--models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml2
2 files changed, 3 insertions, 3 deletions
diff --git a/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml b/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
index b8df62b1f..bb1f6d3ef 100644
--- a/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
@@ -26,7 +26,7 @@ topology_template:
max: zzz
scope: ENTIRETY
start-value: '1'
- length: 3
+ length: '3'
increment: '1'
sequence-type: alpha-numeric
- property-name: NFC_NAMING_CODE
@@ -45,6 +45,6 @@ topology_template:
max: zzz
scope: PRECEEDING
start-value: '1'
- length: 3
+ length: '3'
increment: '1'
sequence-type: alpha-numeric
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 a4361cfb8..748e0c052 100644
--- a/models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml
+++ b/models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml
@@ -96,5 +96,5 @@ data_types:
type: string
required: true
length:
- type: integer
+ type: string
required: true \ No newline at end of file