From: mark.j.leonard Date: Fri, 22 Mar 2019 14:49:33 +0000 (+0000) Subject: Simplify VNF Vendor Image extraction X-Git-Tag: 1.4.1~22 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8c6980a4b3bf7ddcff8cc5757c29961385222606;hp=8c6980a4b3bf7ddcff8cc5757c29961385222606;p=aai%2Fbabel.git Simplify VNF Vendor Image extraction Refactoring of the software version extraction routines to reduce complexity. Pass the NodeTemplates directly to the extractSoftwareVersions() method and move the exception handling up the calling stack. Remove the creation/usage of an intermediate Pair object. Query for the Service VF list once only. Use Streams rather than converting from Stream to List and back. This change will simplify future work: either to convert sdc-tosca API methods (that will be deprecated), or to use an alternative parser. Change-Id: I745ced9e6095f389ee1bede37e8480dfaf65716a Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard ---