summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2017-10-05 11:18:21 -0400
committerRob Daugherty <rd472p@att.com>2017-10-05 11:23:25 -0400
commit1920a8a3e1fbce90a7dcda079cf8261efb8812f5 (patch)
treeb52ef437076d23af7f0568c6a674e1c9a17089d5 /mso-catalog-db/src
parent5c2d5ef7c999bf99a08d722f1347cf9518e1affa (diff)
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 <rd472p@att.com>
Diffstat (limited to 'mso-catalog-db/src')
-rw-r--r--mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml2
1 files changed, 2 insertions, 0 deletions
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 @@
<property name="created" type="timestamp" generated="insert" update="false" insert="false" column="CREATION_TIMESTAMP" not-null="true"/>
+<!--
<set name="vfModuleCustomizations" inverse="true" cascade="all">
<key column="VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID" not-null="true" />
<one-to-many class="VnfResCustomToVfModuleCustom" />
</set>
+-->
</class>
</hibernate-mapping>