ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ECOMP MSO |
| 5 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 11 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 12 | http://www.apache.org/licenses/LICENSE-2.0 |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 13 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
| 22 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
| 23 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
| 24 | <!-- Generated Aug 6, 2015 1:11:38 PM by Hibernate Tools 3.4.0.CR1 --> |
| 25 | <hibernate-mapping> |
| 26 | <class name="org.openecomp.mso.db.catalog.beans.HeatEnvironment" table="HEAT_ENVIRONMENT"> |
| 27 | <meta attribute="class-description"> |
| 28 | This class describes a HEAT Environment |
| 29 | </meta> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 30 | <id name="artifactUuid" type="string" column="ARTIFACT_UUID" length="200"> |
| 31 | <generator class="assigned" /> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 32 | </id> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 33 | <property name="name" type="string" > |
| 34 | <column name="NAME" length="100" not-null="true"/> |
| 35 | </property> |
| 36 | <property name="version" type="string" > |
| 37 | <column name="VERSION" length="20" not-null="true"/> |
| 38 | </property> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 39 | <property name="description" column="DESCRIPTION" type="string" length="1200"/> |
| 40 | <property name="environment" type="text"> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 41 | <column name="BODY" not-null="true"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 42 | </property> |
| 43 | <property name="created" type="timestamp" generated="insert" insert="false" update="false"> |
| 44 | <column name="CREATION_TIMESTAMP" not-null="true"/> |
| 45 | </property> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 46 | <property name="artifactChecksum" type="string"> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 47 | <column name="ARTIFACT_CHECKSUM" length="200" default="'MANUAL RECORD'" not-null="false"/> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 48 | </property> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 49 | </class> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 50 | </hibernate-mapping> |