From: Rob Daugherty Date: Thu, 5 Oct 2017 15:18:21 +0000 (-0400) Subject: Remove foreign key which is not supported by code X-Git-Tag: v1.1.0~188^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1920a8a3e1fbce90a7dcda079cf8261efb8812f5;p=so.git Remove foreign key which is not supported by code The foreign key we fixed in the VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM table is blocking distribution of the model. The insert that's failing is: insert into VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM ( VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID, VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID) values (?, ?); The error is: "foreign key constraint fails" Issue: SO-180 Change-Id: I8d98bde144eb666430632b6089d8d27d66527884 Signed-off-by: Rob Daugherty --- diff --git a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml index 72e7209d53..e22b67ca8b 100644 --- a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml +++ b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml @@ -40,9 +40,11 @@ +