tacker/tacker/objects
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
..
__init__.py Support for Change External VNF Connectivity 2021-03-26 17:54:12 +09:00
base.py Add version objects and db apis for vnf lcm 2020-04-20 10:53:20 +05:30
change_ext_conn_req.py Support for Change External VNF Connectivity 2021-03-26 17:54:12 +09:00
common.py Fix migration for SQLAlchemy 1.4 2021-07-10 06:50:43 +05:30
fields.py Support for Change External VNF Connectivity 2021-03-26 17:54:12 +09:00
grant.py Support for Change External VNF Connectivity 2021-03-26 17:54:12 +09:00
grant_request.py Support for Change External VNF Connectivity 2021-03-26 17:54:12 +09:00
heal_vnf_request.py Sample script for healing k8s with kubespray 2021-09-17 12:04:50 +09:00
instantiate_vnf_req.py Enhancement IpOverEthernet in API Parameter 2021-03-26 03:04:13 +00:00
scale_vnf_request.py Sample script for scaling k8s with kubespray 2021-09-17 11:24:28 +09:00
terminate_vnf_req.py Sample script for healing k8s with kubespray 2021-09-17 12:04:50 +09:00
vim_connection.py Support Helm chart as interface for Kubernetes VIM 2021-09-15 11:45:12 +00:00
vnf.py Support VNF update operations based on ETSI NFV 2020-10-05 07:26:15 +00:00
vnf_artifact.py Implementation Artifacts support in Tacker 2020-09-21 03:27:17 -04:00
vnf_deployment_flavour.py Cleanup of .keys() 2020-04-25 08:16:00 +00:00
vnf_instance.py Fix status code for invalid filter conditions 2021-09-13 15:30:52 +09:00
vnf_instantiated_info.py Fix status code for invalid filter conditions 2021-09-13 15:30:52 +09:00
vnf_lcm_op_occs.py Fix status code for invalid filter conditions 2021-09-13 15:30:52 +09:00
vnf_lcm_subscriptions.py Fix create duplicated subscriptions 2021-09-20 17:16:25 +09:00
vnf_package.py Fix status code for invalid filter conditions 2021-09-13 15:30:52 +09:00
vnf_package_vnfd.py Support of version 2.4.1 on Modify VNF 2020-10-05 07:26:40 +00:00
vnf_resources.py Add version objects and db apis for vnf lcm 2020-04-20 10:53:20 +05:30
vnf_software_image.py Fix status code for invalid filter conditions 2021-09-13 15:30:52 +09:00
vnfd.py Support flow of Getting VNF package 2020-10-05 07:19:32 +00:00
vnfd_attribute.py Support flow of Getting VNF package 2020-10-05 07:19:32 +00:00