Closed mpeuster closed 5 years ago
GK will have authenticated users.
GK adds username to the options of the POST request to the un-packager.
username
TODO: forward this username field to all subsequent requests send to the catalogues.
Example Request:
curl -X POST -v -H "Content-Type: multipart/form-data" \ -F username="tango_user1" \ -F package="@misc/5gtango-ns-package-example.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
platform
5gtango, osm, onap
GK will have authenticated users.
GK adds
username
to the options of the POST request to the un-packager.TODO: forward this
username
field to all subsequent requests send to the catalogues.Example Request:
Catalogue requests:
We put the fields into the query to the catalogue when uploading artifacts:
platform
=5gtango, osm, onap