aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties3
-rw-r--r--src/main/resources/clds/tosca_update/templates.properties15
2 files changed, 18 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 4422156fd..695319d5b 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -220,3 +220,6 @@ clamp.config.cadi.oauthIntrospectUrll=https://AAF_LOCATE_URL/locate/onap.org.osa
clamp.config.cadi.aafEnv=DEV
clamp.config.cadi.aafUrl=https://AAF_LOCATE_URL/onap.org.osaaf.aaf.service:2.1
clamp.config.cadi.cadiX509Issuers=CN=intermediateCA_1, OU=OSAAF, O=ONAP, C=US:CN=intermediateCA_7, OU=OSAAF, O=ONAP, C=US:CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US
+
+## Tosca converter
+clamp.config.tosca.converter.templates=classpath:/clds/tosca_updates/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