diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2018-10-09 12:53:59 +0100 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2018-10-09 12:53:59 +0100 |
commit | 7f5e9cf4d3cb5dc63fca4e27935b4a3164749406 (patch) | |
tree | cace60661229236d168516210a379437164b76da /src/main/java | |
parent | 2aedac7b674a854600cac9b4bfe8e864f2e88526 (diff) |
Update to sdc-tosca 1.4.5
Update to use a newer release of the SDC TOSCA parser.
Change-Id: I8bd3288e000c27c2fbcb5b4b24c3a31cf12bfab8
Issue-ID: AAI-1445
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java b/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java index efdbc9c..c272b35 100644 --- a/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java +++ b/src/main/java/org/onap/aai/babel/csar/vnfcatalog/VnfVendorImageExtractor.java @@ -39,9 +39,9 @@ import org.onap.aai.babel.logging.ApplicationMsgs; import org.onap.aai.babel.logging.LogHelper; import org.onap.aai.babel.service.data.BabelArtifact; import org.onap.sdc.tosca.parser.api.ISdcCsarHelper; +import org.onap.sdc.tosca.parser.enums.SdcTypes; import org.onap.sdc.tosca.parser.exceptions.SdcToscaParserException; import org.onap.sdc.tosca.parser.impl.SdcToscaParserFactory; -import org.onap.sdc.tosca.parser.impl.SdcTypes; import org.onap.sdc.toscaparser.api.NodeTemplate; import org.onap.sdc.toscaparser.api.SubstitutionMappings; @@ -310,8 +310,7 @@ public class VnfVendorImageExtractor { applicationLogger.debug("Extracting software versions from " + sm); List<NodeTemplate> imagesNodes = sm.getNodeTemplates().stream() - .filter(nodeTemplate -> nodeTemplate.getPropertyValue(IMAGES) != null) - .collect(Collectors.toList()); + .filter(nodeTemplate -> nodeTemplate.getPropertyValue(IMAGES) != null).collect(Collectors.toList()); if (imagesNodes != null && !imagesNodes.isEmpty()) { return imagesNodes.stream() |