summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main
diff options
context:
space:
mode:
authorBaumel, Dvir (db384r) <dvir.baumel@intl.att.com>2020-03-16 13:36:02 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-03-17 09:22:26 +0000
commitbe8d4fac153435674ce0c5cb29773ba4d4d36d16 (patch)
tree404cad0fae6c45853d22030bd5aae43ee66aa580 /openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main
parent4d1f8679417a7936432d62e40c932d33e8926ffb (diff)
Base template guidelines changes
Issue-ID: SDC-2822 Change-Id: Ieb1832f878e2268bcfbfb2d574f8c7371f14b191 Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main')
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main/java/org/openecomp/sdc/validation/impl/validators/SharedResourceGuideLineValidator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main/java/org/openecomp/sdc/validation/impl/validators/SharedResourceGuideLineValidator.java b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main/java/org/openecomp/sdc/validation/impl/validators/SharedResourceGuideLineValidator.java
index 9be5f61f25..0c279c23ee 100644
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main/java/org/openecomp/sdc/validation/impl/validators/SharedResourceGuideLineValidator.java
+++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/main/java/org/openecomp/sdc/validation/impl/validators/SharedResourceGuideLineValidator.java
@@ -60,7 +60,7 @@ public class SharedResourceGuideLineValidator implements Validator {
return;
}
- Set<String> baseFiles = validateManifest(manifestContent, globalContext);
+ Set<String> baseFiles = validateManifest(manifestContent, globalContext);
Map<String, FileData.Type> fileTypeMap = ManifestUtil.getFileTypeMap(manifestContent);
globalContext.getFiles().stream()
@@ -78,7 +78,7 @@ public class SharedResourceGuideLineValidator implements Validator {
if (baseFiles == null || baseFiles.isEmpty()) {
globalContext.addMessage(
SdcCommon.MANIFEST_NAME,
- ErrorLevel.WARNING,
+ ErrorLevel.ERROR,
ErrorMessagesFormatBuilder
.getErrorWithParameters(ERROR_CODE_SRG_3,Messages
.MISSIN_BASE_HEAT_FILE.getErrorMessage()));
@@ -86,7 +86,7 @@ public class SharedResourceGuideLineValidator implements Validator {
String baseFileList = getElementListAsString(baseFiles);
globalContext.addMessage(
SdcCommon.MANIFEST_NAME,
- ErrorLevel.WARNING,
+ ErrorLevel.ERROR,
ErrorMessagesFormatBuilder
.getErrorWithParameters(ERROR_CODE_SRG_4,Messages
.MULTI_BASE_HEAT_FILE.getErrorMessage(),