diff options
author | Bogumil Zebek <bogumil.zebek@nokia.com> | 2020-05-20 14:53:35 +0200 |
---|---|---|
committer | Zebek Bogumil <bogumil.zebek@nokia.com> | 2020-05-20 14:57:56 +0200 |
commit | 0bb03735689b28dee661bb2d59dfc56f44cf9e2c (patch) | |
tree | cb8c52963250239478959aa8625c8f6f6a8de204 /csarvalidation/src/main/java/org | |
parent | 47d26d20674f85e75d406a1e459cc09666b8b84c (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.java | 2 |
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); |