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> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 30 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 31 | <id name="id" type="int" column="id"> |
| 32 | <generator class="native"/> |
| 33 | </id> |
| 34 | <properties name="uk_heatenv" unique="true"> |
| 35 | <property name="name" type="string" > |
| 36 | <column name="NAME" length="100" not-null="true"/> |
| 37 | </property> |
| 38 | <property name="version" type="string" > |
| 39 | <column name="VERSION" length="20" not-null="true"/> |
| 40 | </property> |
| 41 | <property name="asdcResourceName" type="string" > |
| 42 | <column name="ASDC_RESOURCE_NAME" length="100" default="'MANUAL RECORD'" not-null="true"/> |
| 43 | </property> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 44 | <property name="asdcUuid" type="string"> |
| 45 | <column name="ASDC_UUID" length="200" default="'MANUAL RECORD'" not-null="true"/> |
| 46 | </property> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 47 | </properties> |
| 48 | <property name="description" column="DESCRIPTION" type="string" length="1200"/> |
| 49 | <property name="environment" type="text"> |
| 50 | <column name="ENVIRONMENT" not-null="true"/> |
| 51 | </property> |
| 52 | <property name="created" type="timestamp" generated="insert" insert="false" update="false"> |
| 53 | <column name="CREATION_TIMESTAMP" not-null="true"/> |
| 54 | </property> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 55 | <property name="asdcLabel" column="ASDC_LABEL" type="string" length="200"/> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 56 | <property name="artifactChecksum" type="string"> |
| 57 | <column name="ARTIFACT_CHECKSUM" length="200" default="'MANUAL RECORD'" not-null="true"/> |
| 58 | </property> |
| 59 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 60 | </class> |
| 61 | </hibernate-mapping> |