summaryrefslogtreecommitdiffstats
path: root/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm
diff options
context:
space:
mode:
authorWang <yingyicw@ad4.ad.alcatel.com>2017-09-22 15:43:34 +0800
committeryufei_zhou <yufei.zhou@nokia-sbell.com>2017-09-22 16:33:17 +0800
commit915c0a2a5bfc6f458a5402ff5a225ae943df6040 (patch)
tree9e7d5c904fcc1de1cae4388956e8911264dac665 /nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm
parent640f5f2669eff17a14cb721452061da46913ebb5 (diff)
Create seed code of svnfm vnfmdriver
Upload the seed code to gerrit for the first time. Change-Id: I5df47364f17e28d59ab4bacf6421fd92c9743384 Issue-ID: VFC-53 Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm')
-rw-r--r--nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_job_execution_map.hbm.xml31
-rw-r--r--nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_resource_record.hbm.xml30
2 files changed, 61 insertions, 0 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_job_execution_map.hbm.xml b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_job_execution_map.hbm.xml
new file mode 100644
index 00000000..0977b94c
--- /dev/null
+++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_job_execution_map.hbm.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 2016-2017, Nokia Corporation
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<!DOCTYPE hibernate-mapping PUBLIC
+ "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class name="com.nokia.vfcadaptor.beans.VnfmJobExecutioInfo" table="vnfm_job_execution_record" dynamic-update="true" lazy="true">
+ <id name="jobId" column="jobId" />
+
+ <property name="vnfInstanceId" column="vnfInstanceId"/>
+ <property name="vnfmExecutionId" column="vnfmExecutionId"/>
+
+ <property name="vnfmInterfceName" column="vnfmInterfceName"/>
+ <property name="status" column="status"/>
+
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_resource_record.hbm.xml b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_resource_record.hbm.xml
new file mode 100644
index 00000000..c1e279e9
--- /dev/null
+++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/hdm/vnfm_resource_record.hbm.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 2016-2017, Nokia Corporation
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<!DOCTYPE hibernate-mapping PUBLIC
+ "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<hibernate-mapping>
+ <class name="com.nokia.vfcadaptor.beans.VnfmResourceInfo" table="vnfm_resource_record" dynamic-update="true" lazy="true">
+ <id name="id" column="id" />
+
+ <property name="type" column="type"/>
+ <property name="resourceDefinitionId" column="resourceDefinitionId"/>
+ <property name="vdu" column="vdu"/>
+ <property name="status" column="status"/>
+
+ </class>
+</hibernate-mapping> \ No newline at end of file