From f0a648cc89cb870a4053d47a06fe2a4a54cc3f1c Mon Sep 17 00:00:00 2001 From: WeberLaurent Date: Thu, 6 Feb 2020 10:23:01 +0100 Subject: Rework tosca converter New code to convert the Policy Tosca Yaml to Json Schema for the Clamp UI Issue-ID: CLAMP-253 Change-Id: I10c1d3d81c5feae402773de94bd88c190ec68645 Signed-off-by: WeberLaurent --- src/main/resources/clds/tosca_update/templates.properties | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/resources/clds/tosca_update/templates.properties (limited to 'src/main/resources/clds/tosca_update/templates.properties') diff --git a/src/main/resources/clds/tosca_update/templates.properties b/src/main/resources/clds/tosca_update/templates.properties new file mode 100644 index 000000000..5da239b1f --- /dev/null +++ b/src/main/resources/clds/tosca_update/templates.properties @@ -0,0 +1,15 @@ +#Numeric types +integer=type,description,title,deprecated,default,enum,const,multipleOf,maximum,exclusiveMaximum,minimum,exclusiveMinimum +number=type,description,title,deprecated,default,enum,const,multipleOf,maximum,exclusiveMaximum,minimum,exclusiveMinimum +range=type,description,title,deprecated,default,enum,const,multipleOf,maximum,exclusiveMaximum,minimum,exclusiveMinimum +# +boolean=type,description,title,deprecated,default,enum,const,readOnly,writeOnly +#String types +string=type,description,title,deprecated,default,enum,const,minLength,maxLength,pattern,format +timestamp=type,description,title,deprecated,default,enum,const,minLength,maxLength,pattern,format +scalar-unit.time=type,description,title,deprecated,default,enum,const,minLength,maxLength,pattern,format +scalar-unit.frequency=type,description,title,deprecated,default,enum,const,minLength,maxLength,pattern,format +scalar-unit.size=type,description,title,deprecated,default,enum,const,minLength,maxLength,pattern,format +#Complex types +array=type,description,title,deprecated,default,enum,const,minItems,maxItems,uniqueItems,minContains,maxContains +object=type,description,title,deprecated,default,enum,const,properties,minProperties,maxProperties,required,dependentRequired,dependencies,readOnly,writeOnly -- cgit 1.2.3-korg