sonata-nfv / tng-sdk-package

The 5GTANGO SDK tool to create and unpack 5GTANGO packages.
http://www.5gtango.eu
Apache License 2.0
7 stars 9 forks source link

tng-cat: Add platform field for descriptor uploads #140

Closed mpeuster closed 5 years ago

mpeuster commented 5 years ago

See: https://github.com/sonata-nfv/tng-cat/issues/64



curl -X POST -v -H "Content-Type: multipart/form-data" \
    -F username="tango_user1" \
    -F package="@misc/eu.5gtango.mixed-ns-package-example.0.1.tgo" \
    http://127.0.0.1:5099/api/v1/packages

Catalogue requests:

We put the fields into the query to the catalogue when uploading artifacts:

POST /foobar?platform=osm&username=user1

platform = 5gtango, osm, onap