c00149107 | 93933fe | 2017-08-30 09:29:59 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | /*- |
| 4 | * ============LICENSE_START======================================================= |
| 5 | * ONAP - SO |
| 6 | * ================================================================================ |
| 7 | * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. |
| 8 | * ================================================================================ |
| 9 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | * you may not use this file except in compliance with the License. |
| 11 | * You may obtain a copy of the License at |
| 12 | * |
| 13 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | * |
| 15 | * Unless required by applicable law or agreed to in writing, software |
| 16 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | * See the License for the specific language governing permissions and |
| 19 | * limitations under the License. |
| 20 | * ============LICENSE_END========================================================= |
| 21 | */ |
| 22 | --> |
| 23 | |
| 24 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
| 25 | |
| 26 | <hibernate-mapping package="org.openecomp.mso.requestsdb"> |
seshukm | 23bd47f | 2017-11-10 17:18:16 +0530 | [diff] [blame] | 27 | <class name="OperationStatus" table="OPERATION_STATUS"> |
| 28 | <meta attribute="class-description"> |
| 29 | This class describes a operation status |
| 30 | </meta> |
| 31 | <composite-id> |
| 32 | <key-property name="serviceId" type="string" column="SERVICE_ID"/> |
| 33 | <key-property name="operationId" column="OPERATION_ID" type="string" length="256"/> |
| 34 | </composite-id> |
| 35 | <property name="serviceName" column="SERVICE_NAME" type="string" length="256"/> |
| 36 | <property name="operation" column="OPERATION_TYPE" type="string" length="256"/> |
| 37 | <property name="userId" column="USER_ID" type="string" length="256"/> |
| 38 | <property name="result" column="RESULT" type="string" length="256"/> |
| 39 | <property name="operationContent" column="OPERATION_CONTENT" type="string" length="256"/> |
| 40 | <property name="progress" column="PROGRESS" type="string" length="256"/> |
| 41 | <property name="reason" column="REASON" type="string" length="256"/> |
| 42 | <property name="operateAt" type="timestamp"> |
| 43 | <column name="OPERATE_AT"/> |
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 44 | </property> |
seshukm | 23bd47f | 2017-11-10 17:18:16 +0530 | [diff] [blame] | 45 | <property name="finishedAt" column="FINISHED_AT" type="timestamp" /> |
| 46 | </class> |
c00149107 | 93933fe | 2017-08-30 09:29:59 +0800 | [diff] [blame] | 47 | </hibernate-mapping> |