Change length to a string 09/105909/2
authorPamela Dragosh <pdragosh@research.att.com>
Tue, 14 Apr 2020 12:20:51 +0000 (08:20 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Tue, 14 Apr 2020 13:01:35 +0000 (09:01 -0400)
This field is now a string.

Issue-ID: POLICY-2486
Change-Id: Ie6707e29f2b069e3938897b62bd0591fd023016e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml

index b8df62b..bb1f6d3 100644 (file)
@@ -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
index a4361cf..748e0c0 100644 (file)
@@ -96,5 +96,5 @@ data_types:
                 type: string
                 required: true
             length:
-                type: integer
+                type: string
                 required: true
\ No newline at end of file