aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2017-10-24 17:09:04 -0400
committerRob Daugherty <rd472p@att.com>2017-10-24 17:09:04 -0400
commitc52588edfa229b2478f04ef3c24ecb3eb8ffbe2f (patch)
tree428aaeb5999945669c3ffde3d2b0de800610a2f4 /mso-catalog-db/src/main/resources
parent0f8457a9f13aaad6de8c597abee6795a7c6f8e3f (diff)
NetworkResource modelInvariantUUID is too short
It is currently 20. It should be 200. I'm also fixing HeatFiles.hbm.xml to match a recent schema fix (SO-247). Issue: SO-264 Change-Id: I2bd6fc480310abc80b1a189a83b1e3f73c90149b Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'mso-catalog-db/src/main/resources')
-rw-r--r--mso-catalog-db/src/main/resources/HeatFiles.hbm.xml2
-rw-r--r--mso-catalog-db/src/main/resources/NetworkResource.hbm.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/mso-catalog-db/src/main/resources/HeatFiles.hbm.xml b/mso-catalog-db/src/main/resources/HeatFiles.hbm.xml
index 4674239a99..5a2c4aa537 100644
--- a/mso-catalog-db/src/main/resources/HeatFiles.hbm.xml
+++ b/mso-catalog-db/src/main/resources/HeatFiles.hbm.xml
@@ -36,7 +36,7 @@
<property name="version" type="java.lang.String" length="20" not-null="true">
<column name="VERSION" />
</property>
- <property name="fileBody" type="java.lang.String" not-null="true">
+ <property name="fileBody" type="text" not-null="true">
<column name="BODY" />
</property>
<property name="created" type="java.sql.Timestamp" generated="insert" update="false" insert="false" not-null="true">
diff --git a/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml b/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
index 7f4698e82b..1599cf5c66 100644
--- a/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
+++ b/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
@@ -29,7 +29,7 @@
<id name="modelUUID" column="MODEL_UUID" type="string" length="200"/>
<property name="modelName" column="MODEL_NAME" type="string" length="200" not-null="true" />
- <property name="modelInvariantUUID" column="MODEL_INVARIANT_UUID" type="string" length="20"/>
+ <property name="modelInvariantUUID" column="MODEL_INVARIANT_UUID" type="string" length="200"/>
<property name="modelVersion" column="MODEL_VERSION" type="string" length="20"/>
<property name="toscaNodeType" column="TOSCA_NODE_TYPE" type="string" length="200"/>
<property name="neutronNetworkType" column="NEUTRON_NETWORK_TYPE" type="string" length="20"/>
@@ -50,4 +50,4 @@
</class>
-</hibernate-mapping> \ No newline at end of file
+</hibernate-mapping>