commit | 56730c9ae36f1e242db807a23aa51396c551b549 | [log] [tgz] |
---|---|---|
author | Smokowski, Steve (ss835w) <ss835w@us.att.com> | Wed Dec 05 14:45:36 2018 -0500 |
committer | Smokowski, Steve (ss835w) <ss835w@us.att.com> | Wed Dec 05 14:45:36 2018 -0500 |
tree | c6caeeb238993b7ef1fcdb26dde81133024d204b | |
parent | 35726250e078b57ebe6ea4e53b4b8ccd56573e50 [diff] |
Remove Version Check Removed version check as not necessary for setting boolean Change-Id: I7243f0b80df6766c9d681889ee5205fed4efbbcb Issue-ID: SO-1280 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/validation/RelatedInstancesValidation.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/validation/RelatedInstancesValidation.java index c4671ae..a6fdcc9 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/validation/RelatedInstancesValidation.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/validation/RelatedInstancesValidation.java
@@ -133,7 +133,7 @@ if(InstanceDirection.source.equals(relatedInstance.getInstanceDirection()) && relatedInstanceModelInfo.getModelType().equals(ModelType.vnf)) { isSourceVnfPresent = true; } else if(InstanceDirection.destination.equals(relatedInstance.getInstanceDirection()) && - (relatedInstanceModelInfo.getModelType().equals(ModelType.vnf) || (relatedInstanceModelInfo.getModelType().equals(ModelType.pnf) && reqVersion == 6))) { + (relatedInstanceModelInfo.getModelType().equals(ModelType.vnf) || (relatedInstanceModelInfo.getModelType().equals(ModelType.pnf)))) { isDestinationVnfPresent = true; } }