Fix schema mismatch
Corrected a foreign key definition in the
VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM table.
Issue: SO-180
Change-Id: I4dfb51ac615ca1dab19fbf3e0be728b2752e06bd
Signed-off-by: Rob Daugherty <rd472p@att.com>
diff --git a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
index b068e66..72e7209 100644
--- a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
+++ b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
@@ -41,8 +41,8 @@
<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="VNF_RESOURCE_MODEL_UUID" not-null="true" />
- <one-to-many class="VnfResCustomToVfModuleCustom" />
- </set>
+ <key column="VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID" not-null="true" />
+ <one-to-many class="VnfResCustomToVfModuleCustom" />
+ </set>
</class>
</hibernate-mapping>