commit | e9966c94065f6a74d07578b8cee055c37594a0f7 | [log] [tgz] |
---|---|---|
author | shrikantawachar <shrikant.awachar@amdocs.com> | Tue May 15 15:32:18 2018 +0530 |
committer | shrikantawachar <shrikant.awachar@amdocs.com> | Tue May 29 16:25:29 2018 +0530 |
tree | b793a40dabb934c5354b2d5ff72ad31a0985da86 | |
parent | e1e4f69030a34ebdbe65e72f8ff5fa25ea8e82bc [diff] [blame] |
Refactoring validation Refactoring validation from Code to FTL Change-Id: Ic33a3719a021bb4c82565653fd8d95de38b7929e Issue-ID: SDC-1334 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
diff --git a/openecomp-be/tools/install/database/schemaTemplates/composition/image.ftl b/openecomp-be/tools/install/database/schemaTemplates/composition/image.ftl index 8391390..6d0fb3c 100644 --- a/openecomp-be/tools/install/database/schemaTemplates/composition/image.ftl +++ b/openecomp-be/tools/install/database/schemaTemplates/composition/image.ftl
@@ -3,7 +3,9 @@ "type": "object", "properties": { "fileName": { - "type": "string" + "type": "string" <#if !manual>, + "enum":["${image.fileName}"] + </#if> }, "description": { "type": "string"