push addional code
Change-Id: Ia427bb3460cda3a896f8faced2de69eaf3807b74
Signed-off-by: Michael Lando <ml636r@att.com>
diff --git a/openecomp-be/tools/install/database/schemaTemplates/composition/component.ftl b/openecomp-be/tools/install/database/schemaTemplates/composition/component.ftl
new file mode 100644
index 0000000..1c0cb4e
--- /dev/null
+++ b/openecomp-be/tools/install/database/schemaTemplates/composition/component.ftl
@@ -0,0 +1,28 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"<#if !manual>,
+ "enum": [
+ "${component.name}"
+ ],
+ "default": "${component.name}"</#if>
+ },
+ "displayName": {
+ "type": "string"<#if !manual && component.displayName??>,
+ "enum": [
+ "${component.displayName}"
+ ],
+ "default": "${component.displayName}"</#if>
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"<#if !manual && component.displayName??>,
+ "displayName"</#if>
+ ]
+}
\ No newline at end of file