summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-05-21 11:51:55 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-21 11:51:55 +0000
commit0a99ef13330191ac5fe7a1c6579adc4cc68e64e7 (patch)
treecc3c0ab48172c56650a566c7209393dcc4478bc6
parent90f3154b28dbe1971998cab784f6a1dd330f204b (diff)
parenta7d38ba2ce5adae6c799c2df3b0c7c60e9c2ca9f (diff)
Merge "Fix issue with loading rules properties"
-rw-r--r--Changelog.md9
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java2
2 files changed, 9 insertions, 2 deletions
diff --git a/Changelog.md b/Changelog.md
index 47101f2..91dcbd6 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -25,4 +25,11 @@ All notable changes to this project will be documented in this file.
### Fixed
- Fixed bug that was generating invalid report when user run validation with all rules and single validation fails.
- - https://jira.onap.org/browse/VNFSDK-586 \ No newline at end of file
+ - https://jira.onap.org/browse/VNFSDK-586
+
+
+## [1.2.x]
+
+### Fixed
+- Fixed bug that was causing problem with loading rules properties.
+ - https://jira.onap.org/browse/VNFSDK-587 \ No newline at end of file
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
index 043d4dc..835bc11 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
@@ -178,7 +178,7 @@ public class VTPValidateCSAR extends OnapCommand {
private static Properties properties = new Properties();
static {
try {
- properties.load(VTPValidateCSAR.class.getClass().getResourceAsStream("/vnfreqs.properties"));
+ properties.load(VTPValidateCSAR.class.getResourceAsStream("/vnfreqs.properties"));
} catch (Exception e) {
LOG.error(e.getMessage(), e);
}