tacker/tacker/tests/unit/vnfpkgm
Hiromu Asahina 36ef500c41 Add Location to responses of Create VNF Package
According to SOL005 v3.3.1 Table 9.4.2.3.1-1 [1], the HTTP response
shall include a "Location" HTTP header that contains the resource URI of
the individual VNF package resource.

In order to realize the above, this patch adds a Location header, which
includes a URL of a created VNF Package, to responses for `POST
{apiRoot}/vnfpkgm/{apiMajorVersion}/vnf_packages` requests.

Also, this patch removes unused arguments from methods in ViewBuilder.

[1] https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/03.03.01_60/gs_NFV-SOL005v030301p.pdf

Signed-off-by: Hiromu Asahina <hiromu.asahina.az@hco.ntt.co.jp>
Change-Id: I754afaaf910de0048f4f11e259c644b3e0baea99
Closes-Bug: #1915109
2021-09-30 09:36:54 +09:00
..
__init__.py Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00
fakes.py Implementation Artifacts support in Tacker 2020-09-21 03:27:17 -04:00
test_controller.py Add Location to responses of Create VNF Package 2021-09-30 09:36:54 +09:00