tacker/tacker/db
Yi Feng db9b91aecc Fix create duplicated subscriptions
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
2021-09-20 17:16:25 +09:00
..
common_services FIX: nfv event list failed with internal server error 2019-06-28 11:13:45 +00:00
db_sqlalchemy Support enhancement for Get Subscription List 2021-03-26 20:19:31 +09:00
migration Fix create duplicated subscriptions 2021-09-20 17:16:25 +09:00
nfvo Support Helm chart as interface for Kubernetes VIM 2021-09-15 11:45:12 +00:00
vnfm Fix migration for SQLAlchemy 1.4 2021-07-10 06:50:43 +05:30
__init__.py rename neutron/db to tacker/db 2014-07-04 18:20:50 +09:00
api.py Remove unused LOG to keep code clean 2016-07-09 16:21:47 +08:00
db_base.py Sample script for deploying k8s with kubespray 2021-09-17 10:53:59 +09:00
model_base.py Use oslo db for db access 2016-06-07 12:09:57 +08:00
models_v1.py Enables soft deletion for VIM, VNFD and VNF 2016-08-20 04:23:30 +00:00
sqlalchemyutils.py Drop most of six importings 2020-10-19 12:10:05 +00:00
types.py Update json module to jsonutils 2019-02-27 11:59:02 +00:00