summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}