aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml')
-rw-r--r--mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml b/mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml
index 992e5d4..8e86c58 100644
--- a/mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml
+++ b/mso-catalog-db/src/main/resources/HeatEnvironment.hbm.xml
@@ -8,9 +8,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,7 +27,7 @@
<meta attribute="class-description">
This class describes a HEAT Environment
</meta>
-
+
<id name="id" type="int" column="id">
<generator class="native"/>
</id>
@@ -41,6 +41,9 @@
<property name="asdcResourceName" type="string" >
<column name="ASDC_RESOURCE_NAME" length="100" default="'MANUAL RECORD'" not-null="true"/>
</property>
+ <property name="asdcUuid" type="string">
+ <column name="ASDC_UUID" length="200" default="'MANUAL RECORD'" not-null="true"/>
+ </property>
</properties>
<property name="description" column="DESCRIPTION" type="string" length="1200"/>
<property name="environment" type="text">
@@ -49,10 +52,10 @@
<property name="created" type="timestamp" generated="insert" insert="false" update="false">
<column name="CREATION_TIMESTAMP" not-null="true"/>
</property>
- <property name="asdcUuid" type="string">
- <column name="ASDC_UUID" length="200" default="'MANUAL RECORD'" not-null="false"/>
- </property>
<property name="asdcLabel" column="ASDC_LABEL" type="string" length="200"/>
-
+ <property name="artifactChecksum" type="string">
+ <column name="ARTIFACT_CHECKSUM" length="200" default="'MANUAL RECORD'" not-null="true"/>
+ </property>
+
</class>
</hibernate-mapping>