diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-03-22 14:49:33 +0000 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-03-22 15:10:23 +0000 |
commit | 8c6980a4b3bf7ddcff8cc5757c29961385222606 (patch) | |
tree | 29a31ce94503e4a3c7389d413b586d6597648822 /scripts | |
parent | 7deeb1fce8a48a5480c800b49dcfb1827d92a475 (diff) |
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 <mark.j.leonard@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions