Omaha #2669 add support for data access framework to pirep.
Former-commit-id: c37d85ba479b8df38c90df522059b0c58eea6005
This commit is contained in:
parent
23e376f738
commit
dd13f31356
4 changed files with 52 additions and 5 deletions
|
@ -8,16 +8,16 @@ Require-Bundle: com.raytheon.uf.common.status;bundle-version="1.12.1174",
|
|||
net.sf.cglib;bundle-version="2.1.3",
|
||||
com.raytheon.uf.edex.core;bundle-version="1.12.1174",
|
||||
javax.measure,
|
||||
com.raytheon.edex.common;bundle-version="1.12.1174",
|
||||
com.raytheon.uf.edex.decodertools
|
||||
com.raytheon.uf.edex.decodertools,
|
||||
org.hibernate;bundle-version="3.5.6",
|
||||
com.raytheon.uf.common.pointdata;bundle-version="1.13.0",
|
||||
com.raytheon.uf.common.dataaccess;bundle-version="1.14.0"
|
||||
Import-Package: com.raytheon.edex.db.dao,
|
||||
com.raytheon.uf.common.dataplugin,
|
||||
com.raytheon.uf.common.dataplugin.annotations,
|
||||
com.raytheon.uf.common.dataplugin.persist,
|
||||
com.raytheon.uf.common.datastorage,
|
||||
com.raytheon.uf.common.geospatial,
|
||||
com.raytheon.uf.common.pointdata,
|
||||
com.raytheon.uf.common.pointdata.spatial,
|
||||
com.raytheon.uf.common.serialization,
|
||||
com.raytheon.uf.common.serialization.annotations,
|
||||
com.raytheon.uf.common.time,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source.. = src/
|
||||
output.. = bin/
|
||||
bin.includes = META-INF/,\
|
||||
.
|
||||
.,\
|
||||
res/
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
||||
|
||||
<bean id="pirepDataAccessFactory" class="com.raytheon.uf.common.pointdata.dataaccess.PointDataAccessFactory" />
|
||||
|
||||
<bean factory-bean="pirepDataAccessFactory" factory-method="register2D">
|
||||
<constructor-arg value="numLayer"/>
|
||||
<!-- The level argument is not meaningful at all because there are no well defined levels for this data. -->
|
||||
<constructor-arg value="skyBaseHeight"/>
|
||||
<constructor-arg value="UNKNOWN"/>
|
||||
<constructor-arg>
|
||||
<list>
|
||||
<value>ncPirepLayerData</value>
|
||||
<value>hazardType</value>
|
||||
<value>turbInten</value>
|
||||
<value>turbFreq</value>
|
||||
<value>turbType</value>
|
||||
<value>iceInten</value>
|
||||
<value>iceType</value>
|
||||
<value>skyCover1</value>
|
||||
<value>skyCover2</value>
|
||||
<value>turbBaseHeight</value>
|
||||
<value>turbTopHeight</value>
|
||||
<value>iceBaseHeight</value>
|
||||
<value>iceTopHeight</value>
|
||||
<value>skyBaseHeight</value>
|
||||
<value>skyTopHeight</value>
|
||||
</list>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
|
||||
<bean factory-bean="dataAccessRegistry" factory-method="register">
|
||||
<constructor-arg value="pirep"/>
|
||||
<constructor-arg ref="pirepDataAccessFactory"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<pointDataDbDescription>
|
||||
<parameter name="latitude" queryName="location.latitude" type="FLOAT" unit="°" />
|
||||
<parameter name="longitude" queryName="location.longitude" type="FLOAT" unit="°" />
|
||||
<parameter name="stationId" queryName="location.stationId" type="STRING" />
|
||||
<parameter name="refTime" queryName="dataTime.refTime" numDims="1" type="LONG" unit="ms"/>
|
||||
<parameter name="forecastHr" queryName="dataTime.fcstTime" numDims="1" type="INT" unit="h" dbunit="s"/>
|
||||
</pointDataDbDescription>
|
Loading…
Add table
Reference in a new issue