Bad foreign key in VNF_RESOURCE_CUSTOMIZATION
A foreign key definition for the VNF_RESOURCE_CUSTOMIZATION table was
wrong. I fixed VnfResourceCustomization.hbm.xml
Change-Id: Ie52f0b495d100d28bcb053ba46cb8e680a4e95a2
Issue-id: SO-147
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 a3e738b..b068e66 100644
--- a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
+++ b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
@@ -40,9 +40,9 @@
<property name="created" type="timestamp" generated="insert" update="false" insert="false" column="CREATION_TIMESTAMP" not-null="true"/>
- <set name="serviceResourceCustomizations" inverse="true" cascade="all">
- <key column="SERVICE_MODEL_UUID" not-null="true" />
- <one-to-many class="ServiceToResourceCustomization" />
+ <set name="vfModuleCustomizations" inverse="true" cascade="all">
+ <key column="VNF_RESOURCE_MODEL_UUID" not-null="true" />
+ <one-to-many class="VnfResCustomToVfModuleCustom" />
</set>
</class>
</hibernate-mapping>