From: Pamela Dragosh Date: Tue, 14 Apr 2020 12:20:51 +0000 (-0400) Subject: Change length to a string X-Git-Tag: 2.2.4~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5ccb1d8fe91c077a611f39184cabeb01c86c3b86;p=policy%2Fmodels.git Change length to a string This field is now a string. Issue-ID: POLICY-2486 Change-Id: Ie6707e29f2b069e3938897b62bd0591fd023016e Signed-off-by: Pamela Dragosh --- 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