diff options
author | talig <talig@amdocs.com> | 2018-06-03 14:40:30 +0300 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-06-05 14:32:08 +0000 |
commit | 1add92e5da0367c8fb2f19378ca34f097b870167 (patch) | |
tree | 2ada77578ba3c020ba837ea1f32181f0b68c1506 /openecomp-be/lib/openecomp-sdc-vendor-software-product-lib | |
parent | 09c6320df7f768e42edeaedd7ba69e6fb13d433d (diff) |
Fix candidate heat dao
Change-Id: Ic7defbdcb95ee1b8e8188ef43a07a2ee192d6453
Issue-ID: SDC-1371
Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib')
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/OrchestrationTemplateCandidateDaoZusammenImpl.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/OrchestrationTemplateCandidateDaoZusammenImpl.java index f49832dc01..c3dbab55f6 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/OrchestrationTemplateCandidateDaoZusammenImpl.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/impl/zusammen/OrchestrationTemplateCandidateDaoZusammenImpl.java @@ -89,7 +89,7 @@ public class OrchestrationTemplateCandidateDaoZusammenImpl candidateInfoElement -> populateCandidate(candidate, candidateInfoElement, true))); logger.info("Finished getting orchestration template for vsp id {}", vspId); - return Optional.of(candidate); + return candidate.getFileSuffix() == null ? Optional.empty() : Optional.of(candidate); } @Override |