aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java
diff options
context:
space:
mode:
authortalio <tali.orenbach@amdocs.com>2017-11-21 10:00:27 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-11-21 09:30:22 +0000
commit2b79f16651701fdfa04eb100bc83f2a42b8ed609 (patch)
treef61d47888514142c0be011466f2d5c3526e9a07a /openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java
parent15dfe1e9a127bc73f671b9601d8b8c8e25c2d65f (diff)
fix NPE in extract
fix NPE when extracting components without images / flavors Issue - Id : SDC-694 Change-Id: I3e4444132a40a2567833375ceea1951803dd16b0 Signed-off-by: talio <tali.orenbach@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java')
-rw-r--r--openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/ServiceTemplateReaderService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/ServiceTemplateReaderService.java b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/ServiceTemplateReaderService.java
index 09c823ce7e..1bc97b4d69 100644
--- a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/ServiceTemplateReaderService.java
+++ b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-api/src/main/java/org/openecomp/core/converter/ServiceTemplateReaderService.java
@@ -10,7 +10,7 @@ public interface ServiceTemplateReaderService {
Object getToscaVersion();
- Object getNodeTypes();
+ Map<String, Object> getNodeTypes();
Object getTopologyTemplate();