sonata-nfv / son-catalogue

SONATA's SDK Catalogue
http://www.sonata-nfv.eu
Apache License 2.0
1 stars 2 forks source link

SDK-Catalogues Group - Name lists fix #27

Closed dang03 closed 8 years ago

dang03 commented 8 years ago

Some GET method might return more than one entry (descriptor) from the catalogue. However, they just return one entry. Methods affected are:

GET name/last GET name/version

This is due Group field, which adds the possibility to have the next situation: NSD: 'ns_group': 'sonata1' 'ns_name': 'firewall' 'ns_version': '0.1'

NSD: 'ns_group': 'sonata2' 'ns_name': 'firewall' 'ns_version': '0.1'

The result for these methods must be a list containing both NSDs.

dang03 commented 8 years ago

GET methods that may contain multiple descriptors now return an array of descriptors. Issue ready to close.