ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 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//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
| 23 | |
| 24 | <hibernate-mapping package="org.openecomp.mso.db.catalog.beans"> |
| 25 | <class name="VnfComponentsRecipe" table="VNF_COMPONENTS_RECIPE"> |
| 26 | <meta attribute="class-description"> |
| 27 | This class describes a VNF Components Recipe |
| 28 | </meta> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 29 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 30 | <id name="id" type="int" column="id"> |
| 31 | <generator class="native"/> |
| 32 | </id> |
| 33 | <properties name="uk_vnf_component_recipe" unique="true"> |
| 34 | <property name="vnfType" column="VNF_TYPE" type="string" length="200"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 35 | <property name="vnfComponentType" type="string"> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 36 | <column name="VNF_COMPONENT_TYPE" not-null="true" length="45"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 37 | </property> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 38 | <property name="vfModuleId" column="VF_MODULE_ID" type="string" length="100" not-null="false"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 39 | <property name="action" type="string"> |
| 40 | <column name="ACTION" not-null="true" length="20"/> |
| 41 | </property> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 42 | <property name="serviceType" type="string"> |
| 43 | <column name="SERVICE_TYPE" not-null="false" length="45" default="null"/> |
| 44 | </property> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 45 | <property name="version" column="VERSION" type="string" length="20"/> |
| 46 | </properties> |
| 47 | <property name="description" column="DESCRIPTION" type="string" length="1200"/> |
| 48 | <property name="orchestrationUri" type="string"> |
| 49 | <column name="ORCHESTRATION_URI" not-null="true" length="256"/> |
| 50 | </property> |
| 51 | <property name="vnfComponentParamXSD" column="VNF_COMPONENT_PARAM_XSD" type="string" length="2048"/> |
| 52 | <property name="recipeTimeout" column="RECIPE_TIMEOUT" type="int"/> |
| 53 | <property name="created" column="CREATION_TIMESTAMP" type="timestamp" generated="insert" update="false" insert="false" /> |
| 54 | </class> |
| 55 | </hibernate-mapping> |