summaryrefslogtreecommitdiffstats
path: root/csarvalidation/src/main/java/org
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-05-20 14:53:35 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-05-20 14:57:56 +0200
commit0bb03735689b28dee661bb2d59dfc56f44cf9e2c (patch)
treecb8c52963250239478959aa8625c8f6f6a8de204 /csarvalidation/src/main/java/org
parent47d26d20674f85e75d406a1e459cc09666b8b84c (diff)
Fix validation process
Resolve problem that one failed rule has impact on other valid rules. Change-Id: Ib36eed71b16fbfc48af88faaf07bb7293fefaf38 Issue-ID: VNFSDK-586 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Diffstat (limited to 'csarvalidation/src/main/java/org')
-rw-r--r--csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java2
1 files changed, 1 insertions, 1 deletions
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 30eb043..043d4dc 100644
--- a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
+++ b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java
@@ -237,7 +237,7 @@ public class VTPValidateCSAR extends OnapCommand {
}
}
- result.setPassed(overallPass);
+ result.setPassed(result.getErrors().isEmpty());
validation.getResults().add(result);
} catch (Exception e) {
result.setPassed(false);