db9b91aecc
When creating a duplicated subscription, according to spec SOL003, the api should return 303 See Other instead of 201 Created. To fix this error, the following things is done in this patch: 1.Fix the error when the database virtual field extracts the value from json in table `vnf_lcm_filters`. 2.Fix the error of sql query statement when querying subscription. 3.The attribute VnfProductsFromProviders should be an array, not an object. Fix this error in UT, FT and schemas. 4.Fix typos when writing "object" as "objects" in dict "_versions" in vnf_lcm schemas. 5.Rewrite the throwing and catching of SeeOther exception of this api to fix the following errors: SeeOther should be thrown instead of Exception; the return body should be empty instead of ProblemDetail; the return header should contain location instead of link. Closes-Bug: #1933169 Change-Id: I51c198d60001dba94dd369f495cecef526e79800 |
||
---|---|---|
.. | ||
v1 | ||
__init__.py |