summaryrefslogtreecommitdiffstats
path: root/ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml
diff options
context:
space:
mode:
authorKotagiri, Ramprasad (rp5662) <rp5662@att.com>2020-08-07 15:54:10 -0400
committerKotagiri, Ramprasad (rp5662) <rp5662@att.com>2020-08-12 12:38:26 -0400
commit09762dc92a06fb885f7055796db390a3a1baa535 (patch)
treee377c24a2cccb0a7d90b7b8560a7d8eef048a610 /ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml
parentf796af3a840d0fd9319e3dfe45ef0e548cd90171 (diff)
CCSDK DCAE dashboard feature changes
Issue-ID: DCAEGEN2-1857 Issue-ID: DCAEGEN2-2074 Issue-ID: DCAEGEN2-2364 Change-Id: I97f5ec4599512ed848136971b11d4c2a137a4999 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
Diffstat (limited to 'ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml')
-rw-r--r--ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml b/ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml
new file mode 100644
index 0000000..b302346
--- /dev/null
+++ b/ccsdk-app-os/src/main/webapp/WEB-INF/oom-app.hbm.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!--
+ =============LICENSE_START=========================================================
+
+ =================================================================================
+ Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ ================================================================================
+ 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.
+ ============LICENSE_END=========================================================
+
+ ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ -->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+ "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping package="org.onap.ccsdk.dashboard.domain">
+
+ <!-- class mapping details -->
+ <class name="ControllerEndpoint" table="ecd_endpoint">
+ <id name="userId" column="user_id" />
+ <property name="name" column="name"/>
+ <property name="url" column="url"/>
+ </class>
+ <class name="EcdComponent" table="ecd_component">
+ <id name="compId" column="ecd_component_id">
+ <generator class="native">
+ <param name="sequence">seq_ecd_component</param>
+ </generator>
+ </id>
+ <property name="cname" column="ecd_component_name"/>
+ <property name="dname" column="ecd_component_display"/>
+ </class>
+ <query name="getAllComponents">
+ FROM EcdComponent
+ </query>
+
+</hibernate-mapping>