initial commit from master_18.1.1
This commit is contained in:
commit
8eb821e8cd
20119 changed files with 4973378 additions and 0 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
./localization/localization.OAX/utility/common_static/site/OAX/shapefiles/FFMP/FFMP_aggr_basins.shp filter=lfs diff=lfs merge=lfs -text
|
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
bin/
|
||||
.metadata/
|
||||
ldm/Debug
|
||||
test-bin/
|
||||
testbin/
|
||||
testBin/
|
||||
bin-test/
|
||||
*.class
|
||||
*.pyo
|
||||
*.pyc
|
||||
*.o
|
||||
*.orig
|
||||
|
11
build/build.core/.project
Normal file
11
build/build.core/.project
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>build.core</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
108
build/build.core/Feature.groovy
Normal file
108
build/build.core/Feature.groovy
Normal file
|
@ -0,0 +1,108 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
|
||||
/**
|
||||
* POJO-based representation of the contents of an Eclipse feature file.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Dec 4, 2014 3836 bkowal Initial Commit
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bkowal
|
||||
* @version 1.0
|
||||
*/
|
||||
class Feature
|
||||
{
|
||||
private String feature
|
||||
private String featureDirectory
|
||||
/*
|
||||
* The first iteration of the build will assume that when includes
|
||||
* are present, there will not be any plugins or dependencies
|
||||
* because we will be working with the product feature
|
||||
*/
|
||||
private List includesList
|
||||
private List dependenciesList
|
||||
private List pluginsList
|
||||
|
||||
public Feature(String feature, String featureDirectory)
|
||||
{
|
||||
this.feature = feature
|
||||
this.featureDirectory = featureDirectory
|
||||
this.includesList = []
|
||||
this.dependenciesList = []
|
||||
this.pluginsList = []
|
||||
}
|
||||
|
||||
public String getFeature()
|
||||
{
|
||||
return this.feature
|
||||
}
|
||||
|
||||
public String getFeatureDirectory()
|
||||
{
|
||||
return this.featureDirectory
|
||||
}
|
||||
|
||||
public void addInclude(String includedFeature)
|
||||
{
|
||||
this.includesList.add(includedFeature)
|
||||
}
|
||||
|
||||
public List getIncludes()
|
||||
{
|
||||
return this.includesList
|
||||
}
|
||||
|
||||
public boolean hasIncludes()
|
||||
{
|
||||
return this.includesList.size() > 0
|
||||
}
|
||||
|
||||
public void addDependency(String dependency)
|
||||
{
|
||||
this.dependenciesList.add(dependency)
|
||||
}
|
||||
|
||||
public List getDependencies()
|
||||
{
|
||||
return this.dependenciesList
|
||||
}
|
||||
|
||||
public boolean hasDependencies()
|
||||
{
|
||||
return this.dependenciesList.size() > 0
|
||||
}
|
||||
|
||||
public void addPlugin(String plugin)
|
||||
{
|
||||
this.pluginsList.add(plugin)
|
||||
}
|
||||
|
||||
public List getPlugins()
|
||||
{
|
||||
return this.pluginsList
|
||||
}
|
||||
}
|
52
build/build.core/FeatureParser.groovy
Normal file
52
build/build.core/FeatureParser.groovy
Normal file
|
@ -0,0 +1,52 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
|
||||
/**
|
||||
* Parses an Eclipse feature file (feature.xml) and returns a POJO representation
|
||||
* of the contents of the feature file.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Dec 4, 2014 3836 bkowal Initial Commit
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bkowal
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
class FeatureParser
|
||||
{
|
||||
public static Feature parseFeature(String featureFile, String featureDirectory)
|
||||
{
|
||||
Feature feature = new Feature(featureFile, featureDirectory)
|
||||
|
||||
def featureXML = new XmlSlurper().parse(new File(featureFile))
|
||||
featureXML.includes.each {feature.addInclude(it.attributes().id)}
|
||||
featureXML.requires.import.each {feature.addDependency(it.attributes().feature)}
|
||||
featureXML.plugin.each {feature.addPlugin(it.attributes().id)}
|
||||
|
||||
return feature
|
||||
}
|
||||
}
|
17
build/deploy.edex.awips2/.project
Normal file
17
build/deploy.edex.awips2/.project
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>deploy.edex.awips2</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.python.pydev.PyDevBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.python.pydev.pythonNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
5
build/deploy.edex.awips2/.pydevproject
Normal file
5
build/deploy.edex.awips2/.pydevproject
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?eclipse-pydev version="1.0"?><pydev_project>
|
||||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
|
||||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
|
||||
</pydev_project>
|
12
build/deploy.edex.awips2/deploy/deploy-esb-configuration.xml
Normal file
12
build/deploy.edex.awips2/deploy/deploy-esb-configuration.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<project name="deploy.esb" default="main">
|
||||
<target name="main">
|
||||
<mkdir dir="${edex.root.directory}/bin" />
|
||||
|
||||
<!-- deploy setup.env -->
|
||||
<copy todir="${edex.root.directory}/bin"
|
||||
overwrite="${esb.overwrite}">
|
||||
<fileset file="${esb.directory}/bin/setup.env" />
|
||||
</copy>
|
||||
|
||||
</target>
|
||||
</project>
|
112
build/deploy.edex.awips2/deploy/deploy-esb.xml
Normal file
112
build/deploy.edex.awips2/deploy/deploy-esb.xml
Normal file
|
@ -0,0 +1,112 @@
|
|||
<project name="deploy.esb" default="main">
|
||||
<!-- <import file="deploy-web.xml" /> -->
|
||||
|
||||
<target name="main">
|
||||
<!-- on a developer machine, the following directories should
|
||||
already exist. -->
|
||||
<mkdir dir="${edex.root.directory}/lib" />
|
||||
<mkdir dir="${edex.root.directory}/bin" />
|
||||
<mkdir dir="${edex.root.directory}/conf" />
|
||||
|
||||
<antcall target="cleanup" />
|
||||
|
||||
<!-- Determine if any Work Assignments have been specified. -->
|
||||
<condition property="wa.enabled">
|
||||
<not><equals arg1="${wa.to.deploy}" arg2="" /></not>
|
||||
</condition>
|
||||
|
||||
<antcall target="deploy.esb" />
|
||||
<if>
|
||||
<equals arg1="${deploy.data}" arg2="true" />
|
||||
<then>
|
||||
<antcall target="deploy.esb-data" />
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<for list="${wa.specific.deploy}" param="wa" delimiter="${path.separator}">
|
||||
<sequential>
|
||||
<basename property="wa.name" file="@{wa}" />
|
||||
<var name="wa.base.directory"
|
||||
value="${git.directory}/@{wa}/edex/deploy.edex-${wa.name}" />
|
||||
<if>
|
||||
<available file="${wa.base.directory}/esb"
|
||||
type="dir" />
|
||||
<then>
|
||||
<copy todir="${edex.root.directory}"
|
||||
overwrite="${esb.overwrite}" failonerror="true">
|
||||
<fileset dir="${wa.base.directory}/esb">
|
||||
<include name="**/*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</then>
|
||||
</if>
|
||||
</sequential>
|
||||
</for>
|
||||
</target>
|
||||
|
||||
<target name="cleanup">
|
||||
<!-- delete all files under ${esbDir}/lib/ -->
|
||||
<echo message="Cleaning target directory: ${edex.root.directory}/lib/" />
|
||||
<delete includeemptydirs="true">
|
||||
<fileset dir="${edex.root.directory}/lib/">
|
||||
<include name="**" />
|
||||
<exclude name="native/**" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<!-- delete the shell scripts from ${esbDir}/bin/ -->
|
||||
<echo message="Cleaning target directory: ${edex.root.directory}/bin/" />
|
||||
<delete includeemptydirs="true">
|
||||
<fileset dir="${edex.root.directory}/bin/">
|
||||
<include name="*.sh"/>
|
||||
<include name="yajsw/**" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<echo message="Cleaning target directory: ${edex.root.directory}/conf" />
|
||||
<delete>
|
||||
<fileset dir="${edex.root.directory}/conf">
|
||||
<include name="**" />
|
||||
<exclude name="**/site/**"/>
|
||||
<exclude name="**/*.jks"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
</target>
|
||||
|
||||
<target name="deploy.esb">
|
||||
<copy todir="${edex.root.directory}"
|
||||
overwrite="${esb.overwrite}">
|
||||
<fileset dir="${esb.directory}">
|
||||
<exclude name="data/**" />
|
||||
<exclude name="svcBackup/**" />
|
||||
<exclude name="**/bin/setup.env" />
|
||||
<exclude name="**/bin/linux-x86-32/**" />
|
||||
<exclude name="**/bin/linux-x86-64/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- set executable permissions - start.sh. -->
|
||||
<chmod file="${edex.root.directory}/bin/start.sh" perm="ugo+rx" />
|
||||
|
||||
<!-- set executable permissions - private keys -->
|
||||
<chmod file="${edex.root.directory}/conf/db/auth/*.key" perm="go-rwx" />
|
||||
<chmod file="${edex.root.directory}/conf/db/auth/*.pk8" perm="go-rwx" />
|
||||
</target>
|
||||
|
||||
<target name="deploy.esb-data">
|
||||
<copy todir="${edex.root.directory}"
|
||||
overwrite="${esb.overwrite}">
|
||||
<fileset dir="${esb.directory}" includes="data/**" />
|
||||
</copy>
|
||||
|
||||
<!-- update directory permissions. -->
|
||||
<exec executable="chmod">
|
||||
<arg value="-R"/>
|
||||
<arg value="775"/>
|
||||
<arg value="${edex.root.directory}/data"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antlib.xml"
|
||||
classpath="${basedir}/lib/ant/ant-contrib-1.0b3.jar" />
|
||||
</project>
|
36
build/deploy.edex.awips2/esb/bin/daminfotranslator.sh
Normal file
36
build/deploy.edex.awips2/esb/bin/daminfotranslator.sh
Normal file
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
# resolve/set local variables
|
||||
path_to_script=`readlink -f $0`
|
||||
dir=$(dirname $path_to_script)
|
||||
dir=$(dirname $dir)
|
||||
awips_home=$(dirname $dir)
|
||||
|
||||
rpm -q awips2-java > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-java Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
fi
|
||||
|
||||
JAVA_INSTALL=`rpm -q --queryformat '%{INSTPREFIXES}' awips2-java`
|
||||
|
||||
${JAVA_INSTALL}/bin/java -classpath $awips_home/edex/lib/plugins/plugin-warning.jar:$awips_home/edex/lib/dependencies/org.geotools/jts-1.9.jar com.raytheon.edex.plugin.warning.tools.DamInfoTranslator $@
|
10
build/deploy.edex.awips2/esb/bin/scriptLauncher
Executable file
10
build/deploy.edex.awips2/esb/bin/scriptLauncher
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This starts the desired script passing the script name and arguments as a
|
||||
# single string ("$@"). It then sends stdout/stderr to the bit bucket
|
||||
# (>&/dev/null).
|
||||
# The stdin for the script is also the bit bucket (</dev/null) so if used it
|
||||
# immediately indicates end of file. Finally the script is set to run in the
|
||||
# background (&) so the launcher returns without waiting for the script to
|
||||
# return.
|
||||
exec "$@" >&/dev/null </dev/null &
|
67
build/deploy.edex.awips2/esb/bin/setup.env
Normal file
67
build/deploy.edex.awips2/esb/bin/setup.env
Normal file
|
@ -0,0 +1,67 @@
|
|||
### EDEX localization related variables ###
|
||||
export AW_SITE_IDENTIFIER=OAX
|
||||
## Cluster id can be set to the cluster's id (example:tbw for dx1-tbwo)
|
||||
## it will be autogenerated if not set
|
||||
export CLUSTER_ID=
|
||||
|
||||
# database names
|
||||
export DC_DB_NAME=dc_ob7oax
|
||||
export FXA_DB_NAME=fxatext
|
||||
export HM_DB_NAME=hmdb
|
||||
export IH_DB_NAME=hd_ob92oax
|
||||
export CLIMATE_DB_NAME=climate
|
||||
|
||||
# Resolve conflict on AFOS PILs by finding site with first letter in the following order.
|
||||
export PREFERRED_AFOS_FIRST_LETTER="KCPTXM"
|
||||
### end of localization variables ###
|
||||
|
||||
# setup environment for HPE
|
||||
export DATA_ARCHIVE_ROOT=/tmp/sbn
|
||||
|
||||
# setup db connections
|
||||
export DB_HOST=localhost
|
||||
export DB_PORT=5432
|
||||
export DB_SSLMODE=verify-ca
|
||||
|
||||
# setup connection to qpid
|
||||
export BROKER_HOST=localhost
|
||||
export BROKER_PORT=5672
|
||||
export BROKER_HTTP=8180
|
||||
|
||||
# setup hdf5 connection if pypies is enabled
|
||||
export PYPIES_HOST=localhost
|
||||
export PYPIES_PORT=9582
|
||||
export PYPIES_SERVER=http://${PYPIES_HOST}:${PYPIES_PORT}
|
||||
|
||||
# moved here from environment.xml
|
||||
# these values are returned to clients that contact the localization service
|
||||
export HTTP_HOST=localhost
|
||||
export HTTP_PORT=9581
|
||||
export HTTP_SERVER_PATH=/services
|
||||
export HTTP_SERVER=http://${HTTP_HOST}:${HTTP_PORT}${HTTP_SERVER_PATH}
|
||||
export JMS_SERVER=tcp://${BROKER_HOST}:${BROKER_PORT}
|
||||
export JMS_VIRTUALHOST=edex
|
||||
export JMS_CONNECTIONS_URL=https://${BROKER_HOST}:${BROKER_HTTP}/api/latest/connection/${JMS_VIRTUALHOST}
|
||||
export JMS_QUEUE_URL=https://${BROKER_HOST}:${BROKER_HTTP}/api/latest/queue/${JMS_VIRTUALHOST}/${JMS_VIRTUALHOST}
|
||||
export JMS_SSL_ENABLED=true
|
||||
export QPID_SSL_CERT_DB=/awips2/edex/conf/jms/auth
|
||||
export QPID_SSL_CERT_NAME=guest
|
||||
export RADAR_HOST=localhost
|
||||
export RADAR_PORT=8813
|
||||
export RADAR_SERVER=tcp://${RADAR_HOST}:${RADAR_PORT}
|
||||
|
||||
# set the AWIPS II shared directory
|
||||
export SHARE_DIR=/awips2/edex/data/share
|
||||
|
||||
# set the AWIPS II temporary directory
|
||||
export TEMP_DIR=/awips2/edex/data/tmp
|
||||
|
||||
# set hydroapps directory path
|
||||
export apps_dir=${SHARE_DIR}/hydroapps
|
||||
# site identifier for hydroapps
|
||||
export SITE_IDENTIFIER=${AW_SITE_IDENTIFIER}
|
||||
|
||||
# set Fax environment variables pointing to ldad@ls1
|
||||
export LDAD_EXTERNAL_HOME=/ldad
|
||||
export LDAD_EXTERNAL_PUBLIC=/data/ldad/public
|
||||
export AWIPS2_TEMP=/awips2/tmp
|
195
build/deploy.edex.awips2/esb/bin/start.sh
Normal file
195
build/deploy.edex.awips2/esb/bin/start.sh
Normal file
|
@ -0,0 +1,195 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
# edex startup script
|
||||
|
||||
if [ -z "${SKIP_RPM_CHECK}" ]; then
|
||||
# Verify that awips2-python and awips2-java are installed.
|
||||
rpm -q awips2-python > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-python Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm -q awips2-java > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-java Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm -q awips2-psql > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: awips2-psql Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpm -q awips2-yajsw > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: awips2-yajsw Must Be Installed."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
path_to_script=`readlink -f $0`
|
||||
dir=$(dirname $path_to_script)
|
||||
|
||||
export EDEX_HOME=$(dirname $dir)
|
||||
awips_home=$(dirname $EDEX_HOME)
|
||||
|
||||
# Find the locations of awips2-python and awips2-java.
|
||||
# only set if the location has not already been exported
|
||||
if [ -z "$PYTHON_INSTALL" ]; then PYTHON_INSTALL="$awips_home/python"; fi
|
||||
if [ -z "$JAVA_INSTALL" ]; then JAVA_INSTALL="$awips_home/java"; fi
|
||||
if [ -z "$PSQL_INSTALL" ]; then PSQL_INSTALL="$awips_home/psql"; fi
|
||||
if [ -z "$YAJSW_HOME" ]; then YAJSW_HOME="$awips_home/yajsw"; fi
|
||||
|
||||
# Find the edex version
|
||||
rpm -q awips2-edex > /dev/null 2>&1
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
version="Undefined"
|
||||
else
|
||||
version=`rpm -q awips2-edex --qf %{VERSION}`
|
||||
fi
|
||||
export EDEX_VERSION=$version
|
||||
|
||||
# Source The File With The Localization Information
|
||||
source ${dir}/setup.env
|
||||
|
||||
#source /awips2/edex/bin/yajsw/bin/setenv.sh
|
||||
|
||||
### AWIPS 1 support ###
|
||||
if [ -f /etc/rc.config.d/AWIPS ]; then
|
||||
. /etc/rc.config.d/AWIPS
|
||||
fi
|
||||
export SHLIB_PATH=$PROJECT/sharedlib
|
||||
### End AWIPS 1 support ###
|
||||
|
||||
export HOSTNAME=`hostname`
|
||||
export SHORT_HOSTNAME=`hostname -s`
|
||||
|
||||
# set Python & Java into the path
|
||||
export PATH=$awips_home/bin:${JAVA_INSTALL}/bin:${PYTHON_INSTALL}/bin:$PATH
|
||||
|
||||
# set Service Backup scripts into the path
|
||||
export PATH=$PATH:$awips_home/GFESuite/bin:$awips_home/GFESuite/ServiceBackup/scripts
|
||||
|
||||
# set AWIPS 1 stuff into path
|
||||
export PATH=$PATH:$PROJECT/bin
|
||||
|
||||
export JAVA_HOME="${JAVA_INSTALL}"
|
||||
export LD_LIBRARY_PATH=$EDEX_HOME/lib/native/linux32/awips1:${JAVA_INSTALL}/lib:${PYTHON_INSTALL}/lib:${PYTHON_INSTALL}/lib/python2.7/site-packages/jep:${PSQL_INSTALL}/lib:$PROJECT/sharedLib:$LD_LIBRARY_PATH
|
||||
|
||||
export FXA_DATA=$EDEX_HOME/data/fxa
|
||||
export ALLOW_ARCHIVE_DATA="false"
|
||||
|
||||
# setup environment for HPE
|
||||
export AMQP_SPEC=$awips_home/python/share/amqp/amqp.0-10.xml
|
||||
|
||||
|
||||
# get total memory on system in bytes
|
||||
MEM_IN_MEG=( `free -m | grep "Mem:"` )
|
||||
export MEM_IN_MEG=${MEM_IN_MEG[1]}
|
||||
HIGH_MEM=off
|
||||
|
||||
if [ $MEM_IN_MEG -gt 12288 ]; then
|
||||
HIGH_MEM=on
|
||||
fi
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#read and interpret the command line arguments
|
||||
#-------------------------------------------------------------------------
|
||||
CONSOLE_FLAG=on
|
||||
CONSOLE_LOGLEVEL=DEBUG
|
||||
DEBUG_FLAG=off
|
||||
PROFILE_FLAG=off
|
||||
CONF_FILE="wrapper.conf"
|
||||
RUN_MODE=
|
||||
LOG_APPENDERS_CONFIG="logback-edex-appenders-developer.xml"
|
||||
EDEX_WRAPPER_LOGFILE_FORMAT=M
|
||||
|
||||
for arg in $@
|
||||
do
|
||||
case $arg in
|
||||
-b|-d|-debug|-db|-bd) DEBUG_FLAG=on;;
|
||||
-p|-profiler) PROFILE_FLAG=on;;
|
||||
-h|-highmem) HIGH_MEM=on;;
|
||||
-noHighmem) HIGH_MEM=off;;
|
||||
-noConsole) CONSOLE_FLAG=off;;
|
||||
*) RUN_MODE=$arg;;
|
||||
esac
|
||||
done
|
||||
|
||||
export EDEX_RUN_MODE=$RUN_MODE
|
||||
EDEX_WRAPPER_LOGFILE=${EDEX_HOME}/logs/edex-${EDEX_RUN_MODE}-YYYYMMDD.log
|
||||
|
||||
if [ $CONSOLE_FLAG == "off" ]; then
|
||||
CONSOLE_LOGLEVEL=NONE
|
||||
LOG_APPENDERS_CONFIG="logback-edex-appenders.xml"
|
||||
EDEX_WRAPPER_LOGFILE=${EDEX_HOME}/logs/edex-${EDEX_RUN_MODE}-wrapper-YYYYMMDD.log
|
||||
EDEX_WRAPPER_LOGFILE_FORMAT=LTM
|
||||
fi
|
||||
|
||||
export CONSOLE_LOGLEVEL
|
||||
export LOG_APPENDERS_CONFIG
|
||||
export EDEX_WRAPPER_LOGFILE
|
||||
export EDEX_WRAPPER_LOGFILE_FORMAT
|
||||
|
||||
|
||||
# source environment files
|
||||
. $EDEX_HOME/etc/default.sh
|
||||
|
||||
if [ -e $EDEX_HOME/etc/${RUN_MODE}.sh ]; then
|
||||
. $EDEX_HOME/etc/${RUN_MODE}.sh
|
||||
fi
|
||||
|
||||
if [ $PROFILE_FLAG == "on" ]; then
|
||||
. $EDEX_HOME/etc/profiler.sh
|
||||
fi
|
||||
|
||||
# enable core dumps
|
||||
#ulimit -c unlimited
|
||||
|
||||
if [ $DEBUG_FLAG == "off" ]; then
|
||||
export EDEX_DEBUG_PORT=-1
|
||||
else
|
||||
echo "To Debug ... Connect to Port: ${EDEX_DEBUG_PORT}."
|
||||
fi
|
||||
|
||||
#create tmp dir
|
||||
mkdir -p ${AWIPS2_TEMP}
|
||||
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
echo "ERROR: Failed to create temp directory ${AWIPS2_TEMP}."
|
||||
echo "Unable To Continue ... Terminating."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
YAJSW_JVM_ARGS="-Xmx32m -XX:ReservedCodeCacheSize=4m -Djava.io.tmpdir=${AWIPS2_TEMP}"
|
||||
|
||||
java ${YAJSW_JVM_ARGS} -jar ${YAJSW_HOME}/wrapper.jar -c ${EDEX_HOME}/conf/${CONF_FILE}
|
9
build/deploy.edex.awips2/esb/conf/banner.txt
Normal file
9
build/deploy.edex.awips2/esb/conf/banner.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
**************************************************
|
||||
* AWIPS II EDEX ESB Platform *
|
||||
* Version: SOTE 11.X *
|
||||
* Raytheon Company *
|
||||
*------------------------------------------------*
|
||||
* DEVELOPMENT *
|
||||
* *
|
||||
* *
|
||||
**************************************************
|
51
build/deploy.edex.awips2/esb/conf/cache/ebxmlRegistryCache.xml
vendored
Normal file
51
build/deploy.edex.awips2/esb/conf/cache/ebxmlRegistryCache.xml
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
<ehcache>
|
||||
<diskStore path="java.io.tmpdir"/>
|
||||
<defaultCache
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="org.hibernate.cache.UpdateTimestampsCache"
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="180"
|
||||
timeToLiveSeconds="180"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="org.hibernate.cache.StandardQueryCache"
|
||||
maxElementsInMemory="1000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
<cache
|
||||
name="registryObjects"
|
||||
maxElementsInMemory="5000"
|
||||
maxElementsOnDisk="1"
|
||||
eternal="false"
|
||||
overflowToDisk="false"
|
||||
timeToIdleSeconds="120"
|
||||
timeToLiveSeconds="120"
|
||||
diskPersistent="false"
|
||||
memoryStoreEvictionPolicy="LRU"
|
||||
/>
|
||||
|
||||
|
||||
</ehcache>
|
18
build/deploy.edex.awips2/esb/conf/db/auth/awips.crt
Normal file
18
build/deploy.edex.awips2/esb/conf/db/auth/awips.crt
Normal file
|
@ -0,0 +1,18 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC4TCCAckCCQDkIgVweT7S2DANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowMjEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxDjAMBgNVBAMMBWF3aXBzMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||
AQ8AMIIBCgKCAQEAl9naOtsCbY+sKcnecmQyOGxrdQEmuHcytRWPYgSs6mA2GL1z
|
||||
fGAeTFIfO/44XlNjbPU44PeXuXf+PjPfUU+y4wHQjIXbGJjfbghT4cGT+NInBtXz
|
||||
c+8wb+QuJftEd7qNPGZ+ljcexXTHvCWtjFQL2as7UpScbUyx25g400VOdyxHn0Ki
|
||||
D2j+JXmAjg7Zwh8AbMx+vcxEL5hfPgut//ginKpLqDGFi35PtXb3SIcuYjyh8bsZ
|
||||
NsyG2dYSehQZn4gFKfmMpGG8Z5Jt/XCPEuzzRG8GTIcurK62CJ8utD4R13PP4gYj
|
||||
mr6pXawxNVR4+KE3rv64nWvGlax99ZpmZQkbPwIDAQABMA0GCSqGSIb3DQEBBQUA
|
||||
A4IBAQBi8DwdlbvpxcCG1Z2PG6fYwucX9txStDdTR6V7HFKKG+UlxzYhNiVcH2Mn
|
||||
Kv2ZQ27Hgja+uBLFtMHi6Ic3wgpvMTqtnysNCQja4+ceLy5Ok3s6oUzbDHcwgeJh
|
||||
G0EBKzSZAtgRmHTuMPJVSOjbgDz33JmJ/W9AJo8VIEbANt9KgxIl3v26v8XeHQLl
|
||||
eW9S+cr3OnzR9D55r7yHj068tXZL/e/FdMT5J/y1TWSbGP2hUhl3tOzbDJI/OUmp
|
||||
niR+FJ4wj8HsNkAOS6yzqwQqPMUOSn/WBY9F1FXKRMuTSEJ28lCzNgb65P19Ekgs
|
||||
bjRNg05FnRnc6AX6fD6PnXyyNaHQ
|
||||
-----END CERTIFICATE-----
|
28
build/deploy.edex.awips2/esb/conf/db/auth/awips.key
Normal file
28
build/deploy.edex.awips2/esb/conf/db/auth/awips.key
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCX2do62wJtj6wp
|
||||
yd5yZDI4bGt1ASa4dzK1FY9iBKzqYDYYvXN8YB5MUh87/jheU2Ns9Tjg95e5d/4+
|
||||
M99RT7LjAdCMhdsYmN9uCFPhwZP40icG1fNz7zBv5C4l+0R3uo08Zn6WNx7FdMe8
|
||||
Ja2MVAvZqztSlJxtTLHbmDjTRU53LEefQqIPaP4leYCODtnCHwBszH69zEQvmF8+
|
||||
C63/+CKcqkuoMYWLfk+1dvdIhy5iPKHxuxk2zIbZ1hJ6FBmfiAUp+YykYbxnkm39
|
||||
cI8S7PNEbwZMhy6srrYIny60PhHXc8/iBiOavqldrDE1VHj4oTeu/rida8aVrH31
|
||||
mmZlCRs/AgMBAAECggEAU4uHdqQyVMccKK2pFnSr8MEt6eTlQc5K9rhS99GstRKU
|
||||
EM6C8GYNpV31U1ON/c+RP0w3rAZs0p0DI4P0lM7tk9nWvMmUfpb1LpukUuvnFpnA
|
||||
4RDrbdimZJk9DqaMx/a6aAXYFZtj8a1LiueL8U34axy7ebbLzZLJtBCvCwXxory/
|
||||
+M8JyVqOmQzCOfGYhmg9UaUZY0IO3g5eNh8HZFb72rUcmxI1hWOXmNNxZCZLRlRr
|
||||
8NIxar4Ezl3Mg7KTyhaV+ow3T6E6q31nMzBV0agPHmXj/0ip3ewwxv6PUiF6ytU1
|
||||
fre/t8WoYb0fCEyczYXrRqT5g/9wfBBUqko4N2LL6QKBgQDI7VGqicZcgEeQ6vv7
|
||||
GmAjXi50OvVqyKTG/NPF5S6FOU1iK2kJbdE7zQoGxOtDsa1nu+PXBHG/TDVwBWX/
|
||||
JCQ70Xh7vvlxeTjkIUzdwUV6j1eiIHrl3VOpVFfzWLtEs7Nl47N2Q4JsLaHhrbni
|
||||
YZxBjtSbW4SjxrnpLtvAmvNMAwKBgQDBePUonzazFdpvcaGotA0iaNF3FjyKLlXj
|
||||
+n6wT63NoHjFDLLloxTy7uLaRBiJqmCtwHqjm3yDohXDEa3Jn7s6X+wRsxKUuNSW
|
||||
q8V0vjDVk9mG/uUtYQfHArVHET2ZdR25rQGkqTjQ10C5xrlmpL7SwAX9MAEh3Evx
|
||||
KZx468f1FQKBgDMqg/5qoVHS9OaJgGt8VvkKtcexb+emepeVsJQXfZY9dmBGb7QP
|
||||
/BU/bIs2wDZ325Gr/iQ2JIUzcfQ527RyTqvQ9t6ETl9AIGWvuTRLUFcag5Vssf8x
|
||||
MmnPaao1cVLYdBnBN2UpYeAMasnehJSKiNEE/00krA1MwPEJlrpgew5jAoGAIkAZ
|
||||
lpFpC5cozmXdapJFaPwJaP2kxgmh5vQnjWrtp+NqveebnA+c28zymBVKCsUAzIGw
|
||||
tFoIVv1QwPHWREVkzdbBYfjDp1R5Phs2n44z8vtznPRu+fOdftu539TrhMk48+/u
|
||||
xIm4pzAUI09M7yDnL0QTS1k+OhJX11+4dae4BGkCgYEAkhn4eUBtPujkdPk0iLIw
|
||||
vnPLTMw55JDIDcOOZEMHs2te3ipX+4XEGEnq9pwwsm+1nb7GiBmCJYhos51Nygmj
|
||||
7Z7nuNhzjzm58seM+xLIcgjsI+OKhfCKHlTXP43h3evWuT9rtd55hdb5cNsFIXgM
|
||||
yz3VoAaOTrExQJeG0WWu8jQ=
|
||||
-----END PRIVATE KEY-----
|
BIN
build/deploy.edex.awips2/esb/conf/db/auth/awips.pk8
Normal file
BIN
build/deploy.edex.awips2/esb/conf/db/auth/awips.pk8
Normal file
Binary file not shown.
18
build/deploy.edex.awips2/esb/conf/db/auth/awipsadmin.crt
Normal file
18
build/deploy.edex.awips2/esb/conf/db/auth/awipsadmin.crt
Normal file
|
@ -0,0 +1,18 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC5jCCAc4CCQDkIgVweT7S2TANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowNzEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxEzARBgNVBAMMCmF3aXBzYWRtaW4wggEiMA0GCSqGSIb3DQEB
|
||||
AQUAA4IBDwAwggEKAoIBAQC/B/FeWAXDnqlew3ph8YqHDh6Cfo+xsHQ6noNIoQym
|
||||
7yatxR+98wOVTp/uNoTeMMPxus2SbyRkjgsD5kZh1I0dD11MaTvTYdpY9+wcFMKk
|
||||
OPrS0pwZs6oXec1vbdkO8BDoLsTg/Uy9LSzYo+pcjzcRUWy55LGqj8YAuPshLEOc
|
||||
pdRptTe/7uu/DuWP8PyR6H0LLkGyQTOStkuUjODJdNOihp57U8ZW+mC7DaHY753G
|
||||
l6f5Gn6fxnIJZoW4uhrqxPe/0F2dGZKcS6+zjNP2E9q0elwPvhvUFYpCsJlpMEVj
|
||||
ftH3aBUqUAv4SolxscWXq7flSnMrqFhDiS4xg/kmX+0bAgMBAAEwDQYJKoZIhvcN
|
||||
AQEFBQADggEBAKOVQ/5Av9dcocOIE6EhdELb7r30VYat1J/t52bTEwywegZA+40s
|
||||
E3V/OJmahWor2GEztJxX4kmZtUjuIXpVTe1SvLbJalRa4b3OCQT8nKomu1QfOuZq
|
||||
P5BQZCRUqFHd66BxXrDdvmklYPxyFQPJbm24QZyUG/ZscddB75P8gOxeIvEELbsn
|
||||
AMPe7zGhyMjItrFAAxq0ZMiWtXWiKLk1zlMfThCBGhJjgQbqrHCaQIQpKIulZY6R
|
||||
3s0ITwhMZ3d/8Rrr7hO9DCL3q9wbQNTe2ZHnMkvnThAz2FZ0QPbAttENs3a8+lHZ
|
||||
zdSb6phvm+4vpgdaXBnXsP3Fz/YQj1nD/4o=
|
||||
-----END CERTIFICATE-----
|
28
build/deploy.edex.awips2/esb/conf/db/auth/awipsadmin.key
Normal file
28
build/deploy.edex.awips2/esb/conf/db/auth/awipsadmin.key
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC/B/FeWAXDnqle
|
||||
w3ph8YqHDh6Cfo+xsHQ6noNIoQym7yatxR+98wOVTp/uNoTeMMPxus2SbyRkjgsD
|
||||
5kZh1I0dD11MaTvTYdpY9+wcFMKkOPrS0pwZs6oXec1vbdkO8BDoLsTg/Uy9LSzY
|
||||
o+pcjzcRUWy55LGqj8YAuPshLEOcpdRptTe/7uu/DuWP8PyR6H0LLkGyQTOStkuU
|
||||
jODJdNOihp57U8ZW+mC7DaHY753Gl6f5Gn6fxnIJZoW4uhrqxPe/0F2dGZKcS6+z
|
||||
jNP2E9q0elwPvhvUFYpCsJlpMEVjftH3aBUqUAv4SolxscWXq7flSnMrqFhDiS4x
|
||||
g/kmX+0bAgMBAAECggEBAJVlK9GBeziKO6DdtTclxBVs6FVbjxsCiVNSpg9Fy/Q9
|
||||
cX1SfUl65KF+tLqCLpTphEPmuGA9xTNSlrC9BOv7Y0SHwIpCfkQI8c7ETQWFAteV
|
||||
rCr2BJhhFrN3UT9EpAz3l/FMqjHeRoZn7vuZ7W3nnsRPbn1OqddeyxXDlLpTuKim
|
||||
9l5OEkv/xdGOqfBupZLAUwje3UW5XZeqpj9qqAbSL2ZQVVKewbOOyVh4CWtH1uXp
|
||||
ygCs6GwetkpdgriHa2Jw9Qx24sv1Z2ZUjb2eE1WELbXJ5rdlsRrIMM3+WOmhh2p9
|
||||
cY8x8Xee/RuoHAXoG/qcALrx13oRBoUGIhZUWnAXMnkCgYEA/jjvyb8iZ3Pq4Syv
|
||||
xDNBRwxWyyJP2aqJCT3MT9QZUz+CY4t63NjVDnqGDxMuYuZxVOUZzeME3kVBg2fL
|
||||
nmagARpXDU/dDC2BSWybzEqZeZJmuVSuX6np9S7C0NhNqQncM+Y4GbLBDrk/DgEx
|
||||
diKDDUSygg4FMLa2ymIrBLDkwe8CgYEAwF3kbfpQtLJfFWEwYKqBUjrzLwiLdIEW
|
||||
WSjwq1LhKsNO5Q5YaJMbTVnSTTFjGLZRz1eZIdCsxEaM8i7BmnDfZJ2NaqPlTbpR
|
||||
UxI2R00O55BqF/kM3ZASwpW2t0dp/tAogjPp+fiDRdFjJJ6HJNVLX7cSiGjcqDOg
|
||||
OzMd88Cew5UCgYEA3B0gQWYku746GE1Awng+hO3CGI/U43osvLutM1FJvDK5Csex
|
||||
0ZZMowSjHlpVR3yPlBnphcKSbIE6gDRWsQfachoEVZpYojqkPpazLudIi2KfXshb
|
||||
Uqkj0Q5zz6/5TesjpiwnVtjXH5B1cALIeKjZH5vjk4fgJpWNHx5wcNdYujECgYBi
|
||||
0Jhjyh6lA6+GKvuP3GY72F5NPcVtHlZdjIM8boGN1u/zB9BwP4jZzhcSYhk2e4lA
|
||||
yg22ahwlYtxKF6yJ6gtHAwu+yNwkdl4KHyPUsofCedOV5vAt7DFG1WMbeMrBAyqb
|
||||
35EEQB0mwy17hReE2zAxxbf2bG9U09guMM7lBIBJlQKBgEUU42lcYjbPHQN6xA74
|
||||
/BFVn5/0ek8ArnW176ZIv28VBF2WynJCdUa7TErNFktnlqDBFPzDOeCwsj++A3mD
|
||||
HJcnmgFbEmtlReZQ3Ewg0Sd7T5zZ99X8kIvYSdxweEcwYJ36O1mpFw70QjBrFi8X
|
||||
iXlnuysfmVzSrdSrbVbwqms8
|
||||
-----END PRIVATE KEY-----
|
BIN
build/deploy.edex.awips2/esb/conf/db/auth/awipsadmin.pk8
Normal file
BIN
build/deploy.edex.awips2/esb/conf/db/auth/awipsadmin.pk8
Normal file
Binary file not shown.
18
build/deploy.edex.awips2/esb/conf/db/auth/pguser.crt
Normal file
18
build/deploy.edex.awips2/esb/conf/db/auth/pguser.crt
Normal file
|
@ -0,0 +1,18 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC4jCCAcoCCQDkIgVweT7S2jANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowMzEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxDzANBgNVBAMMBnBndXNlcjCCASIwDQYJKoZIhvcNAQEBBQAD
|
||||
ggEPADCCAQoCggEBALzajsenhYkS1rXNz3dtrKprq1bJvM7P3q2//KG2R3SLEvKP
|
||||
hZSAza7nernKFAcMTzC4WkSixDaLwMjfhkk1pRUAwFVm1EyyiCzTaiZrQNrW48qJ
|
||||
B+8C69gKYEPVBUV7Qeb4NL8GrGkiVUda5QQHudgNg7nQqMEwNWje2FzdZJ9hS6j9
|
||||
OFrYTLkw3vsZV1UUM2NcipoMPQ6NjcqeSBHzRCaPvm3h9rD5jmxaAgX8GLjd86mB
|
||||
ZRkgnYYXWXD8ZOhZv3yPoeIOIh0KT3LgjwfkqQecEbGKtGdwcvY1fu1lAB2sraiL
|
||||
otXsmQpzim89DiRXgAB03Bj0ueN8WS7sETIau+8CAwEAATANBgkqhkiG9w0BAQUF
|
||||
AAOCAQEAlxs0PImcQAC/pk7ntshdd08iM1daE9KRKra8zVzov+Wh9A1oe0Jq8izr
|
||||
gFqEM6vvMe9yi4YGipBLLzNXa/KcbELicOf3IkgmqNncolfamPw5U2D8kX6Xs2Di
|
||||
7jnEmtfoz6LSfYFoLZ9256e+z9yd6ydNWHuD6giAoXYHttEViNy2VLEP8qkBDZtM
|
||||
8mkPDZTdJ8+Fu1aUZnEOO7FVxHAh2U6SAD1Ia3BtkLniCDNp+uCEY12iOqYSHFK6
|
||||
SZZhpATcll9F9xKqqr/iMBuXB48msxTrchm4LLHMrdp+GFrRPdKp78VwjQWwsVvn
|
||||
oTuSKDb19VrzP3/5QOGP4a25L70/eQ==
|
||||
-----END CERTIFICATE-----
|
28
build/deploy.edex.awips2/esb/conf/db/auth/pguser.key
Normal file
28
build/deploy.edex.awips2/esb/conf/db/auth/pguser.key
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC82o7Hp4WJEta1
|
||||
zc93bayqa6tWybzOz96tv/yhtkd0ixLyj4WUgM2u53q5yhQHDE8wuFpEosQ2i8DI
|
||||
34ZJNaUVAMBVZtRMsogs02oma0Da1uPKiQfvAuvYCmBD1QVFe0Hm+DS/BqxpIlVH
|
||||
WuUEB7nYDYO50KjBMDVo3thc3WSfYUuo/Tha2Ey5MN77GVdVFDNjXIqaDD0OjY3K
|
||||
nkgR80Qmj75t4faw+Y5sWgIF/Bi43fOpgWUZIJ2GF1lw/GToWb98j6HiDiIdCk9y
|
||||
4I8H5KkHnBGxirRncHL2NX7tZQAdrK2oi6LV7JkKc4pvPQ4kV4AAdNwY9LnjfFku
|
||||
7BEyGrvvAgMBAAECggEAFvgyM4BhknlzGeutVyZEwPmVflnNGA5aVCGstXJ5IGil
|
||||
5lCke5pq6eIHoD8+zlil7RQPDpgJa2T2Drh5GcBnkrVjrz9xhN6WB3WzTHbxDWzj
|
||||
ice+6kgdrUodyUJIgNnr+w6nQ7CpGaRuYN5iSmoyJWAHbHs/ezfE1zt7b1gSG/xA
|
||||
/eW3NL17GklQkVXdJQ1QYXFxaa/pxbO22UTM8sP8wDDg/FBXc8ooT5XfMoHLo9l3
|
||||
UKP3aQS4BmudhFP9VjcDvRUtKWoHgidUhPCpdEKF3PFCCVpWSFmIn09O8Wumoxqv
|
||||
xY6j8EZDoLwlX39mSZCHejzEPE7JdkHP/2a5mJIEyQKBgQDcj/ypXWZaVAuC430Z
|
||||
u9wyODkGKm1O+QVFwkAKUpAoXhLCKEVRWNnrfLR6KO1AYfnsJAMKD8rTXbU6S6jS
|
||||
ee7Z0v0dNuaYINy3Fumef2Ke5ILOMkCSVONwFekgSfqIlyPY5hbR1uGyk9n1yidr
|
||||
UF3C9rNxh1Tc2YcB0f+fR7e8/QKBgQDbMln3pI6RUIvAZy5SozE2z4xhz3Ic491f
|
||||
SRgPUjm52r4D+UK6Nzd+6OVzCjbC1TODIldVIKXCF5DaYujT6P6iV97yjU/pbeAb
|
||||
1c75XiWrN9eN2/cwJka1k7Pv4KSQS47v7Bkbq2/gnj0lZ69ql+RATjATBGAvGE47
|
||||
ON2jr8EmWwKBgB4BqMoR3t7jGD3SXS6nFCnw5DEmjIB1+HWpG7VLzjjvs3WerO+I
|
||||
Ov2ClbsY3k4oBixOKeuwglOHKCSqLmmUFR6lSbIzyeNgdSajg10Az5X2WKVcyNQf
|
||||
oGGbWX//EIqMpV/Yzbn2lfYJj1mVCw/aeycPERKc6rqxDWD+BNzSkPixAoGBAI2t
|
||||
pekjO+NBJJNgHdjcEltTG3G9HA0AW33TSPHeO+GdOWRoIHEsb3pgHq6U04BrPbhs
|
||||
4fXr/DfP85i0hbkyyCM2mKw+GoDOvCRBtl4INGDO30yZ+NPuaZXDunI5ySRbMjBx
|
||||
cmkoDlAo92zN79v+AVJvNzOTiHfoReiRgPDkEPwxAoGACJph8BXBhx7h//Bd1i/U
|
||||
hScM/QVd952F06s0oW/Rel4H8wTUD7RkXd/+L65maDIJWmymJImIf6zPNsFogyn2
|
||||
XmjZ9g9maExhdRFCPsqegYzIYwBnnkQ5L+JTEEcMJ5t5H0CPB2PgE46LPY2U0ABT
|
||||
QjMn0X1tXroqCrgWi7E5nuQ=
|
||||
-----END PRIVATE KEY-----
|
BIN
build/deploy.edex.awips2/esb/conf/db/auth/pguser.pk8
Normal file
BIN
build/deploy.edex.awips2/esb/conf/db/auth/pguser.pk8
Normal file
Binary file not shown.
18
build/deploy.edex.awips2/esb/conf/db/auth/postgres.crt
Normal file
18
build/deploy.edex.awips2/esb/conf/db/auth/postgres.crt
Normal file
|
@ -0,0 +1,18 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC5DCCAcwCCQDkIgVweT7S2zANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE2MTEy
|
||||
MDAwMjc0NVoXDTQ2MTExMzAwMjc0NVowNTEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxETAPBgNVBAMMCHBvc3RncmVzMIIBIjANBgkqhkiG9w0BAQEF
|
||||
AAOCAQ8AMIIBCgKCAQEA0TnHAIiF3qhD/4edXMZmAN6yMf032pHUk9Q3qgiwFm/r
|
||||
d2KQMfIecBu0zF8eF3OzGJgxp9bwIK0GrMVMW/8K//raqM234NF9tQ6MwVdRFd/I
|
||||
780TQo/S6lYyzSlJevPBEaPSlBJ699VJy8mWeXvPjsKkRtoQjQUvq1T2/lDO8LfS
|
||||
wo9lVaD1Orz2l+E2M8YWnmWIK5IYw9FnKGOuKBPs/anIbYvL33ymZLY6DLEFBofv
|
||||
xyapcY1n3iGsVBd85zGf27orDQJtVVAklr1Y6fKxsbbz7dmHw/ap/GWNfyOdYbYB
|
||||
DSB/wCK8RFtCzYg8qfH9B+FKje6cVH5a+mnke3p40wIDAQABMA0GCSqGSIb3DQEB
|
||||
BQUAA4IBAQB1ICVUsZ6I2bh6yjvEovQxfobv8Lm3v0ZH21ke0Hfr7khDiAzgbyr6
|
||||
E1o2HcsUaEADYcOtPg1usM1GHs9VPYUCEsBdaoVDk9gqq+cUVCvSaMZUmNMv8lAY
|
||||
/ecjhGmNOkIJ6sC4BZyg8WDuqkjEaect2h/MXOSEfT+KAxX1mR4RK1+2IVhCvxgd
|
||||
iyhb1i7E51HFCM0UB7jB5gxo0KCd2zZ7gqPY/SVBYip4p7Ha8yduezSSCH1l0ssJ
|
||||
I8qWrWz3WJmgHgwbWf2XAPues+iNu6nFcBD1elUb0avTEN3AVftYEdenjolJuYC2
|
||||
J3LXes+2iMsKMzZIuF1YpYh02RA3erBk
|
||||
-----END CERTIFICATE-----
|
28
build/deploy.edex.awips2/esb/conf/db/auth/postgres.key
Normal file
28
build/deploy.edex.awips2/esb/conf/db/auth/postgres.key
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDROccAiIXeqEP/
|
||||
h51cxmYA3rIx/TfakdST1DeqCLAWb+t3YpAx8h5wG7TMXx4Xc7MYmDGn1vAgrQas
|
||||
xUxb/wr/+tqozbfg0X21DozBV1EV38jvzRNCj9LqVjLNKUl688ERo9KUEnr31UnL
|
||||
yZZ5e8+OwqRG2hCNBS+rVPb+UM7wt9LCj2VVoPU6vPaX4TYzxhaeZYgrkhjD0Wco
|
||||
Y64oE+z9qchti8vffKZktjoMsQUGh+/HJqlxjWfeIaxUF3znMZ/buisNAm1VUCSW
|
||||
vVjp8rGxtvPt2YfD9qn8ZY1/I51htgENIH/AIrxEW0LNiDyp8f0H4UqN7pxUflr6
|
||||
aeR7enjTAgMBAAECggEAFAUiTKPDo4WYVBgm75ywX/7vMCdZs9lmbOrOlL+WEd+N
|
||||
uXO99nmDfhi4mSG04GuaxIyzm6rOeWH1FI0gfGEQLWRUjfh5UtLY431L7KgtQxmR
|
||||
wZhu8lyOwwuSet0rgc9XNxfk63RFPfezwwM8Gc3GE5P+YiU1ljjb0dokdDtJQfE4
|
||||
szKUro0ApJBVeTNaBWb+8bH2MccYBKUlrNonVNkFIZGIEE0veHBvfR5HsQ+yY9L4
|
||||
KTby+vCKD8OQ6xlPivwUlzyb+Lv8C9xbT2Puqbu+muyEsKhW0vMn2tw5hOF5z97m
|
||||
o48aGJc/6ZTeL4ABC+gMvOBn/iaW1o56QGrNlQQLWQKBgQDuWM4ICqvsz3U4LfwX
|
||||
r6QdBb16W+PuyJdPZpQwgocPLshDBXipFOPnXI7BUyAMryL1UlitJBABoEpwyLig
|
||||
YSNA1U/Jh2asVqa1BHRNS7BNqyBAx1wnbD7CpIJSZbrQx3j0QxcE72ZlAokZs30i
|
||||
6AChioRPxgUd1xWxRlcz98HffwKBgQDguNFUwWWnujuJSATpQJxt6cZ4sjHI/ziH
|
||||
SPteLBaFm1Xhl2DUwOJ5prgyQC8j4MoY3JzTsEKIZdzBs7G0oLAg66seEY0GmqEk
|
||||
TfAhjcASBrTC3CZx4nncZvKv7g5ER+kY74XhicWBZKbbZp6Hx15Jh9lKXNnRjvMk
|
||||
THZg/8GQrQKBgE86c9pWecnxODzhhE/3Ua1YECERVJY2VZ3OMmphqTWRzn4A3pgN
|
||||
2qg4qzd2Q0wUF6HGqrV7LFruBnCxODYPtCFEBw6tlKKq9yVrAqIDC+r1fHYsDuUH
|
||||
5WDcQHnVWSE3fWxstMUuMzJWgm5prKoixrrsCYlfAKpnqc1Q3YHn1KlPAoGAWAVM
|
||||
SQxviuERTNZexhY+r3av/LqfcYE2XRcjDmHqeG69lt06Wlsq2keJQnWNgVodDtvq
|
||||
uagCh3aOn3iJFJ0UH/DvV5m8SWfr0lKMyjfBkc36o5Cjplv1K3VPfcWa5Pfdv5yi
|
||||
LhNOvz3zdWCem8RllBuX6t6vmruJVSB2BcxnvwkCgYEArZCZdfVv0NhoN16emthR
|
||||
OETsxotmLO0ohl/6nJfD2yiapVofyFZtfNH4r+rQ6oA5ImdtJ9dtczWJVvhYjg8V
|
||||
hFnAzlUOR2L/ZtBjNIt4qQlhJAYh8JR1lFzhECxbNzWq4Bbwurdb+s9dB5f5Y13F
|
||||
fZJ8k6niYbc4bo2Z3i36nT0=
|
||||
-----END PRIVATE KEY-----
|
BIN
build/deploy.edex.awips2/esb/conf/db/auth/postgres.pk8
Normal file
BIN
build/deploy.edex.awips2/esb/conf/db/auth/postgres.pk8
Normal file
Binary file not shown.
20
build/deploy.edex.awips2/esb/conf/db/auth/root.crt
Normal file
20
build/deploy.edex.awips2/esb/conf/db/auth/root.crt
Normal file
|
@ -0,0 +1,20 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDOTCCAiGgAwIBAgIJAIsJUossJEAhMA0GCSqGSIb3DQEBBQUAMDMxDjAMBgNV
|
||||
BAoMBUFXSVBTMRAwDgYDVQQLDAdUZXN0aW5nMQ8wDQYDVQQDDAZjYXJvb3QwHhcN
|
||||
MTYxMTIwMDAyNzQ0WhcNNDYxMTEzMDAyNzQ0WjAzMQ4wDAYDVQQKDAVBV0lQUzEQ
|
||||
MA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MIIBIjANBgkqhkiG9w0B
|
||||
AQEFAAOCAQ8AMIIBCgKCAQEA1aBCQLlOpbC7/ikudAmYdTgI16FecS8yItRzMMgX
|
||||
Po589JRydYe+3Wv4gaVZAktoCFCuoik9DRnewzqPxGzAOrq+QfPKRQhY0AdDZP4v
|
||||
c82r8C0ga/SZTImST/Y+WA7dJ6eRGfDiOIS/auQ0zcfrGFv4//I5+Sa+5dQNe0me
|
||||
pyAKaYTzrZWKrSsZbjxs1nHd+0ahIzgwWGb3UDY9MNMtP9/EvhRZkxgjeTnVZD8X
|
||||
aOLiwCIBALoGayId5wbXjyUIRzelPQPCXAADQcewlnlvbLadTXVCA3rP7TvNyx0W
|
||||
blpluNBg0o6sjlo2bzInBswHsFHUOZPcJT6pLhGRC52eNwIDAQABo1AwTjAdBgNV
|
||||
HQ4EFgQUjRTZ3Toe0L+XZodTnOTtpR39eJUwHwYDVR0jBBgwFoAUjRTZ3Toe0L+X
|
||||
ZodTnOTtpR39eJUwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAuvXD
|
||||
Hm5cJxtP3phZYAOdrSxJkJg/gMmRBLsS2GksPks07pelSxPySRjVZCJSDd8zbSc5
|
||||
DGdFBMI0Xdk7+V5KxP6ATfyc37GoxGG7ygbUjLvmlzsg2i+a0wIDjILyzisicA0q
|
||||
DyCLZGxNahFUrhci0mpKAr/RaGr4Hx4R+JMItP3sxysVbIhc4wdm4mRTA3n8Eru3
|
||||
hcPpLQlqLheVuCIECxMG+eVKVevZWN0gqiEA7C+pByMxASqeHc6SRCXHx8/GJPmw
|
||||
ocaHpJ7Iib2kMLeBT24R+RNHEpPknf/PkgwvM0BLPqlk8cNqAR7TZ/OtX1ffmPbv
|
||||
t+nP8jegKGo4lVr3Fg==
|
||||
-----END CERTIFICATE-----
|
|
@ -0,0 +1,66 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${climate.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,66 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${climate.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${dc.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${dc.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${fxa.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${fxa.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">25</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${hm.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${hm.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${ih.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/${ih.db.name}
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/maps
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/maps
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">20</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">20</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,80 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/metadata
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">after_transaction</property>
|
||||
<property name="jdbc.batch_size">100</property>
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">${db.metadata.pool.timeout}</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
<property name="hibernate.generate_statistics">false</property>
|
||||
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.jdbc.use_streams_for_binary">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,86 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.spatial.dialect.postgis.PostgisDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/metadata
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">100</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">1</property>
|
||||
<property name="hibernate.c3p0.min_size">1</property>
|
||||
<property name="hibernate.c3p0.max_size">${db.metadata.pool.max}</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">${db.metadata.pool.timeout}</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<property name="hibernate.generate_statistics">false</property>
|
||||
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.jdbc.use_streams_for_binary">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">16</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">32</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/ncep
|
||||
</property>
|
||||
<property name="connection.username">awipsadmin</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awipsadmin.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awipsadmin.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">5</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">10</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,81 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE hibernate-configuration PUBLIC
|
||||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<hibernate-configuration>
|
||||
<session-factory>
|
||||
|
||||
<!-- JDBC Properties -->
|
||||
|
||||
<property name="connection.driver_class">
|
||||
org.postgresql.Driver
|
||||
</property>
|
||||
<property name="dialect">
|
||||
org.hibernate.dialect.PostgreSQLDialect
|
||||
</property>
|
||||
<property name="connection.url">
|
||||
jdbc:postgresql://${db.addr}:${db.port}/ncep
|
||||
</property>
|
||||
<property name="connection.username">awips</property>
|
||||
<property name="connection.sslmode">${db.auth.sslmode}</property>
|
||||
<property name="connection.sslfactory">org.postgresql.ssl.jdbc4.LibPQFactory</property>
|
||||
<property name="connection.sslcert">${db.auth.dir}/awips.crt</property>
|
||||
<property name="connection.sslkey">${db.auth.dir}/awips.pk8</property>
|
||||
<property name="connection.sslrootcert">${db.auth.dir}/root.crt</property>
|
||||
<property name="connection.release_mode">
|
||||
after_transaction
|
||||
</property>
|
||||
<property name="jdbc.batch_size">20</property>
|
||||
|
||||
|
||||
<!-- Optional Hibernate Configuration Properties -->
|
||||
<!-- Write all SQL statements to console -->
|
||||
<property name="hibernate.show_sql">false</property>
|
||||
|
||||
<!-- Pretty print the SQL in the log and console -->
|
||||
<property name="hibenate.format_sql">false</property>
|
||||
|
||||
<!-- If turned on, Hibernate will generate comments inside the SQL, for easier
|
||||
debugging, defaults to false -->
|
||||
<property name="hibernate.use_sql_comments">false</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<property name="hibernate.c3p0.initial_pool_size">0</property>
|
||||
<property name="hibernate.c3p0.min_size">0</property>
|
||||
<property name="hibernate.c3p0.max_size">10</property>
|
||||
<property name="hibernate.c3p0.acquire_increment">1</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</property>
|
||||
<property name="hibernate.c3p0.max_idle_time">600</property>
|
||||
<property name="hibernate.c3p0.preferred_test_query">select 1</property>
|
||||
<property name="hibernate.c3p0.timeout">300</property>
|
||||
<property name="hibernate.c3p0.max_statements">10</property>
|
||||
|
||||
|
||||
<!-- Cache Properties -->
|
||||
<property name="hibernate.cache.use_second_level_cache">false</property>
|
||||
<property name="hibernate.cache.use_query_cache">false</property>
|
||||
<property name="hibernate.query.plan_cache_max_strong_references">8</property>
|
||||
<property name="hibernate.query.plan_cache_max_soft_references">16</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
648
build/deploy.edex.awips2/esb/conf/java.security.allow-md5
Executable file
648
build/deploy.edex.awips2/esb/conf/java.security.allow-md5
Executable file
|
@ -0,0 +1,648 @@
|
|||
#
|
||||
# This is the "master security properties file".
|
||||
#
|
||||
# An alternate java.security properties file may be specified
|
||||
# from the command line via the system property
|
||||
#
|
||||
# -Djava.security.properties=<URL>
|
||||
#
|
||||
# This properties file appends to the master security properties file.
|
||||
# If both properties files specify values for the same key, the value
|
||||
# from the command-line properties file is selected, as it is the last
|
||||
# one loaded.
|
||||
#
|
||||
# Also, if you specify
|
||||
#
|
||||
# -Djava.security.properties==<URL> (2 equals),
|
||||
#
|
||||
# then that properties file completely overrides the master security
|
||||
# properties file.
|
||||
#
|
||||
# To disable the ability to specify an additional properties file from
|
||||
# the command line, set the key security.overridePropertiesFile
|
||||
# to false in the master security properties file. It is set to true
|
||||
# by default.
|
||||
|
||||
# In this file, various security properties are set for use by
|
||||
# java.security classes. This is where users can statically register
|
||||
# Cryptography Package Providers ("providers" for short). The term
|
||||
# "provider" refers to a package or set of packages that supply a
|
||||
# concrete implementation of a subset of the cryptography aspects of
|
||||
# the Java Security API. A provider may, for example, implement one or
|
||||
# more digital signature algorithms or message digest algorithms.
|
||||
#
|
||||
# Each provider must implement a subclass of the Provider class.
|
||||
# To register a provider in this master security properties file,
|
||||
# specify the Provider subclass name and priority in the format
|
||||
#
|
||||
# security.provider.<n>=<className>
|
||||
#
|
||||
# This declares a provider, and specifies its preference
|
||||
# order n. The preference order is the order in which providers are
|
||||
# searched for requested algorithms (when no specific provider is
|
||||
# requested). The order is 1-based; 1 is the most preferred, followed
|
||||
# by 2, and so on.
|
||||
#
|
||||
# <className> must specify the subclass of the Provider class whose
|
||||
# constructor sets the values of various properties that are required
|
||||
# for the Java Security API to look up the algorithms or other
|
||||
# facilities implemented by the provider.
|
||||
#
|
||||
# There must be at least one provider specification in java.security.
|
||||
# There is a default provider that comes standard with the JDK. It
|
||||
# is called the "SUN" provider, and its Provider subclass
|
||||
# named Sun appears in the sun.security.provider package. Thus, the
|
||||
# "SUN" provider is registered via the following:
|
||||
#
|
||||
# security.provider.1=sun.security.provider.Sun
|
||||
#
|
||||
# (The number 1 is used for the default provider.)
|
||||
#
|
||||
# Note: Providers can be dynamically registered instead by calls to
|
||||
# either the addProvider or insertProviderAt method in the Security
|
||||
# class.
|
||||
|
||||
#
|
||||
# List of providers and their preference orders (see above):
|
||||
#
|
||||
security.provider.1=sun.security.provider.Sun
|
||||
security.provider.2=sun.security.rsa.SunRsaSign
|
||||
security.provider.3=sun.security.ec.SunEC
|
||||
security.provider.4=com.sun.net.ssl.internal.ssl.Provider
|
||||
security.provider.5=com.sun.crypto.provider.SunJCE
|
||||
security.provider.6=sun.security.jgss.SunProvider
|
||||
security.provider.7=com.sun.security.sasl.Provider
|
||||
security.provider.8=org.jcp.xml.dsig.internal.dom.XMLDSigRI
|
||||
security.provider.9=sun.security.smartcardio.SunPCSC
|
||||
|
||||
#
|
||||
# Sun Provider SecureRandom seed source.
|
||||
#
|
||||
# Select the primary source of seed data for the "SHA1PRNG" and
|
||||
# "NativePRNG" SecureRandom implementations in the "Sun" provider.
|
||||
# (Other SecureRandom implementations might also use this property.)
|
||||
#
|
||||
# On Unix-like systems (for example, Solaris/Linux/MacOS), the
|
||||
# "NativePRNG" and "SHA1PRNG" implementations obtains seed data from
|
||||
# special device files such as file:/dev/random.
|
||||
#
|
||||
# On Windows systems, specifying the URLs "file:/dev/random" or
|
||||
# "file:/dev/urandom" will enable the native Microsoft CryptoAPI seeding
|
||||
# mechanism for SHA1PRNG.
|
||||
#
|
||||
# By default, an attempt is made to use the entropy gathering device
|
||||
# specified by the "securerandom.source" Security property. If an
|
||||
# exception occurs while accessing the specified URL:
|
||||
#
|
||||
# SHA1PRNG:
|
||||
# the traditional system/thread activity algorithm will be used.
|
||||
#
|
||||
# NativePRNG:
|
||||
# a default value of /dev/random will be used. If neither
|
||||
# are available, the implementation will be disabled.
|
||||
# "file" is the only currently supported protocol type.
|
||||
#
|
||||
# The entropy gathering device can also be specified with the System
|
||||
# property "java.security.egd". For example:
|
||||
#
|
||||
# % java -Djava.security.egd=file:/dev/random MainClass
|
||||
#
|
||||
# Specifying this System property will override the
|
||||
# "securerandom.source" Security property.
|
||||
#
|
||||
# In addition, if "file:/dev/random" or "file:/dev/urandom" is
|
||||
# specified, the "NativePRNG" implementation will be more preferred than
|
||||
# SHA1PRNG in the Sun provider.
|
||||
#
|
||||
securerandom.source=file:/dev/random
|
||||
|
||||
#
|
||||
# A list of known strong SecureRandom implementations.
|
||||
#
|
||||
# To help guide applications in selecting a suitable strong
|
||||
# java.security.SecureRandom implementation, Java distributions should
|
||||
# indicate a list of known strong implementations using the property.
|
||||
#
|
||||
# This is a comma-separated list of algorithm and/or algorithm:provider
|
||||
# entries.
|
||||
#
|
||||
securerandom.strongAlgorithms=NativePRNGBlocking:SUN
|
||||
|
||||
#
|
||||
# Class to instantiate as the javax.security.auth.login.Configuration
|
||||
# provider.
|
||||
#
|
||||
login.configuration.provider=sun.security.provider.ConfigFile
|
||||
|
||||
#
|
||||
# Default login configuration file
|
||||
#
|
||||
#login.config.url.1=file:${user.home}/.java.login.config
|
||||
|
||||
#
|
||||
# Class to instantiate as the system Policy. This is the name of the class
|
||||
# that will be used as the Policy object.
|
||||
#
|
||||
policy.provider=sun.security.provider.PolicyFile
|
||||
|
||||
# The default is to have a single system-wide policy file,
|
||||
# and a policy file in the user's home directory.
|
||||
policy.url.1=file:${java.home}/lib/security/java.policy
|
||||
policy.url.2=file:${user.home}/.java.policy
|
||||
|
||||
# whether or not we expand properties in the policy file
|
||||
# if this is set to false, properties (${...}) will not be expanded in policy
|
||||
# files.
|
||||
policy.expandProperties=true
|
||||
|
||||
# whether or not we allow an extra policy to be passed on the command line
|
||||
# with -Djava.security.policy=somefile. Comment out this line to disable
|
||||
# this feature.
|
||||
policy.allowSystemProperty=true
|
||||
|
||||
# whether or not we look into the IdentityScope for trusted Identities
|
||||
# when encountering a 1.1 signed JAR file. If the identity is found
|
||||
# and is trusted, we grant it AllPermission.
|
||||
policy.ignoreIdentityScope=false
|
||||
|
||||
#
|
||||
# Default keystore type.
|
||||
#
|
||||
keystore.type=jks
|
||||
|
||||
#
|
||||
# Controls compatibility mode for the JKS keystore type.
|
||||
#
|
||||
# When set to 'true', the JKS keystore type supports loading
|
||||
# keystore files in either JKS or PKCS12 format. When set to 'false'
|
||||
# it supports loading only JKS keystore files.
|
||||
#
|
||||
keystore.type.compat=true
|
||||
|
||||
#
|
||||
# List of comma-separated packages that start with or equal this string
|
||||
# will cause a security exception to be thrown when
|
||||
# passed to checkPackageAccess unless the
|
||||
# corresponding RuntimePermission ("accessClassInPackage."+package) has
|
||||
# been granted.
|
||||
package.access=sun.,\
|
||||
com.sun.xml.internal.,\
|
||||
com.sun.imageio.,\
|
||||
com.sun.istack.internal.,\
|
||||
com.sun.jmx.,\
|
||||
com.sun.media.sound.,\
|
||||
com.sun.naming.internal.,\
|
||||
com.sun.proxy.,\
|
||||
com.sun.corba.se.,\
|
||||
com.sun.org.apache.bcel.internal.,\
|
||||
com.sun.org.apache.regexp.internal.,\
|
||||
com.sun.org.apache.xerces.internal.,\
|
||||
com.sun.org.apache.xpath.internal.,\
|
||||
com.sun.org.apache.xalan.internal.extensions.,\
|
||||
com.sun.org.apache.xalan.internal.lib.,\
|
||||
com.sun.org.apache.xalan.internal.res.,\
|
||||
com.sun.org.apache.xalan.internal.templates.,\
|
||||
com.sun.org.apache.xalan.internal.utils.,\
|
||||
com.sun.org.apache.xalan.internal.xslt.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.cmdline.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.compiler.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.trax.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.util.,\
|
||||
com.sun.org.apache.xml.internal.res.,\
|
||||
com.sun.org.apache.xml.internal.security.,\
|
||||
com.sun.org.apache.xml.internal.serializer.utils.,\
|
||||
com.sun.org.apache.xml.internal.utils.,\
|
||||
com.sun.org.glassfish.,\
|
||||
com.oracle.xmlns.internal.,\
|
||||
com.oracle.webservices.internal.,\
|
||||
oracle.jrockit.jfr.,\
|
||||
org.jcp.xml.dsig.internal.,\
|
||||
jdk.internal.,\
|
||||
jdk.nashorn.internal.,\
|
||||
jdk.nashorn.tools.,\
|
||||
com.sun.activation.registries.,\
|
||||
com.sun.browser.,\
|
||||
com.sun.glass.,\
|
||||
com.sun.javafx.,\
|
||||
com.sun.media.,\
|
||||
com.sun.openpisces.,\
|
||||
com.sun.prism.,\
|
||||
com.sun.scenario.,\
|
||||
com.sun.t2k.,\
|
||||
com.sun.pisces.,\
|
||||
com.sun.webkit.,\
|
||||
jdk.management.resource.internal.
|
||||
|
||||
#
|
||||
# List of comma-separated packages that start with or equal this string
|
||||
# will cause a security exception to be thrown when
|
||||
# passed to checkPackageDefinition unless the
|
||||
# corresponding RuntimePermission ("defineClassInPackage."+package) has
|
||||
# been granted.
|
||||
#
|
||||
# by default, none of the class loaders supplied with the JDK call
|
||||
# checkPackageDefinition.
|
||||
#
|
||||
package.definition=sun.,\
|
||||
com.sun.xml.internal.,\
|
||||
com.sun.imageio.,\
|
||||
com.sun.istack.internal.,\
|
||||
com.sun.jmx.,\
|
||||
com.sun.media.sound.,\
|
||||
com.sun.naming.internal.,\
|
||||
com.sun.proxy.,\
|
||||
com.sun.corba.se.,\
|
||||
com.sun.org.apache.bcel.internal.,\
|
||||
com.sun.org.apache.regexp.internal.,\
|
||||
com.sun.org.apache.xerces.internal.,\
|
||||
com.sun.org.apache.xpath.internal.,\
|
||||
com.sun.org.apache.xalan.internal.extensions.,\
|
||||
com.sun.org.apache.xalan.internal.lib.,\
|
||||
com.sun.org.apache.xalan.internal.res.,\
|
||||
com.sun.org.apache.xalan.internal.templates.,\
|
||||
com.sun.org.apache.xalan.internal.utils.,\
|
||||
com.sun.org.apache.xalan.internal.xslt.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.cmdline.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.compiler.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.trax.,\
|
||||
com.sun.org.apache.xalan.internal.xsltc.util.,\
|
||||
com.sun.org.apache.xml.internal.res.,\
|
||||
com.sun.org.apache.xml.internal.security.,\
|
||||
com.sun.org.apache.xml.internal.serializer.utils.,\
|
||||
com.sun.org.apache.xml.internal.utils.,\
|
||||
com.sun.org.glassfish.,\
|
||||
com.oracle.xmlns.internal.,\
|
||||
com.oracle.webservices.internal.,\
|
||||
oracle.jrockit.jfr.,\
|
||||
org.jcp.xml.dsig.internal.,\
|
||||
jdk.internal.,\
|
||||
jdk.nashorn.internal.,\
|
||||
jdk.nashorn.tools.,\
|
||||
com.sun.activation.registries.,\
|
||||
com.sun.browser.,\
|
||||
com.sun.glass.,\
|
||||
com.sun.javafx.,\
|
||||
com.sun.media.,\
|
||||
com.sun.openpisces.,\
|
||||
com.sun.prism.,\
|
||||
com.sun.scenario.,\
|
||||
com.sun.t2k.,\
|
||||
com.sun.pisces.,\
|
||||
com.sun.webkit.,\
|
||||
jdk.management.resource.internal.
|
||||
|
||||
#
|
||||
# Determines whether this properties file can be appended to
|
||||
# or overridden on the command line via -Djava.security.properties
|
||||
#
|
||||
security.overridePropertiesFile=true
|
||||
|
||||
#
|
||||
# Determines the default key and trust manager factory algorithms for
|
||||
# the javax.net.ssl package.
|
||||
#
|
||||
ssl.KeyManagerFactory.algorithm=SunX509
|
||||
ssl.TrustManagerFactory.algorithm=PKIX
|
||||
|
||||
#
|
||||
# The Java-level namelookup cache policy for successful lookups:
|
||||
#
|
||||
# any negative value: caching forever
|
||||
# any positive value: the number of seconds to cache an address for
|
||||
# zero: do not cache
|
||||
#
|
||||
# default value is forever (FOREVER). For security reasons, this
|
||||
# caching is made forever when a security manager is set. When a security
|
||||
# manager is not set, the default behavior in this implementation
|
||||
# is to cache for 30 seconds.
|
||||
#
|
||||
# NOTE: setting this to anything other than the default value can have
|
||||
# serious security implications. Do not set it unless
|
||||
# you are sure you are not exposed to DNS spoofing attack.
|
||||
#
|
||||
#networkaddress.cache.ttl=-1
|
||||
|
||||
# The Java-level namelookup cache policy for failed lookups:
|
||||
#
|
||||
# any negative value: cache forever
|
||||
# any positive value: the number of seconds to cache negative lookup results
|
||||
# zero: do not cache
|
||||
#
|
||||
# In some Microsoft Windows networking environments that employ
|
||||
# the WINS name service in addition to DNS, name service lookups
|
||||
# that fail may take a noticeably long time to return (approx. 5 seconds).
|
||||
# For this reason the default caching policy is to maintain these
|
||||
# results for 10 seconds.
|
||||
#
|
||||
#
|
||||
networkaddress.cache.negative.ttl=10
|
||||
|
||||
#
|
||||
# Properties to configure OCSP for certificate revocation checking
|
||||
#
|
||||
|
||||
# Enable OCSP
|
||||
#
|
||||
# By default, OCSP is not used for certificate revocation checking.
|
||||
# This property enables the use of OCSP when set to the value "true".
|
||||
#
|
||||
# NOTE: SocketPermission is required to connect to an OCSP responder.
|
||||
#
|
||||
# Example,
|
||||
# ocsp.enable=true
|
||||
|
||||
#
|
||||
# Location of the OCSP responder
|
||||
#
|
||||
# By default, the location of the OCSP responder is determined implicitly
|
||||
# from the certificate being validated. This property explicitly specifies
|
||||
# the location of the OCSP responder. The property is used when the
|
||||
# Authority Information Access extension (defined in RFC 3280) is absent
|
||||
# from the certificate or when it requires overriding.
|
||||
#
|
||||
# Example,
|
||||
# ocsp.responderURL=http://ocsp.example.net:80
|
||||
|
||||
#
|
||||
# Subject name of the OCSP responder's certificate
|
||||
#
|
||||
# By default, the certificate of the OCSP responder is that of the issuer
|
||||
# of the certificate being validated. This property identifies the certificate
|
||||
# of the OCSP responder when the default does not apply. Its value is a string
|
||||
# distinguished name (defined in RFC 2253) which identifies a certificate in
|
||||
# the set of certificates supplied during cert path validation. In cases where
|
||||
# the subject name alone is not sufficient to uniquely identify the certificate
|
||||
# then both the "ocsp.responderCertIssuerName" and
|
||||
# "ocsp.responderCertSerialNumber" properties must be used instead. When this
|
||||
# property is set then those two properties are ignored.
|
||||
#
|
||||
# Example,
|
||||
# ocsp.responderCertSubjectName="CN=OCSP Responder, O=XYZ Corp"
|
||||
|
||||
#
|
||||
# Issuer name of the OCSP responder's certificate
|
||||
#
|
||||
# By default, the certificate of the OCSP responder is that of the issuer
|
||||
# of the certificate being validated. This property identifies the certificate
|
||||
# of the OCSP responder when the default does not apply. Its value is a string
|
||||
# distinguished name (defined in RFC 2253) which identifies a certificate in
|
||||
# the set of certificates supplied during cert path validation. When this
|
||||
# property is set then the "ocsp.responderCertSerialNumber" property must also
|
||||
# be set. When the "ocsp.responderCertSubjectName" property is set then this
|
||||
# property is ignored.
|
||||
#
|
||||
# Example,
|
||||
# ocsp.responderCertIssuerName="CN=Enterprise CA, O=XYZ Corp"
|
||||
|
||||
#
|
||||
# Serial number of the OCSP responder's certificate
|
||||
#
|
||||
# By default, the certificate of the OCSP responder is that of the issuer
|
||||
# of the certificate being validated. This property identifies the certificate
|
||||
# of the OCSP responder when the default does not apply. Its value is a string
|
||||
# of hexadecimal digits (colon or space separators may be present) which
|
||||
# identifies a certificate in the set of certificates supplied during cert path
|
||||
# validation. When this property is set then the "ocsp.responderCertIssuerName"
|
||||
# property must also be set. When the "ocsp.responderCertSubjectName" property
|
||||
# is set then this property is ignored.
|
||||
#
|
||||
# Example,
|
||||
# ocsp.responderCertSerialNumber=2A:FF:00
|
||||
|
||||
#
|
||||
# Policy for failed Kerberos KDC lookups:
|
||||
#
|
||||
# When a KDC is unavailable (network error, service failure, etc), it is
|
||||
# put inside a blacklist and accessed less often for future requests. The
|
||||
# value (case-insensitive) for this policy can be:
|
||||
#
|
||||
# tryLast
|
||||
# KDCs in the blacklist are always tried after those not on the list.
|
||||
#
|
||||
# tryLess[:max_retries,timeout]
|
||||
# KDCs in the blacklist are still tried by their order in the configuration,
|
||||
# but with smaller max_retries and timeout values. max_retries and timeout
|
||||
# are optional numerical parameters (default 1 and 5000, which means once
|
||||
# and 5 seconds). Please notes that if any of the values defined here is
|
||||
# more than what is defined in krb5.conf, it will be ignored.
|
||||
#
|
||||
# Whenever a KDC is detected as available, it is removed from the blacklist.
|
||||
# The blacklist is reset when krb5.conf is reloaded. You can add
|
||||
# refreshKrb5Config=true to a JAAS configuration file so that krb5.conf is
|
||||
# reloaded whenever a JAAS authentication is attempted.
|
||||
#
|
||||
# Example,
|
||||
# krb5.kdc.bad.policy = tryLast
|
||||
# krb5.kdc.bad.policy = tryLess:2,2000
|
||||
krb5.kdc.bad.policy = tryLast
|
||||
|
||||
# Algorithm restrictions for certification path (CertPath) processing
|
||||
#
|
||||
# In some environments, certain algorithms or key lengths may be undesirable
|
||||
# for certification path building and validation. For example, "MD2" is
|
||||
# generally no longer considered to be a secure hash algorithm. This section
|
||||
# describes the mechanism for disabling algorithms based on algorithm name
|
||||
# and/or key length. This includes algorithms used in certificates, as well
|
||||
# as revocation information such as CRLs and signed OCSP Responses.
|
||||
#
|
||||
# The syntax of the disabled algorithm string is described as this Java
|
||||
# BNF-style:
|
||||
# DisabledAlgorithms:
|
||||
# " DisabledAlgorithm { , DisabledAlgorithm } "
|
||||
#
|
||||
# DisabledAlgorithm:
|
||||
# AlgorithmName [Constraint]
|
||||
#
|
||||
# AlgorithmName:
|
||||
# (see below)
|
||||
#
|
||||
# Constraint:
|
||||
# KeySizeConstraint
|
||||
#
|
||||
# KeySizeConstraint:
|
||||
# keySize Operator DecimalInteger
|
||||
#
|
||||
# Operator:
|
||||
# <= | < | == | != | >= | >
|
||||
#
|
||||
# DecimalInteger:
|
||||
# DecimalDigits
|
||||
#
|
||||
# DecimalDigits:
|
||||
# DecimalDigit {DecimalDigit}
|
||||
#
|
||||
# DecimalDigit: one of
|
||||
# 1 2 3 4 5 6 7 8 9 0
|
||||
#
|
||||
# The "AlgorithmName" is the standard algorithm name of the disabled
|
||||
# algorithm. See "Java Cryptography Architecture Standard Algorithm Name
|
||||
# Documentation" for information about Standard Algorithm Names. Matching
|
||||
# is performed using a case-insensitive sub-element matching rule. (For
|
||||
# example, in "SHA1withECDSA" the sub-elements are "SHA1" for hashing and
|
||||
# "ECDSA" for signatures.) If the assertion "AlgorithmName" is a
|
||||
# sub-element of the certificate algorithm name, the algorithm will be
|
||||
# rejected during certification path building and validation. For example,
|
||||
# the assertion algorithm name "DSA" will disable all certificate algorithms
|
||||
# that rely on DSA, such as NONEwithDSA, SHA1withDSA. However, the assertion
|
||||
# will not disable algorithms related to "ECDSA".
|
||||
#
|
||||
# A "Constraint" provides further guidance for the algorithm being specified.
|
||||
# The "KeySizeConstraint" requires a key of a valid size range if the
|
||||
# "AlgorithmName" is of a key algorithm. The "DecimalInteger" indicates the
|
||||
# key size specified in number of bits. For example, "RSA keySize <= 1024"
|
||||
# indicates that any RSA key with key size less than or equal to 1024 bits
|
||||
# should be disabled, and "RSA keySize < 1024, RSA keySize > 2048" indicates
|
||||
# that any RSA key with key size less than 1024 or greater than 2048 should
|
||||
# be disabled. Note that the "KeySizeConstraint" only makes sense to key
|
||||
# algorithms.
|
||||
#
|
||||
# Note: This property is currently used by Oracle's PKIX implementation. It
|
||||
# is not guaranteed to be examined and used by other implementations.
|
||||
#
|
||||
# Example:
|
||||
# jdk.certpath.disabledAlgorithms=MD2, DSA, RSA keySize < 2048
|
||||
#
|
||||
#
|
||||
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
|
||||
|
||||
# Algorithm restrictions for Secure Socket Layer/Transport Layer Security
|
||||
# (SSL/TLS) processing
|
||||
#
|
||||
# In some environments, certain algorithms or key lengths may be undesirable
|
||||
# when using SSL/TLS. This section describes the mechanism for disabling
|
||||
# algorithms during SSL/TLS security parameters negotiation, including
|
||||
# protocol version negotiation, cipher suites selection, peer authentication
|
||||
# and key exchange mechanisms.
|
||||
#
|
||||
# Disabled algorithms will not be negotiated for SSL/TLS connections, even
|
||||
# if they are enabled explicitly in an application.
|
||||
#
|
||||
# For PKI-based peer authentication and key exchange mechanisms, this list
|
||||
# of disabled algorithms will also be checked during certification path
|
||||
# building and validation, including algorithms used in certificates, as
|
||||
# well as revocation information such as CRLs and signed OCSP Responses.
|
||||
# This is in addition to the jdk.certpath.disabledAlgorithms property above.
|
||||
#
|
||||
# See the specification of "jdk.certpath.disabledAlgorithms" for the
|
||||
# syntax of the disabled algorithm string.
|
||||
#
|
||||
# Note: This property is currently used by Oracle's JSSE implementation.
|
||||
# It is not guaranteed to be examined and used by other implementations.
|
||||
#
|
||||
# Example:
|
||||
# jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048
|
||||
jdk.tls.disabledAlgorithms=SSLv3, RC4, DH keySize < 768
|
||||
|
||||
# Legacy algorithms for Secure Socket Layer/Transport Layer Security (SSL/TLS)
|
||||
# processing in JSSE implementation.
|
||||
#
|
||||
# In some environments, a certain algorithm may be undesirable but it
|
||||
# cannot be disabled because of its use in legacy applications. Legacy
|
||||
# algorithms may still be supported, but applications should not use them
|
||||
# as the security strength of legacy algorithms are usually not strong enough
|
||||
# in practice.
|
||||
#
|
||||
# During SSL/TLS security parameters negotiation, legacy algorithms will
|
||||
# not be negotiated unless there are no other candidates.
|
||||
#
|
||||
# The syntax of the disabled algorithm string is described as this Java
|
||||
# BNF-style:
|
||||
# LegacyAlgorithms:
|
||||
# " LegacyAlgorithm { , LegacyAlgorithm } "
|
||||
#
|
||||
# LegacyAlgorithm:
|
||||
# AlgorithmName (standard JSSE algorithm name)
|
||||
#
|
||||
# See the specification of security property "jdk.certpath.disabledAlgorithms"
|
||||
# for the syntax and description of the "AlgorithmName" notation.
|
||||
#
|
||||
# Per SSL/TLS specifications, cipher suites have the form:
|
||||
# SSL_KeyExchangeAlg_WITH_CipherAlg_MacAlg
|
||||
# or
|
||||
# TLS_KeyExchangeAlg_WITH_CipherAlg_MacAlg
|
||||
#
|
||||
# For example, the cipher suite TLS_RSA_WITH_AES_128_CBC_SHA uses RSA as the
|
||||
# key exchange algorithm, AES_128_CBC (128 bits AES cipher algorithm in CBC
|
||||
# mode) as the cipher (encryption) algorithm, and SHA-1 as the message digest
|
||||
# algorithm for HMAC.
|
||||
#
|
||||
# The LegacyAlgorithm can be one of the following standard algorithm names:
|
||||
# 1. JSSE cipher suite name, e.g., TLS_RSA_WITH_AES_128_CBC_SHA
|
||||
# 2. JSSE key exchange algorithm name, e.g., RSA
|
||||
# 3. JSSE cipher (encryption) algorithm name, e.g., AES_128_CBC
|
||||
# 4. JSSE message digest algorithm name, e.g., SHA
|
||||
#
|
||||
# See SSL/TLS specifications and "Java Cryptography Architecture Standard
|
||||
# Algorithm Name Documentation" for information about the algorithm names.
|
||||
#
|
||||
# Note: This property is currently used by Oracle's JSSE implementation.
|
||||
# It is not guaranteed to be examined and used by other implementations.
|
||||
# There is no guarantee the property will continue to exist or be of the
|
||||
# same syntax in future releases.
|
||||
#
|
||||
# Example:
|
||||
# jdk.tls.legacyAlgorithms=DH_anon, DES_CBC, SSL_RSA_WITH_RC4_128_MD5
|
||||
#
|
||||
jdk.tls.legacyAlgorithms= \
|
||||
K_NULL, C_NULL, M_NULL, \
|
||||
DHE_DSS_EXPORT, DHE_RSA_EXPORT, DH_anon_EXPORT, DH_DSS_EXPORT, \
|
||||
DH_RSA_EXPORT, RSA_EXPORT, \
|
||||
DH_anon, ECDH_anon, \
|
||||
RC4_128, RC4_40, DES_CBC, DES40_CBC
|
||||
|
||||
# The pre-defined default finite field Diffie-Hellman ephemeral (DHE)
|
||||
# parameters for Transport Layer Security (SSL/TLS/DTLS) processing.
|
||||
#
|
||||
# In traditional SSL/TLS/DTLS connections where finite field DHE parameters
|
||||
# negotiation mechanism is not used, the server offers the client group
|
||||
# parameters, base generator g and prime modulus p, for DHE key exchange.
|
||||
# It is recommended to use dynamic group parameters. This property defines
|
||||
# a mechanism that allows you to specify custom group parameters.
|
||||
#
|
||||
# The syntax of this property string is described as this Java BNF-style:
|
||||
# DefaultDHEParameters:
|
||||
# DefinedDHEParameters { , DefinedDHEParameters }
|
||||
#
|
||||
# DefinedDHEParameters:
|
||||
# "{" DHEPrimeModulus , DHEBaseGenerator "}"
|
||||
#
|
||||
# DHEPrimeModulus:
|
||||
# HexadecimalDigits
|
||||
#
|
||||
# DHEBaseGenerator:
|
||||
# HexadecimalDigits
|
||||
#
|
||||
# HexadecimalDigits:
|
||||
# HexadecimalDigit { HexadecimalDigit }
|
||||
#
|
||||
# HexadecimalDigit: one of
|
||||
# 0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f
|
||||
#
|
||||
# Whitespace characters are ignored.
|
||||
#
|
||||
# The "DefinedDHEParameters" defines the custom group parameters, prime
|
||||
# modulus p and base generator g, for a particular size of prime modulus p.
|
||||
# The "DHEPrimeModulus" defines the hexadecimal prime modulus p, and the
|
||||
# "DHEBaseGenerator" defines the hexadecimal base generator g of a group
|
||||
# parameter. It is recommended to use safe primes for the custom group
|
||||
# parameters.
|
||||
#
|
||||
# If this property is not defined or the value is empty, the underlying JSSE
|
||||
# provider's default group parameter is used for each connection.
|
||||
#
|
||||
# If the property value does not follow the grammar, or a particular group
|
||||
# parameter is not valid, the connection will fall back and use the
|
||||
# underlying JSSE provider's default group parameter.
|
||||
#
|
||||
# Note: This property is currently used by OpenJDK's JSSE implementation. It
|
||||
# is not guaranteed to be examined and used by other implementations.
|
||||
#
|
||||
# Example:
|
||||
# jdk.tls.server.defaultDHEParameters=
|
||||
# { \
|
||||
# FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1 \
|
||||
# 29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD \
|
||||
# EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245 \
|
||||
# E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED \
|
||||
# EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381 \
|
||||
# FFFFFFFF FFFFFFFF, 2}
|
18
build/deploy.edex.awips2/esb/conf/jms/auth/guest.crt
Normal file
18
build/deploy.edex.awips2/esb/conf/jms/auth/guest.crt
Normal file
|
@ -0,0 +1,18 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIC4TCCAckCCQCIm5v8zLBtjTANBgkqhkiG9w0BAQUFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MB4XDTE3MDEz
|
||||
MTIzMDE0NFoXDTIyMDEzMDIzMDE0NFowMjEOMAwGA1UECgwFQVdJUFMxEDAOBgNV
|
||||
BAsMB1Rlc3RpbmcxDjAMBgNVBAMMBWd1ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||
AQ8AMIIBCgKCAQEAquAPNSusMUr4hewdfLpqGCFGVeVdLjfJr4sRdQ/JsIrR/0WT
|
||||
EmD62cg5vC6SoH+evN9D+ZS477XniBBxb0PNc7mqsQU0btDudJEKw2LPfUMgU/uD
|
||||
/QcNIC0ZGe3Fv9q265fufH8JkIJCZRJkUtsESL9U8io6cluVWWVkzRqYOrMo/86y
|
||||
Y9Enfm6akKbcM8dued0gqU5j01Senb9jpQNCVDJ7ZZekw2uD4FMSXH40JXsD5QQt
|
||||
5HYfNkGX3J2K5wsbW43DNCP+uHTNaBToiQ10syJ7gUA2bFXEXDGW8uTdofW/vWGZ
|
||||
MM74XMe4EG8fyZpH6lKm+gvZ/oakcVJwJ4mVuQIDAQABMA0GCSqGSIb3DQEBBQUA
|
||||
A4IBAQCDtYQfnDqXoyUqOEwR5D/Y8lyqU3EBCAGMdu3L/nrNiQ/noq1B/nkZC3Cg
|
||||
BCmBWriI7/C6avIJC4bmR+GOTC2bPSA4xEOqTg8makUN1pJWA6cjw5K6wxIDn9L3
|
||||
CdwT4tz1SK6rBXsWLG/yIwNm60ahg9C/qs2z0+HfZy7kNizRxS2AR049GT5KPpGt
|
||||
Z+YTPq5ZyKkVoyIzo5ffWT9ZlC259bVq+L5MiDbhdK/KFP9xIyce2icIdpMy7MI2
|
||||
mJr2fIN7JzQJP/j0ls+KjUU+euwI5ZGLoNWkt5OlmYel+uJsc0oSDvdGMPAD334c
|
||||
M7ZuFuR9lYhdK5SkDgZ9VH8PZqhJ
|
||||
-----END CERTIFICATE-----
|
28
build/deploy.edex.awips2/esb/conf/jms/auth/guest.key
Normal file
28
build/deploy.edex.awips2/esb/conf/jms/auth/guest.key
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCq4A81K6wxSviF
|
||||
7B18umoYIUZV5V0uN8mvixF1D8mwitH/RZMSYPrZyDm8LpKgf56830P5lLjvteeI
|
||||
EHFvQ81zuaqxBTRu0O50kQrDYs99QyBT+4P9Bw0gLRkZ7cW/2rbrl+58fwmQgkJl
|
||||
EmRS2wRIv1TyKjpyW5VZZWTNGpg6syj/zrJj0Sd+bpqQptwzx2553SCpTmPTVJ6d
|
||||
v2OlA0JUMntll6TDa4PgUxJcfjQlewPlBC3kdh82QZfcnYrnCxtbjcM0I/64dM1o
|
||||
FOiJDXSzInuBQDZsVcRcMZby5N2h9b+9YZkwzvhcx7gQbx/JmkfqUqb6C9n+hqRx
|
||||
UnAniZW5AgMBAAECggEBAJ9n2ogNr9tkRygYNwHunZ7ZG9Zx3FWLcbkzkRuVmN/7
|
||||
ASCU9TjGA/46zbGB+QOFSr6DwdQJK+Vj2xSR0mCr7fQxls0BQALJIkrYLCRN/6ap
|
||||
gnUWQ/E+LL6Bk9Mef8YU8WQjHjZCBNgszGehmrm42+xJoaMwRcn9Kfx1nG3Ci5Tl
|
||||
m+1PG/T5LZv4e6I++RzsqBNdGhvRic44j8vYfVrr16ciSofFo1HJ4NmVCbIalPjU
|
||||
K+wxNRUD3jATeU70B582VXXSJf1r26cG3vZHaMCUWLPPNjKDD8Dsr9Q53iJ4QZYA
|
||||
DpgtLON6KxZSoRJeYS3Gdru0iquBJRMYV2T2dIjMkgECgYEA07++DbqCAnLI5ZjW
|
||||
Du303ZWzfwdz0iQLXksVPR2NC1u8lMJwbLgF1fbcss+YET91jfrrW3Cd0nOxFqX4
|
||||
kwrQtuRCs2qW6MAusqX+tAYC6//cMIjzNikGHC+4b/1MmPfvqtVXVM8uhxlny3Dm
|
||||
gzcdFa9YN7PlDr5jpnVbWj1zzFkCgYEAzpWhm9wDEX6e0PxtbKPNVgsoYJ3+n3QR
|
||||
i0XgJxFNDTpcFXEujwywsgauddSEOb8iPZgsQyfTXLr8qfhobTLSEYqDqmpzcm3O
|
||||
xr+uhCL7Jy26EfuNnha5Ntzqs1KosLxoQwPx5JMKSzDPRApV/VsLAgA+GVn7rfsM
|
||||
ri/DFygtaGECgYEAiuc6FillxZNko/BpYyvHuF/OeqL54DzS1E0upoOvFWddQrx2
|
||||
IWtqMJya1BWH7LCTPcr+/2HVtcs8vN2tPVAX8BG2i5l9WztOptRrS86xtfyGhbQg
|
||||
z0OEBZNsStJ/n8ztBESk4DZ0kB0jUHpETIkn5CS9GvVAajaMihJsFbtALikCgYB+
|
||||
0ltBHKMBlXMYJy9h93kyLm1eSwAqkY3Hq2D9euCLk10+iJollYvP7swhaBK4hL8X
|
||||
gxkBLSzTi7NbATXSe9V8kUVdVDaFdCXx23Dei78VgTvumDiLabXQmXS4G7GVtkRn
|
||||
h79zLFWwbUmAorvBaqfqVY3J8HTSjQFu2cFxsOeXYQKBgQCOTiPntXCWWEsCBJp5
|
||||
QOaHW1MZXYz8diVpNiZ/tJGhT4Van8ja7DJ0r+zWNrX5lMRct9E5jbbSgywsaY4W
|
||||
1sMVmAraKrbnIlJvv+nyBoU0uLTiBVNsBhMy7UkqrgH03o+aq1zSqCrIvumxuOAe
|
||||
cbq1B0DdERrn7goOytsviSDs1Q==
|
||||
-----END PRIVATE KEY-----
|
20
build/deploy.edex.awips2/esb/conf/jms/auth/root.crt
Normal file
20
build/deploy.edex.awips2/esb/conf/jms/auth/root.crt
Normal file
|
@ -0,0 +1,20 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDOTCCAiGgAwIBAgIJAIsJUossJEAhMA0GCSqGSIb3DQEBBQUAMDMxDjAMBgNV
|
||||
BAoMBUFXSVBTMRAwDgYDVQQLDAdUZXN0aW5nMQ8wDQYDVQQDDAZjYXJvb3QwHhcN
|
||||
MTYxMTIwMDAyNzQ0WhcNNDYxMTEzMDAyNzQ0WjAzMQ4wDAYDVQQKDAVBV0lQUzEQ
|
||||
MA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MIIBIjANBgkqhkiG9w0B
|
||||
AQEFAAOCAQ8AMIIBCgKCAQEA1aBCQLlOpbC7/ikudAmYdTgI16FecS8yItRzMMgX
|
||||
Po589JRydYe+3Wv4gaVZAktoCFCuoik9DRnewzqPxGzAOrq+QfPKRQhY0AdDZP4v
|
||||
c82r8C0ga/SZTImST/Y+WA7dJ6eRGfDiOIS/auQ0zcfrGFv4//I5+Sa+5dQNe0me
|
||||
pyAKaYTzrZWKrSsZbjxs1nHd+0ahIzgwWGb3UDY9MNMtP9/EvhRZkxgjeTnVZD8X
|
||||
aOLiwCIBALoGayId5wbXjyUIRzelPQPCXAADQcewlnlvbLadTXVCA3rP7TvNyx0W
|
||||
blpluNBg0o6sjlo2bzInBswHsFHUOZPcJT6pLhGRC52eNwIDAQABo1AwTjAdBgNV
|
||||
HQ4EFgQUjRTZ3Toe0L+XZodTnOTtpR39eJUwHwYDVR0jBBgwFoAUjRTZ3Toe0L+X
|
||||
ZodTnOTtpR39eJUwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAuvXD
|
||||
Hm5cJxtP3phZYAOdrSxJkJg/gMmRBLsS2GksPks07pelSxPySRjVZCJSDd8zbSc5
|
||||
DGdFBMI0Xdk7+V5KxP6ATfyc37GoxGG7ygbUjLvmlzsg2i+a0wIDjILyzisicA0q
|
||||
DyCLZGxNahFUrhci0mpKAr/RaGr4Hx4R+JMItP3sxysVbIhc4wdm4mRTA3n8Eru3
|
||||
hcPpLQlqLheVuCIECxMG+eVKVevZWN0gqiEA7C+pByMxASqeHc6SRCXHx8/GJPmw
|
||||
ocaHpJ7Iib2kMLeBT24R+RNHEpPknf/PkgwvM0BLPqlk8cNqAR7TZ/OtX1ffmPbv
|
||||
t+nP8jegKGo4lVr3Fg==
|
||||
-----END CERTIFICATE-----
|
|
@ -0,0 +1,18 @@
|
|||
<included>
|
||||
<!-- activeTableChange log -->
|
||||
<appender name="activeTableChangeLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>activeTableChange</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="activeTableChangeLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="activeTableChangeLog" />
|
||||
</appender>
|
||||
|
||||
<logger name="ActiveTableChange" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="activeTableChangeLogAsync" />
|
||||
</logger>
|
||||
</included>
|
140
build/deploy.edex.awips2/esb/conf/logback-centralRegistry.xml
Normal file
140
build/deploy.edex.awips2/esb/conf/logback-centralRegistry.xml
Normal file
|
@ -0,0 +1,140 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- BandwidthManager log -->
|
||||
<appender name="BandwidthManagerLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>bandwidth</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- data delivery log -->
|
||||
<appender name="DataDeliveryLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>datadelivery</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- data delivery Notification log -->
|
||||
<appender name="NotificationLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>notification</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- data delivery Retrieval log -->
|
||||
<appender name="RetrievalLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>retrieval</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- Purge log -->
|
||||
<appender name="PurgeLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>purge</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="ThreadBasedLog" class="com.raytheon.uf.common.logback.appender.ThreadBasedAppender">
|
||||
<defaultAppenderName>asyncConsole</defaultAppenderName>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</appender>
|
||||
|
||||
<logger name="edu">
|
||||
<level value="WARN" />
|
||||
</logger>
|
||||
<logger name="org.apache.cxf">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
|
||||
<logger name="org.apache.cxf.interceptor.LoggingOutInterceptor" additivity="false">
|
||||
<level value="WARN"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="org.apache.cxf.interceptor.LoggingInInterceptor" additivity="false">
|
||||
<level value="WARN"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.service" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.request" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery.event" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.event" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.registry.ebxml.services.notification" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.registry.federation" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.registry.replication" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery.retrieval" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="RetrievalLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.retrieval" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="RetrievalLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery.bandwidth" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="BandwidthManagerLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.bandwidth" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="BandwidthManagerLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.harvester.purge" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="PurgeLog"/>
|
||||
</logger>
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="ThreadBasedLog"/>
|
||||
</root>
|
||||
</configuration>
|
|
@ -0,0 +1,21 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- <logger name="com.raytheon.uf.edex.datadelivery.provideragent" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="ProviderAgent"/>
|
||||
</logger>-->
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
<!--
|
||||
<appender-ref ref="ThreadBasedLog"/>
|
||||
-->
|
||||
</root>
|
||||
</configuration>
|
|
@ -0,0 +1,23 @@
|
|||
<included>
|
||||
<!-- Appenders shared by all EDEX logback files. -->
|
||||
<!-- general application log -->
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="asyncConsole" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="console" />
|
||||
</appender>
|
||||
|
||||
<!-- Performance log -->
|
||||
<appender name="PerformanceLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>performance</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="PerformanceLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="PerformanceLog" />
|
||||
</appender>
|
||||
</included>
|
24
build/deploy.edex.awips2/esb/conf/logback-edex-appenders.xml
Normal file
24
build/deploy.edex.awips2/esb/conf/logback-edex-appenders.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<included>
|
||||
<!-- Appenders shared by all EDEX logback files. -->
|
||||
<!-- general application log -->
|
||||
<appender name="console" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy"/>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="asyncConsole" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="console" />
|
||||
</appender>
|
||||
|
||||
<!-- Performance log -->
|
||||
<appender name="PerformanceLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>performance</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="PerformanceLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="PerformanceLog" />
|
||||
</appender>
|
||||
</included>
|
|
@ -0,0 +1,17 @@
|
|||
<included>
|
||||
<!-- hibernate log -->
|
||||
<appender name="HibernateLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>hibernate</name>
|
||||
</rollingPolicy>
|
||||
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder">
|
||||
<trace>false</trace>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<logger name="org.hibernate" additivity="false">
|
||||
<level value="ERROR"/>
|
||||
<appender-ref ref="HibernateLog" />
|
||||
</logger>
|
||||
</included>
|
49
build/deploy.edex.awips2/esb/conf/logback-edex-loggers.xml
Normal file
49
build/deploy.edex.awips2/esb/conf/logback-edex-loggers.xml
Normal file
|
@ -0,0 +1,49 @@
|
|||
<included>
|
||||
<!-- Logger's shared by all EDEX logback files. -->
|
||||
<logger name="com.raytheon">
|
||||
<level value="INFO"/>
|
||||
</logger>
|
||||
|
||||
<logger name="PerformanceLogger" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="PerformanceLogAsync" />
|
||||
</logger>
|
||||
|
||||
<!-- used by c3p0 -->
|
||||
<logger name="com.mchange">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
<logger name="mx4j">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
<logger name="org.apache">
|
||||
<level value="INFO"/>
|
||||
</logger>
|
||||
<logger name="org.apache.camel.impl.converter.DefaultTypeConverter">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
<logger name="org.apache.camel.core.xml">
|
||||
<level value="WARN"/>
|
||||
</logger>
|
||||
<logger name="org.apache.qpid">
|
||||
<level value="INFO"/>
|
||||
</logger>
|
||||
<logger name="org.apache.qpid.client.BasicMessageProducer_0_10">
|
||||
<level value="WARN"/>
|
||||
</logger>
|
||||
<logger name="org.apache.xbean.spring">
|
||||
<level value="WARN"/>
|
||||
</logger>
|
||||
<logger name="org.quartz">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
<logger name="org.springframework">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
<logger name="org.geotools">
|
||||
<level value="WARN"/>
|
||||
</logger>
|
||||
<logger name="org.apache.cxf">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
</included>
|
|
@ -0,0 +1,8 @@
|
|||
<included>
|
||||
<property scope="context" name="log.dir.home" value="${edex.home}"/>
|
||||
<property scope="context" name="log.file.base" value ="edex"/>
|
||||
<property scope="context" name="log.file.mode" value="${edex.run.mode}"/>
|
||||
<!-- Only define when not wanting to use the UF Standard.
|
||||
<property scope="context" name="log.message.pattern" value="%-5p %d [%t] %c{0}: %m%n"/>
|
||||
-->
|
||||
</included>
|
170
build/deploy.edex.awips2/esb/conf/logback-ingest.xml
Normal file
170
build/deploy.edex.awips2/esb/conf/logback-ingest.xml
Normal file
|
@ -0,0 +1,170 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- shef log -->
|
||||
<appender name="shef" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>shef</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- activeTableChange log -->
|
||||
<include file="${edex.home}/conf/logback-activeTableChange.xml"/>
|
||||
|
||||
<!-- Purge log -->
|
||||
<appender name="purge" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>purge</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- RouteFailedLog log -->
|
||||
<appender name="RouteFailedLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>unrecognized-files</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- ShefPerformanceLog log -->
|
||||
<appender name="ShefPerfLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>shef-performance</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- Gen Areal FFG log -->
|
||||
<appender name="GenArealFFG" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>gen_areal_ffg</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- Gen Areal QPE log -->
|
||||
<appender name="GenArealQPE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>gen_areal_qpe</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- Trigger log -->
|
||||
<appender name="FailedTriggerLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>trigger</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- ohd log -->
|
||||
<appender name="OhdLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>ohd</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- mpe log -->
|
||||
<appender name="MpeLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>mpe</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- mpe validate log -->
|
||||
<appender name="MpeValidateLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>mpe-validate</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="ThreadBasedLog" class="com.raytheon.uf.common.logback.appender.ThreadBasedAppender">
|
||||
<defaultAppenderName>asyncConsole</defaultAppenderName>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
<appender-ref ref="shef"/>
|
||||
<appender-ref ref="purge"/>
|
||||
<appender-ref ref="MpeLog"/>
|
||||
</appender>
|
||||
|
||||
<logger name="com.raytheon.edex.plugin.shef" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="shef" />
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.purgesrv" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="purge"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.database.purge" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="purge"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.edex.db.purge.DataPurgeRegistry" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="purge"/>
|
||||
</logger>
|
||||
|
||||
<logger name="RouteFailedLog" additivity="false">
|
||||
<level value="WARN"/>
|
||||
<appender-ref ref="RouteFailedLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="ShefPerfLog" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="ShefPerfLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="GenArealFFG" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="GenArealFFG"/>
|
||||
</logger>
|
||||
|
||||
<logger name="GenArealQPE" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="GenArealQPE"/>
|
||||
</logger>
|
||||
|
||||
<logger name="FailedTriggerLog" additivity="false">
|
||||
<level value="ERROR"/>
|
||||
<appender-ref ref="FailedTriggerLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.ohd" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="OhdLog" />
|
||||
<appender-ref ref="console" />
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.plugin.mpe" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="MpeLog" />
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.mpe.gribit2" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="MpeLog" />
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.plugin.mpe.test" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="MpeValidateLog" />
|
||||
</logger>
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="ThreadBasedLog"/>
|
||||
</root>
|
||||
</configuration>
|
28
build/deploy.edex.awips2/esb/conf/logback-ingestDat.xml
Normal file
28
build/deploy.edex.awips2/esb/conf/logback-ingestDat.xml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</root>
|
||||
|
||||
<!-- HydroDualPol log -->
|
||||
<appender name="HydroDualPolLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>hydrodualpol</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- default logging -->
|
||||
<logger name="HydroDualPolLog" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="HydroDualPolLog"/>
|
||||
</logger>
|
||||
|
||||
</configuration>
|
13
build/deploy.edex.awips2/esb/conf/logback-ingestGrib.xml
Normal file
13
build/deploy.edex.awips2/esb/conf/logback-ingestGrib.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</root>
|
||||
</configuration>
|
16
build/deploy.edex.awips2/esb/conf/logback-ingestHydro.xml
Normal file
16
build/deploy.edex.awips2/esb/conf/logback-ingestHydro.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<!--
|
||||
The ingestHydro EDEX mode is currently only used by the ALR site.
|
||||
-->
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</root>
|
||||
</configuration>
|
140
build/deploy.edex.awips2/esb/conf/logback-registry.xml
Normal file
140
build/deploy.edex.awips2/esb/conf/logback-registry.xml
Normal file
|
@ -0,0 +1,140 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- BandwidthManager log -->
|
||||
<appender name="BandwidthManagerLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>bandwidth</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- data delivery log -->
|
||||
<appender name="DataDeliveryLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>datadelivery</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- data delivery Notification log -->
|
||||
<appender name="NotificationLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>notification</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- data delivery Retrieval log -->
|
||||
<appender name="RetrievalLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>retrieval</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<!-- Purge log -->
|
||||
<appender name="PurgeLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>purge</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="ThreadBasedLog" class="com.raytheon.uf.common.logback.appender.ThreadBasedAppender">
|
||||
<defaultAppenderName>asyncConsole</defaultAppenderName>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</appender>
|
||||
|
||||
<logger name="edu">
|
||||
<level value="WARN" />
|
||||
</logger>
|
||||
<logger name="org.apache.cxf">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
|
||||
<logger name="org.apache.cxf.interceptor.LoggingOutInterceptor" additivity="false">
|
||||
<level value="WARN"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="org.apache.cxf.interceptor.LoggingInInterceptor" additivity="false">
|
||||
<level value="WARN"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.service" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.request" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="DataDeliveryLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery.event" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.event" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.registry.ebxml.services.notification" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.registry.federation" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.registry.replication" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="NotificationLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery.retrieval" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="RetrievalLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.retrieval" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="RetrievalLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.common.datadelivery.bandwidth" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="BandwidthManagerLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.bandwidth" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="BandwidthManagerLog"/>
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.datadelivery.harvester.purge" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="PurgeLog"/>
|
||||
</logger>
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="ThreadBasedLog"/>
|
||||
</root>
|
||||
</configuration>
|
88
build/deploy.edex.awips2/esb/conf/logback-request.xml
Normal file
88
build/deploy.edex.awips2/esb/conf/logback-request.xml
Normal file
|
@ -0,0 +1,88 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<!-- ProductSrvRequest log -->
|
||||
<appender name="ProductSrvRequestLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>productSrvRequest</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="ProductSrvRequestLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="ProductSrvRequestLog" />
|
||||
</appender>
|
||||
|
||||
<!-- TextDBSrvRequest log -->
|
||||
<appender name="TextDBSrvRequestLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>textdbSrvRequest</name>
|
||||
</rollingPolicy>
|
||||
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="TextDBSrvRequestLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="TextDBSrvRequestLog" />
|
||||
</appender>
|
||||
|
||||
<!-- ThriftSrv (RemoteRequestRouteWrapper) request log -->
|
||||
<appender name="ThriftSrvRequestLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>thriftSrv</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="ThriftSrvRequestLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="ThriftSrvRequestLog" />
|
||||
</appender>
|
||||
|
||||
<!-- BackupService log -->
|
||||
<appender name="BackupSvcRequestLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>backupSvc</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="BackupSvcRequestLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="BackupSvcRequestLog" />
|
||||
</appender>
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
|
||||
<logger name="ProductSrvRequestLogger" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="ProductSrvRequestLogAsync"/>
|
||||
</logger>
|
||||
|
||||
<logger name="TextDBSrvRequestLogger" additivity="false">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="TextDBSrvRequestLogAsync"/>
|
||||
</logger>
|
||||
|
||||
<logger name="ThriftSrvRequestLogger" additivity="false">
|
||||
<level value="Info"/>
|
||||
<appender-ref ref="ThriftSrvRequestLogAsync" />
|
||||
</logger>
|
||||
|
||||
<logger name="com.raytheon.uf.edex.backupsvc" additivity="false">
|
||||
<level value="Info"/>
|
||||
<appender-ref ref="BackupSvcRequestLogAsync" />
|
||||
</logger>
|
||||
|
||||
<logger name="org.hibernate">
|
||||
<level value="ERROR"/>
|
||||
</logger>
|
||||
|
||||
<!-- activeTableChange log -->
|
||||
<include file="${edex.home}/conf/logback-activeTableChange.xml"/>
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</root>
|
||||
</configuration>
|
16
build/deploy.edex.awips2/esb/conf/logback-requestHydro.xml
Normal file
16
build/deploy.edex.awips2/esb/conf/logback-requestHydro.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<!--
|
||||
The requestHydro EDEX mode is currently only used by the ALR site.
|
||||
-->
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</root>
|
||||
</configuration>
|
23
build/deploy.edex.awips2/esb/conf/logback-test.xml
Normal file
23
build/deploy.edex.awips2/esb/conf/logback-test.xml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<configuration debug="true" scan="true" packagingData="true">
|
||||
<!--
|
||||
This is the default logging configuration file for all non-operational and
|
||||
development EDEX modes. This file will not be present on an operational system.
|
||||
An instance specific logback configuration file will need to be created for
|
||||
any new operational EDEX modes. If an operational instance-specific logback
|
||||
configuration file is not created, everything will be logged for that EDEX
|
||||
instance when it is deployed operationally as though there was no logging
|
||||
configuration.
|
||||
-->
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<include file="${edex.home}/conf/logback-edex-loggers.xml" />
|
||||
<include file="${edex.home}/conf/logback-edex-hibernate-logger.xml" />
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="asyncConsole"/>
|
||||
</root>
|
||||
</configuration>
|
3
build/deploy.edex.awips2/esb/conf/logging.properties
Normal file
3
build/deploy.edex.awips2/esb/conf/logging.properties
Normal file
|
@ -0,0 +1,3 @@
|
|||
# send any java.util.logging to SLF4J
|
||||
# only thing known in the system using java.util.logging is CXF
|
||||
handlers = org.slf4j.bridge.SLF4JBridgeHandler
|
53
build/deploy.edex.awips2/esb/conf/modes/README.txt
Normal file
53
build/deploy.edex.awips2/esb/conf/modes/README.txt
Normal file
|
@ -0,0 +1,53 @@
|
|||
The EDEX services/capabilities are all registered/created through spring.
|
||||
By including or excluding specific spring files we can determine at startup
|
||||
which services the EDEX instance should start.
|
||||
|
||||
If you provide no command line argument, EDEX will list available modes and exit.
|
||||
|
||||
All modes files are merged at startup. Modes files with modes that have
|
||||
the same name are combined so the end result is an aggregate of patterns
|
||||
in all files. For example, the ingest mode has the base mode defined
|
||||
in the ingest plug-in, but other plug-ins contribute excludes patterns.
|
||||
The modes files in these plug-ins will also have a mode named 'ingest'.
|
||||
The include and exclude tags should have regular expressions that
|
||||
are compatible with Java's Pattern class. If you provide no <include>
|
||||
tag for a particular mode, the include defaults to .*.
|
||||
|
||||
Each mode can define 0..n <includeMode> elements.
|
||||
The mode then becomes the sum of all <include> and <exclude> tags
|
||||
provided in all modes, including itself.
|
||||
|
||||
The following xml attributes can be utilized to assist in
|
||||
structuring the correct configuration:
|
||||
|
||||
<mode>:
|
||||
template="[true/false]", defaults to false, this is a non-bootable mode
|
||||
|
||||
Template modes are not listed as available modes at startup. These modes are
|
||||
only useful for being included in other modes. If any mode named 'foo' has
|
||||
the template='true' attribute in any modes file, then the resulting aggregate
|
||||
'foo' mode will be a template non-bootable mode.
|
||||
|
||||
e.g.
|
||||
<!- Ignores both foo and bar pattern files,
|
||||
includes baz and NOT bazaar files,
|
||||
the mode is bootable ->
|
||||
<mode name="sumOfIncludesAndExcludes">
|
||||
<includeMode>excludeFooFiles</includeMode>
|
||||
<includeMode>excludeBarFiles</includeMode>
|
||||
<includeMode>includeBazFiles</includeMode>
|
||||
</mode>
|
||||
<!- Template mode, not bootable ->
|
||||
<mode name="excludeFooFiles" template="true">
|
||||
<exclude>.*foo.*</exclude>
|
||||
</mode>
|
||||
<!- Template mode, not bootable ->
|
||||
<mode name="excludeBarFiles" template="true">
|
||||
<exclude>.*bar.*</exclude>
|
||||
</mode>
|
||||
<!- Template mode, not bootable,
|
||||
includes baz but NOT bazaar files ->
|
||||
<mode name="includeBazFiles" template="true">
|
||||
<include>.*baz.*</include>
|
||||
<exclude>.*bazaar.*</exclude>
|
||||
</mode>
|
196
build/deploy.edex.awips2/esb/conf/res/tablelookup.xml
Normal file
196
build/deploy.edex.awips2/esb/conf/res/tablelookup.xml
Normal file
|
@ -0,0 +1,196 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
|
||||
<tableLookup>
|
||||
|
||||
<center_7>
|
||||
<subcenter_-1>
|
||||
<version_0>nceptab_2</version_0>
|
||||
<version_1>nceptab_1</version_1>
|
||||
<version_2>nceptab_2</version_2>
|
||||
<version_3>nceptab_3</version_3>
|
||||
<version_129>nceptab_129</version_129>
|
||||
<version_130>nceptab_130</version_130>
|
||||
<version_131>nceptab_131</version_131>
|
||||
<version_140>nceptab_140</version_140>
|
||||
</subcenter_-1>
|
||||
<subcenter_5>
|
||||
<version_2>ncep_hpc_2</version_2>
|
||||
</subcenter_5>
|
||||
<subcenter_14>
|
||||
<version_2>ncep_mdl_2</version_2>
|
||||
</subcenter_14>
|
||||
</center_7>
|
||||
|
||||
<center_8>
|
||||
<subcenter_-1>
|
||||
<version_0>nceptab_1</version_0>
|
||||
<version_1>nceptab_1</version_1>
|
||||
<version_2>nceptab_2</version_2>
|
||||
<version_3>nceptab_3</version_3>
|
||||
<version_129>nceptab_129</version_129>
|
||||
<version_130>nceptab_130</version_130>
|
||||
<version_131>nceptab_131</version_131>
|
||||
<version_140>nceptab_140</version_140>
|
||||
</subcenter_-1>
|
||||
</center_8>
|
||||
|
||||
<center_9>
|
||||
<subcenter_-1>
|
||||
<version_0>nceptab_1</version_0>
|
||||
<version_1>nceptab_1</version_1>
|
||||
<version_2>nwso_2</version_2>
|
||||
<version_3>nceptab_3</version_3>
|
||||
<version_129>nceptab_129</version_129>
|
||||
<version_130>nceptab_130</version_130>
|
||||
<version_131>nceptab_131</version_131>
|
||||
<version_140>nceptab_140</version_140>
|
||||
</subcenter_-1>
|
||||
<subcenter_161>
|
||||
<version_2>nwso_kalr_2</version_2>
|
||||
</subcenter_161>
|
||||
<subcenter_162>
|
||||
<version_2>nwso_kfwr_2</version_2>
|
||||
</subcenter_162>
|
||||
<subcenter_156>
|
||||
<version_2>nwso_kkrf_2</version_2>
|
||||
</subcenter_156>
|
||||
<subcenter_157>
|
||||
<version_2>nwso_kmsr_2</version_2>
|
||||
</subcenter_157>
|
||||
<subcenter_154>
|
||||
<version_2>nwso_korn_2</version_2>
|
||||
</subcenter_154>
|
||||
<subcenter_159>
|
||||
<version_2>nwso_kptr_2</version_2>
|
||||
</subcenter_159>
|
||||
<subcenter_155>
|
||||
<version_2>nwso_krha_2</version_2>
|
||||
</subcenter_155>
|
||||
<subcenter_153>
|
||||
<version_2>nwso_krsa_2</version_2>
|
||||
</subcenter_153>
|
||||
<subcenter_152>
|
||||
<version_2>nwso_kstr_2</version_2>
|
||||
</subcenter_152>
|
||||
<subcenter_158>
|
||||
<version_2>nwso_ktar_2</version_2>
|
||||
</subcenter_158>
|
||||
<subcenter_160>
|
||||
<version_2>nwso_ktir_2</version_2>
|
||||
</subcenter_160>
|
||||
<subcenter_150>
|
||||
<version_2>nwso_ktua_2</version_2>
|
||||
</subcenter_150>
|
||||
<subcenter_151>
|
||||
<version_2>nwso_pacr_2</version_2>
|
||||
</subcenter_151>
|
||||
</center_9>
|
||||
|
||||
<center_54>
|
||||
<subcenter_0>
|
||||
<version_2>cmcgem_2</version_2>
|
||||
</subcenter_0>
|
||||
</center_54>
|
||||
|
||||
<center_57>
|
||||
<subcenter_-1>
|
||||
<version_2>afwa</version_2>
|
||||
<version_3>afwa</version_3>
|
||||
<version_128>af_128</version_128>
|
||||
<version_129>af_129</version_129>
|
||||
<version_130>afwa</version_130>
|
||||
</subcenter_-1>
|
||||
</center_57>
|
||||
|
||||
<center_58>
|
||||
<subcenter_0>
|
||||
<version_2>fnmoc_2</version_2>
|
||||
</subcenter_0>
|
||||
<subcenter_42>
|
||||
<version_2>af_2</version_2>
|
||||
</subcenter_42>
|
||||
</center_58>
|
||||
|
||||
<center_59>
|
||||
<subcenter_0>
|
||||
<version_0>fsl_0_0</version_0>
|
||||
<version_2>fsl_2_0</version_2>
|
||||
<version_129>nceptab_129</version_129>
|
||||
</subcenter_0>
|
||||
<subcenter_2>
|
||||
<version_0>fsl_2_0</version_0>
|
||||
</subcenter_2>
|
||||
</center_59>
|
||||
|
||||
<center_60>
|
||||
<subcenter_0>
|
||||
<version_2>ncar_0_200</version_2>
|
||||
<version_129>ncar_0_200</version_129>
|
||||
</subcenter_0>
|
||||
<subcenter_1>
|
||||
<version_2>ncar_1_2</version_2>
|
||||
</subcenter_1>
|
||||
</center_60>
|
||||
|
||||
<center_74>
|
||||
<subcenter_0>
|
||||
<version_2>nceptab_2</version_2>
|
||||
</subcenter_0>
|
||||
</center_74>
|
||||
|
||||
<center_78>
|
||||
<subcenter_-1>
|
||||
<version_2>nceptab</version_2>
|
||||
</subcenter_-1>
|
||||
</center_78>
|
||||
|
||||
<center_85>
|
||||
<subcenter_-1>
|
||||
<version_2>nc72_ecmwf_3</version_2>
|
||||
</subcenter_-1>
|
||||
</center_85>
|
||||
|
||||
<center_98>
|
||||
<subcenter_-1>
|
||||
<version_1>nc72_ecmwf_3</version_1>
|
||||
<version_2>ecmwf_2</version_2>
|
||||
<version_3>nc72_ecmwf_3</version_3>
|
||||
<version_128>ecmwf_128</version_128>
|
||||
<version_140>ecmwf_140</version_140>
|
||||
<version_160>ecmwf_160</version_160>
|
||||
<version_162>ecmwf_162</version_162>
|
||||
</subcenter_-1>
|
||||
</center_98>
|
||||
|
||||
<center_158>
|
||||
<subcenter_0>
|
||||
<version_0>fnmoc_2</version_0>
|
||||
</subcenter_0>
|
||||
</center_158>
|
||||
|
||||
<center_250>
|
||||
<subcenter_2>
|
||||
<version_200>wrf_2_200</version_200>
|
||||
</subcenter_2>
|
||||
</center_250>
|
||||
|
||||
</tableLookup>
|
425
build/deploy.edex.awips2/esb/conf/security/keystoreUtil.sh
Executable file
425
build/deploy.edex.awips2/esb/conf/security/keystoreUtil.sh
Executable file
|
@ -0,0 +1,425 @@
|
|||
#!/bin/bash
|
||||
# Temporary, only be used until we get DOD certs.
|
||||
# rewrite from 16.1.1
|
||||
|
||||
SETUP_ENV=/awips2/edex/bin/setup.env
|
||||
source $SETUP_ENV
|
||||
|
||||
if [[ -z $JAR_LIB ]]
|
||||
then
|
||||
JAR_LIB="/awips2/edex/lib"
|
||||
fi
|
||||
|
||||
FIND_JAR_COMMAND="find $JAR_LIB -name *.jar"
|
||||
JAR_FOLDERS=`$FIND_JAR_COMMAND`
|
||||
|
||||
#Recursively search all library directories for jar files and add them to the local classpath
|
||||
addSep=false
|
||||
for i in $JAR_FOLDERS;
|
||||
do
|
||||
if [[ "$addSep" == true ]];
|
||||
then
|
||||
LOCAL_CLASSPATH=$LOCAL_CLASSPATH":"$i
|
||||
else
|
||||
LOCAL_CLASSPATH=$i
|
||||
addSep=true
|
||||
fi
|
||||
done
|
||||
|
||||
JAVA_BIN=/awips2/java/jre/bin/java
|
||||
|
||||
securityDir=/awips2/edex/conf/security
|
||||
securityPropertiesDir=/awips2/edex/conf/resources/site/$AW_SITE_IDENTIFIER
|
||||
securityProps=$securityPropertiesDir/security.properties
|
||||
publicKeyFile=PublicKey.cer
|
||||
keystore=keystore.jks
|
||||
truststore=truststore.jks
|
||||
|
||||
|
||||
encryptionKey=encrypt
|
||||
|
||||
defaultPassword=password
|
||||
defaultOrg=NOAA
|
||||
defaultOrgUnit=NWS
|
||||
defaultLoc=Silver_Spring
|
||||
defaultState=MD
|
||||
defaultSAN=ip:$(hostname --ip-address)
|
||||
infoCorrect=
|
||||
|
||||
function resetVariables {
|
||||
orgUnit=
|
||||
org=
|
||||
loc=
|
||||
state=
|
||||
country=
|
||||
ext=
|
||||
keystorePw=
|
||||
truststorePw=
|
||||
keyPw=
|
||||
cn=
|
||||
}
|
||||
|
||||
function usage {
|
||||
echo "Usage:"
|
||||
echo -e "\t-h\t\tDisplays usage"
|
||||
echo -e "\t-g\t\tGenerate keystore, truststore, and security properties file"
|
||||
echo -e "\t-a [keyFile]\tAdds a public key to the trust store"
|
||||
echo -e "\t-d [keyFile]\tDeletes a public key from the trust store"
|
||||
}
|
||||
|
||||
function generateKeystores() {
|
||||
|
||||
|
||||
echo "Generating keystores"
|
||||
|
||||
if [[ ! -d $securityDir ]]; then
|
||||
mkdir $securityDir
|
||||
fi
|
||||
|
||||
if [[ ! -d $securityPropertiesDir ]]; then
|
||||
mkdir -p $securityPropertiesDir
|
||||
fi
|
||||
|
||||
while [[ $infoCorrect != "yes" ]];
|
||||
do
|
||||
infoCorrect=
|
||||
resetVariables
|
||||
while [[ -z $keystorePw ]];
|
||||
do
|
||||
echo -n "Enter password for $keystore [$defaultPassword]: "
|
||||
read keystorePw
|
||||
if [[ -z $keystorePw ]];
|
||||
then
|
||||
echo -e "\tUsing default password of $defaultPassword"
|
||||
keystorePw=$defaultPassword
|
||||
elif [[ ${#keystorePw} -lt 6 ]];
|
||||
then
|
||||
echo -e "\tPassword must be at least 6 characters."
|
||||
keystorePw=
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $keyAlias ]];
|
||||
do
|
||||
if [[ -z $CLUSTER_ID ]]
|
||||
then
|
||||
HOST=$(hostname -s)
|
||||
CLUSTER_ID=${HOST:$(expr index "$HOST" -)} | tr '[:lower:]' '[:upper:]'
|
||||
fi
|
||||
|
||||
if [[ -z $CLUSTER_ID ]]
|
||||
then
|
||||
CLUSTER_ID=$AW_SITE_IDENTIFIER
|
||||
fi
|
||||
|
||||
echo -n "Enter keystore alias [$CLUSTER_ID]: "
|
||||
read keyAlias
|
||||
if [[ -z $keyAlias ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $CLUSTER_ID"
|
||||
keyAlias=$CLUSTER_ID
|
||||
else
|
||||
CLUSTER_ID=$keyAlias
|
||||
fi
|
||||
# Write the cluster ID to the setup.env file
|
||||
echo "CLUSTER_ID set to: $CLUSTER_ID"
|
||||
sed -i "s@^export CLUSTER_ID.*@export CLUSTER_ID=$CLUSTER_ID@g" $SETUP_ENV
|
||||
done
|
||||
|
||||
while [[ -z $keyPw ]];
|
||||
do
|
||||
echo -n "Enter password for key $keyAlias [$defaultPassword]: "
|
||||
read keyPw
|
||||
if [[ -z $keyPw ]];
|
||||
then
|
||||
echo -e "\tUsing default password of $defaultPassword"
|
||||
keyPw=$defaultPassword
|
||||
elif [[ ${#keyPw} -lt 6 ]];
|
||||
then
|
||||
echo -e "\tPassword must be at least 6 characters."
|
||||
keyPw=
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $truststorePw ]];
|
||||
do
|
||||
echo -n "Enter password for $truststore [$defaultPassword]: "
|
||||
read truststorePw
|
||||
if [[ -z $truststorePw ]];
|
||||
then
|
||||
echo -e "\tUsing default password of $defaultPassword"
|
||||
truststorePw=$defaultPassword
|
||||
elif [[ ${#truststorePw} -lt 6 ]];
|
||||
then
|
||||
echo -e "\tPassword must be at least 6 characters."
|
||||
truststorePw=
|
||||
fi
|
||||
done
|
||||
|
||||
while [ -z $cn ];
|
||||
do
|
||||
echo -n "Enter canonical name/IP [$(hostname)]: "
|
||||
read cn
|
||||
if [ -z $cn ];
|
||||
then
|
||||
echo -e "\tUsing default value of $(hostname)"
|
||||
cn=$(hostname)
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $org ]];
|
||||
do
|
||||
echo -n "Enter Organization (O) [$defaultOrg]: "
|
||||
read org
|
||||
if [[ -z $org ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $defaultOrg"
|
||||
org=$defaultOrg
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $orgUnit ]];
|
||||
do
|
||||
echo -n "Enter Organizational Unit (OU) [$defaultOrgUnit]: "
|
||||
read orgUnit
|
||||
if [[ -z $orgUnit ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $defaultOrgUnit"
|
||||
orgUnit=$defaultOrgUnit
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $loc ]];
|
||||
do
|
||||
echo -n "Enter Location (L) [$defaultLoc]: "
|
||||
read loc
|
||||
if [[ -z $loc ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $defaultLoc"
|
||||
loc=$defaultLoc
|
||||
else
|
||||
loc=${loc// /_}
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $state ]];
|
||||
do
|
||||
echo -n "Enter State (ST) (2 letter ID) [$defaultState]: "
|
||||
read state
|
||||
if [[ -z $state ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $defaultState"
|
||||
state=$defaultState
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $country ]];
|
||||
do
|
||||
echo -n "Enter Country (C) (2 letter ID) [US]: "
|
||||
read country
|
||||
if [[ -z $country ]];
|
||||
then
|
||||
echo -e "\tUsing default value of US"
|
||||
country=US
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $ext ]];
|
||||
do
|
||||
echo "Subject Alternative Names (SAN): Comma Delimited!"
|
||||
echo "for FQDN enter: dns:host1.mydomain.com,dns:host2.mydomain.com, etc"
|
||||
echo "for IP enter: ip:X.X.X.X,ip:Y.Y.Y.Y, etc"
|
||||
echo -n "Enter SAN [$defaultSAN]: "
|
||||
read ext
|
||||
if [[ -z $ext ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $defaultSAN"
|
||||
ext=$defaultSAN
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
echo " ______________Summary______________"
|
||||
echo " Keystore: $securityDir/$keystore"
|
||||
echo " Keystore Password: $keystorePw"
|
||||
echo " Truststore: $securityDir/$truststore"
|
||||
echo "Truststore Password: $truststorePw"
|
||||
echo " Key Alias: $keyAlias"
|
||||
echo " Key Password: $keyPw"
|
||||
echo " SAN: $ext"
|
||||
echo " CN: $cn"
|
||||
echo " O: $org"
|
||||
echo " OU: $orgUnit"
|
||||
echo " Location: $loc"
|
||||
echo " State: $state"
|
||||
echo " Country: $country"
|
||||
echo
|
||||
|
||||
while [[ $infoCorrect != "yes" ]] && [[ $infoCorrect != "y" ]] && [[ $infoCorrect != "no" ]] && [[ $infoCorrect != "n" ]];
|
||||
do
|
||||
echo -n "Is this information correct (yes or no)? "
|
||||
read infoCorrect
|
||||
infoCorrect=$(echo $infoCorrect | tr '[:upper:]' '[:lower:]')
|
||||
if [[ $infoCorrect = "yes" ]] || [[ $infocorrect = "y" ]];
|
||||
then
|
||||
echo "Information Confirmed"
|
||||
elif [[ $infoCorrect = "no" ]] || [[ $infoCorrect = "n" ]];
|
||||
then
|
||||
echo -e "\nPlease re-enter the information."
|
||||
resetVariables
|
||||
else
|
||||
echo "Please enter yes or no."
|
||||
fi
|
||||
done
|
||||
|
||||
done
|
||||
|
||||
echo "Generating keystore..."
|
||||
# get rid of an existing key with same name
|
||||
echo "Checking to see if a key with this alias exists in keystore.....[$keyAlias]!"
|
||||
keytool -delete -alias $keyAlias -keystore $securityDir/$keystore
|
||||
# create and add key
|
||||
keytool -genkeypair -alias $keyAlias -keypass $keyPw -keystore $keystore -storepass $keystorePw -validity 360 -dname "CN=$cn, OU=$orgUnit, O=$org, L=$loc, ST=$state, C=$country" -keyalg RSA -ext san=$ext
|
||||
echo -n "Exporting public key..."
|
||||
exportOutput=`keytool -exportcert -alias $keyAlias -keystore $keystore -file $keyAlias$publicKeyFile -storepass $keystorePw 2>&1`
|
||||
echo "Done!"
|
||||
obfuscatedKeystorePassword=`$JAVA_BIN -cp $LOCAL_CLASSPATH com.raytheon.uf.common.security.encryption.AESEncryptor encrypt $encryptionKey $keystorePw 2>&1`
|
||||
|
||||
echo "Generating trust store..."
|
||||
echo "Checking to see if a trusted CA with this alias exists in truststore.....[$keyAlias]!"
|
||||
keytool -delete -alias $keyAlias -keystore $securityDir/$truststore
|
||||
keytool -genkey -alias tmp -keypass tempPass -dname CN=foo -keystore $truststore -storepass $truststorePw
|
||||
keytool -delete -alias tmp -keystore $truststore -storepass $truststorePw
|
||||
keytool -import -trustcacerts -file $keyAlias$publicKeyFile -alias $keyAlias -keystore $truststore -storepass $truststorePw
|
||||
|
||||
jettyObscuredPassword=`$JAVA_BIN -cp $LOCAL_CLASSPATH org.eclipse.jetty.util.security.Password $keystorePw 2>&1 | grep OBF`
|
||||
|
||||
obfuscatedTruststorePassword=`$JAVA_BIN -cp $LOCAL_CLASSPATH com.raytheon.uf.common.security.encryption.AESEncryptor encrypt $encryptionKey $truststorePw 2>&1`
|
||||
|
||||
|
||||
echo -n "Generating security properties file..."
|
||||
|
||||
echo "# This file was automatically generated using /awips2/edex/conf/security/keystoreUtil.sh" > $securityProps
|
||||
echo "java.security.auth.login.config=/awips2/edex/conf/security/realms.properties" >> $securityProps
|
||||
echo "edex.security.auth.user=$keyAlias" >> $securityProps
|
||||
echo "edex.security.auth.password=$obfuscatedKeystorePassword" >> $securityProps
|
||||
echo "edex.security.auth.authorizationType=Basic" >> $securityProps
|
||||
echo "edex.security.auth.loginService.name=RegistryRealm" >> $securityProps
|
||||
echo "edex.security.auth.loginService.realm=RegistryRealm" >> $securityProps
|
||||
echo "edex.security.encryption.key=$encryptionKey" >> $securityProps
|
||||
echo "edex.security.keystore.path=$securityDir/$keystore" >> $securityProps
|
||||
echo "edex.security.keystore.alias=$keyAlias" >> $securityProps
|
||||
echo "edex.security.keystore.password=$obfuscatedKeystorePassword" >> $securityProps
|
||||
echo "edex.security.keystore.type=JKS" >> $securityProps
|
||||
echo "edex.security.keystore.algorithm=SunX509" >> $securityProps
|
||||
echo "edex.security.truststore.path=$securityDir/$truststore" >> $securityProps
|
||||
echo "edex.security.truststore.password=$obfuscatedTruststorePassword" >> $securityProps
|
||||
echo "edex.security.truststore.type=JKS" >> $securityProps
|
||||
echo "edex.security.truststore.algorithm=SunX509" >> $securityProps
|
||||
echo "edex.security.disableCNCheck=false" >>$securityProps
|
||||
|
||||
echo "#The following configuration items are used with the wss4j in/out interceptors" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.file=security/$keystore" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.password=$jettyObscuredPassword" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.type=JKS" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.alias=$keyAlias" >> $securityProps
|
||||
|
||||
echo "Done!"
|
||||
|
||||
# If we are already in the security directory, we do not
|
||||
# need to move the files
|
||||
if [[ $(pwd) != "$securityDir" ]];
|
||||
then
|
||||
echo -n "Moving key store and trust store to [$securityDir] ..."
|
||||
mv $truststore $keystore $securityDir
|
||||
echo "Done!"
|
||||
fi
|
||||
|
||||
echo "Keystores are located at $securityDir"
|
||||
echo "The public key for this server is located at $(pwd)/$keyAlias$publicKeyFile"
|
||||
echo "This file may be disseminated to other registry federation members who wish to interact with this server"
|
||||
|
||||
}
|
||||
|
||||
function addKey() {
|
||||
echo "Adding $keyfile to trust store..."
|
||||
|
||||
userAlias=
|
||||
while [ -z $userAlias ];
|
||||
do
|
||||
echo -n "Enter alias for [$keyfile]: "
|
||||
read userAlias
|
||||
if [ -z $userAlias ];
|
||||
then
|
||||
echo "Alias cannot be empty!"
|
||||
fi
|
||||
done
|
||||
|
||||
# delete any existing cert in the truststore for this alias
|
||||
echo "Checking to see if a certificate with this alias exists to replace.....[$userAlias]!"
|
||||
keytool -delete -alias $userAlias -keystore $securityDir/$truststore
|
||||
# add the cert as a Self Signed CA to truststore
|
||||
keytool -import -trustcacerts -file $keyfile -alias $userAlias -keystore $securityDir/$truststore
|
||||
|
||||
}
|
||||
|
||||
function deleteKey() {
|
||||
echo "Deleting $keyfile from trust store..."
|
||||
|
||||
userAlias=
|
||||
while [ -z $userAlias ];
|
||||
do
|
||||
echo -n "Enter alias for [$keyfile]: "
|
||||
read userAlias
|
||||
if [ -z $userAlias ];
|
||||
then
|
||||
echo "Alias cannot be empty!"
|
||||
fi
|
||||
done
|
||||
keytool -delete -alias $userAlias -keystore $securityDir/$truststore
|
||||
|
||||
}
|
||||
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "No arguments supplied"
|
||||
usage
|
||||
exit 0
|
||||
elif [ "$1" = "-g" ]
|
||||
then
|
||||
generateKeystores
|
||||
exit 0
|
||||
elif [ "$1" = "-a" ]
|
||||
then
|
||||
if [ $# -lt 2 ]
|
||||
then
|
||||
echo "No key file supplied"
|
||||
usage
|
||||
elif [ ! -e $securityDir/$truststore ]
|
||||
then
|
||||
echo "Trust store [$securityDir/$truststore] does not exist!"
|
||||
else
|
||||
keyfile=$2
|
||||
addKey
|
||||
fi
|
||||
exit 0
|
||||
elif [ "$1" = "-d" ]
|
||||
then
|
||||
if [ $# -lt 2 ]
|
||||
then
|
||||
echo "No key file supplied"
|
||||
usage
|
||||
elif [ ! -e $securityDir/$truststore ]
|
||||
then
|
||||
echo "Trust store [$securityDir/$truststore] does not exist!"
|
||||
else
|
||||
keyfile=$2
|
||||
deleteKey
|
||||
fi
|
||||
exit 0
|
||||
elif [ "$1" = "-usage" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]
|
||||
then
|
||||
usage
|
||||
exit 0
|
||||
fi
|
349
build/deploy.edex.awips2/esb/conf/security/keystoreUtilDoD.sh
Normal file
349
build/deploy.edex.awips2/esb/conf/security/keystoreUtilDoD.sh
Normal file
|
@ -0,0 +1,349 @@
|
|||
#!/bin/bash
|
||||
# Now we have DOD certs.
|
||||
|
||||
SETUP_ENV=/awips2/edex/bin/setup.env
|
||||
source $SETUP_ENV
|
||||
|
||||
if [[ -z $JAR_LIB ]]
|
||||
then
|
||||
JAR_LIB="/awips2/edex/lib"
|
||||
fi
|
||||
#Recursively search all library directories for jar files and add them to the local classpath
|
||||
FIND_JAR_COMMAND="find $JAR_LIB -name *.jar"
|
||||
JAR_FOLDERS=`$FIND_JAR_COMMAND`
|
||||
|
||||
addSep=false
|
||||
for i in $JAR_FOLDERS;
|
||||
do
|
||||
if [[ "$addSep" == true ]];
|
||||
then
|
||||
LOCAL_CLASSPATH=$LOCAL_CLASSPATH":"$i
|
||||
else
|
||||
LOCAL_CLASSPATH=$i
|
||||
addSep=true
|
||||
fi
|
||||
done
|
||||
|
||||
JAVA_BIN=/awips2/java/jre/bin/java
|
||||
|
||||
securityDir=/awips2/edex/conf/security
|
||||
securityPropertiesDir=/awips2/edex/conf/resources/site/$AW_SITE_IDENTIFIER
|
||||
securityProps=$securityPropertiesDir/security.properties
|
||||
publicKeyFile=PublicKey.cer
|
||||
keystore=keystore.jks
|
||||
truststore=truststore.jks
|
||||
encryptionKey=encrypt
|
||||
defaultPassword=password
|
||||
defaultOrg=NOAA
|
||||
defaultOrgUnit=NWS
|
||||
defaultLoc=Silver_Spring
|
||||
defaultState=MD
|
||||
defaultSAN=ip:$(hostname --ip-address)
|
||||
infoCorrect=
|
||||
|
||||
function resetVariables {
|
||||
keystorePw=
|
||||
truststorePw=
|
||||
keyPw=
|
||||
cn=
|
||||
}
|
||||
|
||||
function usage {
|
||||
echo "Usage:"
|
||||
echo -e "\t-h\t\tDisplays usage"
|
||||
echo -e "\t-g [dodcert] [dodkey] \tGenerate keystore, truststore, and security properties file using supplied DoD cert and key"
|
||||
echo -e "\t-a [keyFile]\tAdds a public key to the trust store"
|
||||
echo -e "\t-d [keyFile]\tDeletes a public key from the trust store"
|
||||
}
|
||||
|
||||
function generateKeystores() {
|
||||
|
||||
echo "Generating keystores"
|
||||
|
||||
if [[ ! -d $securityDir ]]; then
|
||||
mkdir $securityDir
|
||||
fi
|
||||
|
||||
if [[ ! -d $securityPropertiesDir ]]; then
|
||||
mkdir -p $securityPropertiesDir
|
||||
fi
|
||||
|
||||
while [[ $infoCorrect != "yes" ]];
|
||||
do
|
||||
infoCorrect=
|
||||
resetVariables
|
||||
while [[ -z $keystorePw ]];
|
||||
do
|
||||
echo -n "Enter password for $keystore [$defaultPassword]: "
|
||||
read keystorePw
|
||||
if [[ -z $keystorePw ]];
|
||||
then
|
||||
echo -e "\tUsing default password of $defaultPassword"
|
||||
keystorePw=$defaultPassword
|
||||
elif [[ ${#keystorePw} -lt 6 ]];
|
||||
then
|
||||
echo -e "\tPassword must be at least 6 characters."
|
||||
keystorePw=
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $keyAlias ]];
|
||||
do
|
||||
if [[ -z $CLUSTER_ID ]]
|
||||
then
|
||||
HOST=$(hostname -s)
|
||||
CLUSTER_ID=${HOST:$(expr index "$HOST" -)} | tr '[:lower:]' '[:upper:]'
|
||||
fi
|
||||
|
||||
if [[ -z $CLUSTER_ID ]]
|
||||
then
|
||||
CLUSTER_ID=$AW_SITE_IDENTIFIER
|
||||
fi
|
||||
|
||||
echo -n "Enter keystore alias [$CLUSTER_ID]: "
|
||||
read keyAlias
|
||||
if [[ -z $keyAlias ]];
|
||||
then
|
||||
echo -e "\tUsing default value of $CLUSTER_ID"
|
||||
keyAlias=$CLUSTER_ID
|
||||
else
|
||||
CLUSTER_ID=$keyAlias
|
||||
fi
|
||||
# Write the cluster ID to the setup.env file
|
||||
echo "CLUSTER_ID set to: $CLUSTER_ID"
|
||||
sed -i "s@^export CLUSTER_ID.*@export CLUSTER_ID=$CLUSTER_ID@g" $SETUP_ENV
|
||||
done
|
||||
|
||||
while [[ -z $keyPw ]];
|
||||
do
|
||||
echo -n "Enter password for key $keyAlias [$defaultPassword]: "
|
||||
read keyPw
|
||||
if [[ -z $keyPw ]];
|
||||
then
|
||||
echo -e "\tUsing default password of $defaultPassword"
|
||||
keyPw=$defaultPassword
|
||||
elif [[ ${#keyPw} -lt 6 ]];
|
||||
then
|
||||
echo -e "\tPassword must be at least 6 characters."
|
||||
keyPw=
|
||||
fi
|
||||
done
|
||||
|
||||
while [[ -z $truststorePw ]];
|
||||
do
|
||||
echo -n "Enter password for $truststore [$defaultPassword]: "
|
||||
read truststorePw
|
||||
if [[ -z $truststorePw ]];
|
||||
then
|
||||
echo -e "\tUsing default password of $defaultPassword"
|
||||
truststorePw=$defaultPassword
|
||||
elif [[ ${#truststorePw} -lt 6 ]];
|
||||
then
|
||||
echo -e "\tPassword must be at least 6 characters."
|
||||
truststorePw=
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
echo " ______________Summary______________"
|
||||
echo " Keystore: $securityDir/$keystore"
|
||||
echo " Keystore Password: $keystorePw"
|
||||
echo " Truststore: $securityDir/$truststore"
|
||||
echo "Truststore Password: $truststorePw"
|
||||
echo " Key Alias: $keyAlias"
|
||||
echo " Key Password: $keyPw"
|
||||
echo
|
||||
|
||||
while [[ $infoCorrect != "yes" ]] && [[ $infoCorrect != "no" ]];
|
||||
do
|
||||
echo -n "Is this information correct (yes or no)? "
|
||||
read infoCorrect
|
||||
infoCorrect=$(echo $infoCorrect | tr '[:upper:]' '[:lower:]')
|
||||
if [[ $infoCorrect = "yes" ]];
|
||||
then
|
||||
echo "Information Confirmed"
|
||||
elif [[ $infoCorrect = "no" ]];
|
||||
then
|
||||
echo -e "\nPlease re-enter the information."
|
||||
resetVariables
|
||||
else
|
||||
echo "Please enter yes or no."
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
cn=$(hostname)
|
||||
|
||||
echo "Generating keystore..."
|
||||
# get rid of an existing key with same name
|
||||
echo "Checking to see if a key with this alias exists in keystore.....[$keyAlias]!"
|
||||
keytool -delete -alias $keyAlias -storepass $keyPw -keystore $securityDir/$keystore
|
||||
# create and add key
|
||||
keytool -genkey -alias tmp -keypass $keyPw -dname CN=foo -keystore $keystore -storepass $keystorePw
|
||||
keytool -delete -alias tmp -keystore $securityDir/$keystore -storepass $keyPw
|
||||
# convert private DoD key file in PEM format to DER
|
||||
openssl pkcs8 -topk8 -nocrypt -in $dodkey -inform PEM -out /tmp/dodkey.der -outform DER
|
||||
# convert public DoD certificate file in PEM to DER
|
||||
openssl x509 -in $dodcert -inform PEM -out /tmp/dodcert.der -outform DER
|
||||
# load the privateKey into the keystore
|
||||
$JAVA_BIN -cp $LOCAL_CLASSPATH com.raytheon.uf.common.security.certificate.CertLoader /tmp/dodkey.der /tmp/dodcert.der $securityDir $keystorePw $keyAlias
|
||||
# clean up mess
|
||||
rm -f /tmp/dodkey.der /tmp/dodcert.der
|
||||
# obfuscate keyPass kept in security.properties
|
||||
obfuscatedKeystorePassword=`$JAVA_BIN -cp $LOCAL_CLASSPATH com.raytheon.uf.common.security.encryption.AESEncryptor encrypt $encryptionKey $keystorePw 2>&1`
|
||||
|
||||
echo "Generating trust store..."
|
||||
echo "Checking to see if a trusted CA with this alias exists in truststore.....[$keyAlias]!"
|
||||
keytool -delete -alias $keyAlias -storepass $truststorePw -keystore $securityDir/$truststore
|
||||
keytool -genkey -alias tmp -keypass tempPass -dname CN=foo -keystore $truststore -storepass $truststorePw
|
||||
keytool -delete -alias tmp -keystore $truststore -storepass $truststorePw
|
||||
keytool -importcert -trustcacerts -file ${dodcert} -alias $keyAlias -keystore $truststore -storepass $truststorePw
|
||||
|
||||
jettyObscuredPassword=`$JAVA_BIN -cp $LOCAL_CLASSPATH org.eclipse.jetty.util.security.Password $keystorePw 2>&1 | grep OBF`
|
||||
obfuscatedTruststorePassword=`$JAVA_BIN -cp $LOCAL_CLASSPATH com.raytheon.uf.common.security.encryption.AESEncryptor encrypt $encryptionKey $truststorePw 2>&1`
|
||||
|
||||
echo -n "Generating security properties file..."
|
||||
|
||||
echo "# This file was automatically generated using /awips2/edex/conf/security/keystoreUtil.sh" > $securityProps
|
||||
echo "java.security.auth.login.config=/awips2/edex/conf/security/realms.properties" >> $securityProps
|
||||
echo "edex.security.auth.user=$keyAlias" >> $securityProps
|
||||
echo "edex.security.auth.password=$obfuscatedKeystorePassword" >> $securityProps
|
||||
echo "edex.security.auth.authorizationType=Basic" >> $securityProps
|
||||
echo "edex.security.auth.loginService.name=RegistryRealm" >> $securityProps
|
||||
echo "edex.security.auth.loginService.realm=RegistryRealm" >> $securityProps
|
||||
echo "edex.security.encryption.key=$encryptionKey" >> $securityProps
|
||||
echo "edex.security.keystore.path=$securityDir/$keystore" >> $securityProps
|
||||
echo "edex.security.keystore.alias=$keyAlias" >> $securityProps
|
||||
echo "edex.security.keystore.password=$obfuscatedKeystorePassword" >> $securityProps
|
||||
echo "edex.security.keystore.type=JKS" >> $securityProps
|
||||
echo "edex.security.keystore.algorithm=SunX509" >> $securityProps
|
||||
echo "edex.security.truststore.path=$securityDir/$truststore" >> $securityProps
|
||||
echo "edex.security.truststore.password=$obfuscatedTruststorePassword" >> $securityProps
|
||||
echo "edex.security.truststore.type=JKS" >> $securityProps
|
||||
echo "edex.security.truststore.algorithm=SunX509" >> $securityProps
|
||||
echo "edex.security.disableCNCheck=false" >>$securityProps
|
||||
|
||||
echo "#The following configuration items are used with the wss4j in/out interceptors" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.file=security/$keystore" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.password=$jettyObscuredPassword" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.type=JKS" >> $securityProps
|
||||
echo "org.apache.ws.security.crypto.merlin.keystore.alias=$keyAlias" >> $securityProps
|
||||
|
||||
echo "Done!"
|
||||
|
||||
# If we are already in the security directory, we do not
|
||||
# need to move the files
|
||||
if [[ $(pwd) != "$securityDir" ]];
|
||||
then
|
||||
echo -n "Moving key store and trust store to [$securityDir] ..."
|
||||
mv $truststore $keystore $securityDir
|
||||
echo "Done!"
|
||||
fi
|
||||
|
||||
echo "Keystores are located at $securityDir"
|
||||
echo "The public key for this server is located at $(pwd)/$keyAlias$publicKeyFile"
|
||||
echo "This file may be disseminated to other registry federation members who wish to interact with this server"
|
||||
}
|
||||
|
||||
function addKey() {
|
||||
echo "Adding $keyfile to trust store..."
|
||||
|
||||
userAlias=
|
||||
while [ -z $userAlias ];
|
||||
do
|
||||
echo -n "Enter alias for [$keyfile]: "
|
||||
read userAlias
|
||||
if [ -z $userAlias ];
|
||||
then
|
||||
echo "Alias cannot be empty!"
|
||||
fi
|
||||
done
|
||||
|
||||
# delete any existing cert in the truststore for this alias
|
||||
echo "Checking to see if a certificate with this alias exists to replace.....[$userAlias]!"
|
||||
keytool -delete -alias $userAlias -keystore $securityDir/$truststore
|
||||
# add the cert to the truststore
|
||||
keytool -import -trustcacerts -file $keyfile -alias $userAlias -keystore $securityDir/$truststore
|
||||
|
||||
}
|
||||
|
||||
function deleteKey() {
|
||||
echo "Deleting $keyfile from trust store..."
|
||||
|
||||
userAlias=
|
||||
while [ -z $userAlias ];
|
||||
do
|
||||
echo -n "Enter alias for [$keyfile]: "
|
||||
read userAlias
|
||||
if [ -z $userAlias ];
|
||||
then
|
||||
echo "Alias cannot be empty!"
|
||||
fi
|
||||
done
|
||||
keytool -delete -alias $userAlias -keystore $securityDir/$truststore
|
||||
|
||||
}
|
||||
|
||||
# This is the beginning of the scripts main line execution.
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "No arguments supplied"
|
||||
usage
|
||||
exit 0
|
||||
elif [ "$1" = "-g" ]
|
||||
then
|
||||
if [ $# -lt 3 ]; then
|
||||
echo "No dodcert or key supplied"
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
||||
dodcert=$2
|
||||
dodkey=$3
|
||||
|
||||
if [ ! -f $2 ]; then
|
||||
echo "Cannot find dodcert $dodcert"
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
if [ ! -f $3 ]; then
|
||||
echo "Cannot find dodkey $dodkey"
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
generateKeystores
|
||||
exit 0
|
||||
elif [ "$1" = "-a" ]
|
||||
then
|
||||
if [ $# -lt 2 ]
|
||||
then
|
||||
echo "No key file supplied"
|
||||
usage
|
||||
elif [ ! -e $securityDir/$truststore ]
|
||||
then
|
||||
echo "Trust store [$securityDir/$truststore] does not exist!"
|
||||
else
|
||||
keyfile=$2
|
||||
addKey
|
||||
fi
|
||||
exit 0
|
||||
elif [ "$1" = "-d" ]
|
||||
then
|
||||
if [ $# -lt 2 ]
|
||||
then
|
||||
echo "No key file supplied"
|
||||
usage
|
||||
elif [ ! -e $securityDir/$truststore ]
|
||||
then
|
||||
echo "Trust store [$securityDir/$truststore] does not exist!"
|
||||
else
|
||||
keyfile=$2
|
||||
deleteKey
|
||||
fi
|
||||
exit 0
|
||||
elif [ "$1" = "-usage" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]
|
||||
then
|
||||
usage
|
||||
exit 0
|
||||
fi
|
|
@ -0,0 +1,4 @@
|
|||
RegistryRealm {
|
||||
com.raytheon.uf.edex.registry.ebxml.web.security.RegistryLoginModule required
|
||||
debug="false";
|
||||
};
|
99
build/deploy.edex.awips2/esb/conf/spring/edex-db.xml
Normal file
99
build/deploy.edex.awips2/esb/conf/spring/edex-db.xml
Normal file
|
@ -0,0 +1,99 @@
|
|||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd
|
||||
http://www.springframework.org/schema/util
|
||||
http://www.springframework.org/schema/util/spring-util.xsd
|
||||
http://www.springframework.org/schema/tx
|
||||
http://www.springframework.org/schema/tx/spring-tx.xsd">
|
||||
|
||||
<tx:annotation-driven transaction-manager="metadataTxManager"
|
||||
proxy-target-class="true" />
|
||||
|
||||
<!-- The db class finder will search the plugin dir for classes with @Entity or @Embeddable -->
|
||||
<bean id="dbClassFinder" class="com.raytheon.uf.edex.database.DatabaseClassAnnotationFinder" />
|
||||
|
||||
<bean id="metadataDbSessionConfig"
|
||||
class="com.raytheon.uf.edex.database.DatabaseSessionConfiguration">
|
||||
<property name="classFinder" ref="dbClassFinder" />
|
||||
<property name="excludes">
|
||||
<list>
|
||||
<value>com.raytheon.uf.common.dataplugin.text</value>
|
||||
<value>com.raytheon.uf.common.dataplugin.text.subscription</value>
|
||||
<value>com.raytheon.uf.common.dataplugin.shef</value>
|
||||
<value>com.raytheon.edex.plugin.shef</value>
|
||||
<value>com.raytheon.uf.common.bmh</value>
|
||||
<value>com.raytheon.uf.common.plugin.hpe.data</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="metadataSessionFactory"
|
||||
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
||||
<property name="configLocation">
|
||||
<value>file:///${edex.home}/conf/db/hibernateConfig/metadata/hibernate.cfg.xml
|
||||
</value>
|
||||
</property>
|
||||
<!-- >property name="dataSource"><ref bean="datasourceMetadata"/></property -->
|
||||
<property name="databaseSessionConfiguration" ref="metadataDbSessionConfig" />
|
||||
</bean>
|
||||
|
||||
<bean id="metadataTxManager"
|
||||
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="metadataSessionFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="metadataTxTemplate" class="org.springframework.transaction.support.TransactionTemplate">
|
||||
<property name="transactionManager" ref="metadataTxManager"/>
|
||||
</bean>
|
||||
|
||||
<bean id="admin_metadataSessionFactory"
|
||||
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
||||
<property name="configLocation">
|
||||
<value>file:///${edex.home}/conf/db/hibernateConfig/metadata/hibernate.admin.cfg.xml</value>
|
||||
</property>
|
||||
<property name="databaseSessionConfiguration" ref="metadataDbSessionConfig" />
|
||||
</bean>
|
||||
|
||||
<bean id="admin_metadataTxManager"
|
||||
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="admin_metadataSessionFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="admin_metadataTxTemplate" class="org.springframework.transaction.support.TransactionTemplate">
|
||||
<property name="transactionManager" ref="admin_metadataTxManager"/>
|
||||
</bean>
|
||||
|
||||
<bean id="mapsSessionFactory"
|
||||
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
||||
<!-- no annotations to load, so no databaseSessionConfig -->
|
||||
<property name="configLocation">
|
||||
<value>file:///${edex.home}/conf/db/hibernateConfig/maps/hibernate.cfg.xml
|
||||
</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="mapsTxManager"
|
||||
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="mapsSessionFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="admin_mapsSessionFactory"
|
||||
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
||||
<!-- no annotations to load, so no databaseSessionConfig -->
|
||||
<property name="configLocation">
|
||||
<value>file:///${edex.home}/conf/db/hibernateConfig/maps/hibernate.admin.cfg.xml
|
||||
</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="admin_mapsTxManager"
|
||||
class="org.springframework.orm.hibernate4.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="admin_mapsSessionFactory" />
|
||||
</bean>
|
||||
</beans>
|
428
build/deploy.edex.awips2/esb/conf/spring/edex.xml
Normal file
428
build/deploy.edex.awips2/esb/conf/spring/edex.xml
Normal file
|
@ -0,0 +1,428 @@
|
|||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://camel.apache.org/schema/spring
|
||||
http://camel.apache.org/schema/spring/camel-spring.xsd
|
||||
http://www.springframework.org/schema/util
|
||||
http://www.springframework.org/schema/util/spring-util.xsd">
|
||||
|
||||
<!-- Separated out database specific beans to separate file so they can be loaded by themselves if necessary -->
|
||||
<import resource="file:///${edex.home}/conf/spring/edex-db.xml"/>
|
||||
|
||||
<!-- MaxPrefetch set at 0, due to DataPool routers getting messages backed up behind long running tasks -->
|
||||
<bean id="amqConnectionURL" class="com.raytheon.uf.common.jms.AMQConnectionURLBean">
|
||||
<constructor-arg value="amqp://guest:guest@/${JMS_VIRTUALHOST}" />
|
||||
<property name="brokerDetails">
|
||||
<bean class="org.apache.qpid.client.AMQBrokerDetails">
|
||||
<constructor-arg value="${JMS_SERVER}" />
|
||||
<property name="properties">
|
||||
<map>
|
||||
<entry key="retries" value="9999" />
|
||||
<entry key="heartbeat" value="0" />
|
||||
<entry key="connecttimeout" value="5000" />
|
||||
<entry key="connectdelay" value="5000" />
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="options">
|
||||
<map>
|
||||
<entry key="maxprefetch" value="0" />
|
||||
<entry key="sync_publish" value="all" />
|
||||
<entry key="sync_ack" value="true" />
|
||||
<entry key="ssl" value="${JMS_SSL_ENABLED}" />
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="secureAmqConnectionURL" class="com.raytheon.uf.common.jms.JmsSslConfiguration" factory-method="configureURL">
|
||||
<constructor-arg ref="amqConnectionURL" />
|
||||
</bean>
|
||||
|
||||
<!-- specify the connection to the broker (qpid) -->
|
||||
<bean id="amqConnectionFactory" class="org.apache.qpid.client.AMQConnectionFactory">
|
||||
<constructor-arg ref="secureAmqConnectionURL"/>
|
||||
</bean>
|
||||
|
||||
<bean id="jmsPooledConnectionFactory" class="com.raytheon.uf.common.jms.JmsPooledConnectionFactory">
|
||||
<constructor-arg ref="amqConnectionFactory"/>
|
||||
<property name="provider" value="QPID"/>
|
||||
<property name="reconnectInterval" value="5000"/>
|
||||
<!-- After resource has been closed by thread keep it allocated for another 2 minutes in case thread needs it again -->
|
||||
<property name="resourceRetention" value="120000"/>
|
||||
</bean>
|
||||
|
||||
<bean id="genericThreadPool"
|
||||
class="com.raytheon.uf.edex.esb.camel.spring.JmsThreadPoolTaskExecutor">
|
||||
<property name="corePoolSize" value="0" />
|
||||
<property name="maxPoolSize" value="1" />
|
||||
<property name="queueCapacity" value="0" />
|
||||
</bean>
|
||||
|
||||
<bean id="jms-generic" class="com.raytheon.uf.edex.esb.camel.jms.DedicatedThreadJmsComponent">
|
||||
<constructor-arg ref="jmsGenericConfig" />
|
||||
<property name="taskExecutor" ref="genericThreadPool" />
|
||||
</bean>
|
||||
|
||||
<bean id="jms-durable" class="com.raytheon.uf.edex.esb.camel.jms.DedicatedThreadJmsComponent">
|
||||
<constructor-arg ref="jmsDurableConfig" />
|
||||
<property name="taskExecutor" ref="genericThreadPool" />
|
||||
</bean>
|
||||
|
||||
<bean id="jmsGenericConfig" class="org.apache.camel.component.jms.JmsConfiguration"
|
||||
factory-bean="jmsConfig" factory-method="copy"/>
|
||||
|
||||
<bean id="jmsDurableConfig" class="org.apache.camel.component.jms.JmsConfiguration"
|
||||
factory-bean="jmsConfig" factory-method="copy">
|
||||
<property name="destinationResolver" ref="qpidDurableResolver" />
|
||||
<property name="deliveryPersistent" value="true"/>
|
||||
</bean>
|
||||
|
||||
<bean id="qpidNoDurableResolver" class="com.raytheon.uf.edex.esb.camel.spring.QpidDestinationNameResolver">
|
||||
<property name="queueNamePrefix" value="direct://amq.direct/"/>
|
||||
<property name="queueNamePostfix" value="?durable='false'"/>
|
||||
</bean>
|
||||
|
||||
<bean id="qpidDurableResolver" class="com.raytheon.uf.edex.esb.camel.spring.QpidDestinationNameResolver">
|
||||
<property name="queueNamePrefix" value="direct://amq.direct/"/>
|
||||
<property name="queueNamePostfix" value="?durable='true'"/>
|
||||
</bean>
|
||||
|
||||
<bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration">
|
||||
<property name="cacheLevelName" value="CACHE_NONE"/>
|
||||
<property name="recoveryInterval" value="10000"/>
|
||||
<property name="requestTimeout" value="5000"/>
|
||||
<!-- If this is false, while stopping we will reject messages that have already been pulled from qpid, essentially losing the message -->
|
||||
<property name="acceptMessagesWhileStopping" value="true"/>
|
||||
|
||||
<!-- receiveTimeout is amount of time thread waits to receive a message before recycling -->
|
||||
<!-- receiveTimeout also affects how fast a JMSConsumer will shut down, because the
|
||||
thread may be stuck polling for the duration of receiveTimeout before shutting down -->
|
||||
<property name="receiveTimeout" value="5000"/>
|
||||
<property name="transacted" value="false"/>
|
||||
|
||||
<!-- force maxMessagesPerTask so that the threads don't keep disconnecting and reconnecting.
|
||||
This will keep a data-type attached to the initial thread it starts on -->
|
||||
<property name="maxMessagesPerTask" value="-1"/>
|
||||
<property name="listenerConnectionFactory" ref="jmsPooledConnectionFactory" />
|
||||
<property name="templateConnectionFactory" ref="jmsPooledConnectionFactory" />
|
||||
<property name="destinationResolver" ref="qpidNoDurableResolver" />
|
||||
<property name="disableReplyTo" value="true" />
|
||||
<property name="deliveryPersistent" value="false"/>
|
||||
|
||||
<!--
|
||||
<property name="transacted" value="true" />
|
||||
<property name="acknowledgementModeName" value="TRANSACTED"/>
|
||||
<property name="transactionManager" ref="jmsReceiveTransactionManager" />
|
||||
-->
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
<bean id="jmsReceiveTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
|
||||
<property name="connectionFactory" ref="amqConnectionFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="PROPAGATION_REQUIRED" class="org.apache.camel.spring.spi.SpringTransactionPolicy">
|
||||
<property name="transactionManager" ref="jmsReceiveTransactionManager" />
|
||||
<property name="propagationBehaviorName" value="PROPAGATION_REQUIRED"/>
|
||||
</bean>
|
||||
-->
|
||||
|
||||
|
||||
<bean id="appInfo" class="com.raytheon.uf.common.util.app.AppInfo" factory-method="initialize">
|
||||
<constructor-arg value="EDEX"/>
|
||||
<constructor-arg value="${EDEX_VERSION}"/>
|
||||
<constructor-arg value="${edex.run.mode}"/>
|
||||
</bean>
|
||||
|
||||
<bean id="httpClientConfigBuilder" class="com.raytheon.uf.common.comm.HttpClientConfigBuilder">
|
||||
<property name="maxConnections" value="${PYPIES_MAX_CONN}"/>
|
||||
<!-- value in milliseconds to allow socket to timeout, don't allow this to be zero, bad things could happen -->
|
||||
<property name="socketTimeout" value="180000"/>
|
||||
</bean>
|
||||
|
||||
<bean id="httpClientConfig" factory-bean="httpClientConfigBuilder" factory-method="build"/>
|
||||
|
||||
<bean id="httpClient" class="com.raytheon.uf.common.comm.HttpClient" factory-method="configureGlobalInstance" depends-on="appInfo">
|
||||
<constructor-arg ref="httpClientConfig"/>
|
||||
</bean>
|
||||
|
||||
<bean id="pypiesStoreProps" class="com.raytheon.uf.common.pypies.PypiesProperties">
|
||||
<property name="address" value="${PYPIES_SERVER}" />
|
||||
</bean>
|
||||
<bean id="pypiesDataStoreFactory" class="com.raytheon.uf.common.pypies.PyPiesDataStoreFactory" depends-on="httpClient">
|
||||
<constructor-arg ref="pypiesStoreProps" />
|
||||
</bean>
|
||||
|
||||
<bean id="dataStoreFactory" class="com.raytheon.uf.common.datastorage.DataStoreFactory" factory-method="getInstance">
|
||||
<!-- Get instance of DataStoreFactory and set underlying factory to use -->
|
||||
<property name="underlyingFactory" ref="pypiesDataStoreFactory"/>
|
||||
</bean>
|
||||
|
||||
<bean id="initialcorePropertyConfigurer"
|
||||
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||
<property name="systemPropertiesModeName">
|
||||
<value>SYSTEM_PROPERTIES_MODE_OVERRIDE</value>
|
||||
</property>
|
||||
<property name="searchSystemEnvironment">
|
||||
<value type="boolean">true</value>
|
||||
</property>
|
||||
<property name="ignoreUnresolvablePlaceholders" value="true">
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="fileToString" class="com.raytheon.uf.edex.esb.camel.FileToString"/>
|
||||
<bean id="processUtil" class="com.raytheon.uf.edex.esb.camel.ProcessUtil"/>
|
||||
<bean id="setIngestHeaderFields" class="com.raytheon.uf.edex.esb.camel.SetIngestHeaderFields"/>
|
||||
<bean id="messageProducer" class="com.raytheon.uf.edex.esb.camel.MessageProducer" />
|
||||
<bean id="camelContextAdmin" class="com.raytheon.uf.edex.esb.camel.CamelContextAdmin" />
|
||||
|
||||
<!-- ContextManager to manage dependencies so routes startup in right order.
|
||||
Clustered routes will start on a box if there has not been a lock for that route in the last 60 seconds.
|
||||
Anyone using the clustered routes should ensure that timeToLive on jms messages are at least 1 minute-->
|
||||
<bean id="contextManager"
|
||||
class="com.raytheon.uf.edex.esb.camel.context.ContextManager"
|
||||
factory-method="getInstance">
|
||||
<property name="timeOutMillis" value="60000"/>
|
||||
</bean>
|
||||
|
||||
<bean id="util" class="com.raytheon.uf.edex.core.EDEXUtil">
|
||||
<property name="messageProducer" ref="messageProducer" />
|
||||
<property name="contextAdmin" ref="camelContextAdmin" />
|
||||
</bean>
|
||||
|
||||
<bean id="defaultPathProvider" class="com.raytheon.uf.common.dataplugin.persist.DefaultPathProvider"/>
|
||||
|
||||
<bean id="commonDbPluginProperties" class="com.raytheon.uf.edex.database.DatabasePluginProperties">
|
||||
<property name="pluginFQN" value="com.raytheon.uf.edex.database" />
|
||||
<property name="database" value="metadata" />
|
||||
<property name="forceCheck" value="true" />
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
The DatabasePluginRegistry is used to create tables in
|
||||
a database beyond the auto-detected table for each dataplugin.
|
||||
|
||||
It needs to depend on a few transaction managers and util because some
|
||||
EDEX code uses EdexUtil to get a database session factory. The
|
||||
database session factory should not be used before the corresponding
|
||||
database transaction manager is initialized, but we cannot explicitly
|
||||
make a session factory depend on its transaction manager as that would
|
||||
cause a circular dependency. Long story short, the depends-on here
|
||||
ensures the metadata and maps database session factories cannot be
|
||||
used before their transaction managers are ready.
|
||||
-->
|
||||
<bean
|
||||
id="dbPluginRegistry"
|
||||
class="com.raytheon.uf.edex.database.DatabasePluginRegistry"
|
||||
factory-method="getInstance"
|
||||
init-method="init"
|
||||
depends-on="metadataTxManager,admin_metadataTxManager,mapsTxManager,admin_mapsTxManager,util">
|
||||
<property name="initialListeners">
|
||||
<list>
|
||||
<!-- This causes database tables to be initialized when a db plugin is registered -->
|
||||
<bean class="com.raytheon.uf.edex.database.plugin.SchemaManager" factory-method="getInstance"/>
|
||||
</list>
|
||||
</property>
|
||||
<property name="initialProperties">
|
||||
<list>
|
||||
<!-- Creates the initial tables so other plugins can be loaded -->
|
||||
<ref bean="commonDbPluginProperties"/>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- The pluginDefaults are the values that a data plugin will use for
|
||||
some plugin properties if they are not specified in the individual
|
||||
plugin's Spring XML configuration -->
|
||||
<bean id="pluginDefaults" class="com.raytheon.uf.common.dataplugin.PluginProperties">
|
||||
<property name="database" value="metadata" />
|
||||
<property name="initializer" value="com.raytheon.edex.plugin.DefaultPluginInitializer" />
|
||||
<property name="dao" value="com.raytheon.edex.db.dao.DefaultPluginDao" />
|
||||
<property name="initialRetentionTime" value="24" />
|
||||
<property name="pathProvider" ref="defaultPathProvider"/>
|
||||
</bean>
|
||||
|
||||
<bean
|
||||
id="pluginRegistry"
|
||||
class="com.raytheon.uf.edex.core.dataplugin.PluginRegistry"
|
||||
factory-method="getInstance"
|
||||
depends-on="util, dataStoreFactory">
|
||||
<property name="defaultPluginProperties" ref="pluginDefaults"/>
|
||||
<property name="initialListeners">
|
||||
<list>
|
||||
<!-- This causes the data plugin's database tables to be created when a plugin is registered -->
|
||||
<ref bean="dbPluginRegistry"/>
|
||||
<!-- This causes the data plugin's initializer to get called when a plugin is registered -->
|
||||
<bean class="com.raytheon.edex.plugin.PluginInitialSetup"/>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="stringToFile" class="com.raytheon.uf.edex.esb.camel.StringToFile"/>
|
||||
<bean id="dataUnzipper" class="com.raytheon.uf.common.util.DataUnzipper"/>
|
||||
|
||||
<bean id="errorHandler" class="org.apache.camel.builder.LoggingErrorHandlerBuilder"/>
|
||||
|
||||
<!-- sets default settings of log component across all of edex -->
|
||||
<!-- if log component beans are created and the exchangeFormatter property is set, they can't process URI parameters -->
|
||||
<!-- this bean needs to be named 'logFormatter' for the log component to find it in the context -->
|
||||
<bean id="logFormatter" class="org.apache.camel.processor.DefaultExchangeFormatter" scope="prototype">
|
||||
<property name="maxChars" value="0" />
|
||||
<property name="showBody" value="false" />
|
||||
<property name="showCaughtException" value="true" />
|
||||
<property name="showStackTrace" value="true" />
|
||||
</bean>
|
||||
|
||||
<bean id="serializationUtil" class="com.raytheon.uf.common.serialization.SerializationUtil" />
|
||||
|
||||
<bean id="CamelBeanParameterMappingStrategy"
|
||||
class="com.raytheon.uf.edex.esb.camel.EDEXParameterMappingStrategy" />
|
||||
|
||||
<!-- Serialization Pool -->
|
||||
<bean id="baosPool" class="com.raytheon.uf.common.util.ByteArrayOutputStreamPool" factory-method="getInstance">
|
||||
<property name="maxPoolSize" value="${SERIALIZE_POOL_MAX_SIZE}"/>
|
||||
<property name="initStreamSize" value="${SERIALIZE_STREAM_INIT_SIZE_MB}"/>
|
||||
<property name="maxStreamSize" value="${SERIALIZE_STREAM_MAX_SIZE_MB}"/>
|
||||
</bean>
|
||||
|
||||
<bean id="edexLocalizationObserver" class="com.raytheon.edex.utility.EDEXLocalizationNotificationObserver" factory-method="getInstance"/>
|
||||
|
||||
<bean id="clusterLockManager" class="com.raytheon.uf.edex.database.cluster.lock.EdexClusterDbLockMgr"
|
||||
depends-on="metadataTxManager">
|
||||
<constructor-arg ref="appInfo" />
|
||||
<constructor-arg value="metadata" />
|
||||
<constructor-arg value="100" />
|
||||
<constructor-arg value="30000" />
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
** Lets deploy some Enterprise Integration Patterns inside Camel
|
||||
** For more details see
|
||||
**
|
||||
** http://camel.apache.org/enterprise-integration-patterns.html
|
||||
-->
|
||||
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
||||
|
||||
<!-- Route for edex to listen for utility updates -->
|
||||
<route id="edexUtilityNotify">
|
||||
<from uri="jms-generic:topic:edex.alerts.utility" />
|
||||
<bean ref="edexLocalizationObserver" method="fileUpdated"/>
|
||||
</route>
|
||||
|
||||
<!-- Route to send alerts to alertviz -->
|
||||
<route id="alertVizNotify">
|
||||
<from uri="vm:edex.alertVizNotification" />
|
||||
<bean ref="serializationUtil" method="transformToThrift" />
|
||||
<to uri="jms-generic:topic:edex.alerts.msg" />
|
||||
</route>
|
||||
|
||||
<!-- Route to send text products to alarm/alert -->
|
||||
<route id="alarmAlertNotify">
|
||||
<from uri="vm:edex.alarmAlertNotification" />
|
||||
<bean ref="serializationUtil" method="transformToThrift" />
|
||||
<to uri="jms-generic:topic:edex.alarms.msg" />
|
||||
</route>
|
||||
|
||||
<!-- Route to periodically close any unused jms resources that have been pooled -->
|
||||
<route id="jmsPooledResourceChecker">
|
||||
<from uri="timer://jmsPooledResourceCheck?period=60s" />
|
||||
<doTry>
|
||||
<bean ref="jmsPooledConnectionFactory" method="checkPooledResources"/>
|
||||
<doCatch>
|
||||
<exception>java.lang.Throwable</exception>
|
||||
<to uri="log:jmsPooledResourceCheck?level=ERROR"/>
|
||||
</doCatch>
|
||||
</doTry>
|
||||
</route>
|
||||
</camelContext>
|
||||
<camelContext
|
||||
id="clusteredCamel"
|
||||
xmlns="http://camel.apache.org/schema/spring"
|
||||
errorHandlerRef="errorHandler">
|
||||
<route id="monitorClusteredContexts">
|
||||
<from uri="timer://monitorClusterContexts?fixedRate=true&period=20000"/>
|
||||
<doTry>
|
||||
<bean ref="contextManager" method="checkClusteredContexts" />
|
||||
<doCatch>
|
||||
<exception>java.lang.Throwable</exception>
|
||||
<to uri="log:monitorClusteredContexts?level=ERROR"/>
|
||||
</doCatch>
|
||||
</doTry>
|
||||
</route>
|
||||
</camelContext>
|
||||
|
||||
<!-- Redirect geotools log -->
|
||||
<bean class="com.raytheon.uf.common.geospatial.LogRedirector" factory-method="setGeotoolsLogFactory">
|
||||
<constructor-arg value="org.geotools.util.logging.Log4JLoggerFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="spatialQueryFactory" class="com.raytheon.uf.common.geospatial.SpatialQueryFactory"
|
||||
factory-method="setImplementation">
|
||||
<constructor-arg value="com.raytheon.edex.common.SpatialDbQuery"/>
|
||||
</bean>
|
||||
|
||||
<!-- Holds the registry of IServerRequest classnames to IRequestHandlers -->
|
||||
<bean id="handlerRegistry" class="com.raytheon.uf.edex.requestsrv.HandlerRegistry"
|
||||
factory-method="getInstance" />
|
||||
|
||||
<!-- Auto detect entries for the handlerRegistry -->
|
||||
<bean class="com.raytheon.uf.edex.requestsrv.RequestHandlerAutoDetector">
|
||||
<constructor-arg ref="handlerRegistry" />
|
||||
</bean>
|
||||
|
||||
|
||||
<!-- Holds the registry of request routers by server key -->
|
||||
<bean id="requestRouterRegistry"
|
||||
class="com.raytheon.uf.common.serialization.comm.RequestRouter"
|
||||
factory-method="getRouterRegistry" />
|
||||
|
||||
<!-- Server Request routers -->
|
||||
<bean id="serverPrivilegedRequestHandler"
|
||||
class="com.raytheon.uf.edex.requestsrv.request.ServerPrivilegedRequestHandler">
|
||||
<constructor-arg ref="handlerRegistry" />
|
||||
</bean>
|
||||
|
||||
<bean factory-bean="handlerRegistry" factory-method="register">
|
||||
<constructor-arg
|
||||
value="com.raytheon.uf.edex.requestsrv.request.ServerPrivilegedRequestHandler.ServerPrivilegedRequest" />
|
||||
<constructor-arg ref="serverPrivilegedRequestHandler" />
|
||||
</bean>
|
||||
|
||||
<util:constant id="requestServerKey"
|
||||
static-field="com.raytheon.uf.common.auth.RequestConstants.REQUEST_SERVER" />
|
||||
|
||||
<bean id="requestServiceRouter" class="com.raytheon.uf.edex.requestsrv.router.ServerRequestRouter">
|
||||
<!-- This bean will cause all RequestRouter.route(request) calls
|
||||
to be processed internally to EDEX -->
|
||||
</bean>
|
||||
|
||||
<bean id="registerRequestServiceRouter" factory-bean="requestRouterRegistry"
|
||||
factory-method="register">
|
||||
<constructor-arg ref="requestServerKey" />
|
||||
<constructor-arg ref="requestServiceRouter" />
|
||||
</bean>
|
||||
|
||||
<!-- quartz component configuration.
|
||||
Single scheduler used by all endpoints so there is only one threadpool.
|
||||
Thread pool configured in edex/config/resources/quartz.properties.
|
||||
Requires work around in ContextManager.postProcessBeanFactory when JMX is disabled -->
|
||||
<bean id="quartzSchedulerFactory" class="org.quartz.impl.StdSchedulerFactory">
|
||||
<constructor-arg value="quartz.properties" />
|
||||
</bean>
|
||||
|
||||
<bean id="quartzScheduler" factory-bean="quartzSchedulerFactory"
|
||||
factory-method="getScheduler" />
|
||||
|
||||
<bean id="quartz" class="org.apache.camel.component.quartz.QuartzComponent">
|
||||
<property name="scheduler" ref="quartzScheduler" />
|
||||
</bean>
|
||||
|
||||
<bean id="clusteredquartz"
|
||||
class="com.raytheon.uf.edex.esb.camel.cluster.quartz.ClusteredQuartzComponent">
|
||||
<property name="scheduler" ref="quartzScheduler" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
264
build/deploy.edex.awips2/esb/conf/wrapper.conf
Normal file
264
build/deploy.edex.awips2/esb/conf/wrapper.conf
Normal file
|
@ -0,0 +1,264 @@
|
|||
#********************************************************************
|
||||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
# Wrapper Properties
|
||||
#********************************************************************
|
||||
|
||||
wrapper.debug=false
|
||||
wrapper.java.debug.port=${EDEX_DEBUG_PORT}
|
||||
set.default.EDEX_HOME=../..
|
||||
wrapper.working.dir=${EDEX_HOME}/bin
|
||||
# required due to java bug:
|
||||
# http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4388188
|
||||
# not sure if the yajsw developers have any intention of
|
||||
# implementing the work-around (solution?) stated in the
|
||||
# ticket.
|
||||
wrapper.fork_hack=true
|
||||
# at a minimum: prevents the printing of the "Invalid parameter" messages
|
||||
wrapper.console.pipestreams=true
|
||||
|
||||
# Java Application
|
||||
wrapper.java.command=${JAVA_HOME}/bin/java
|
||||
|
||||
# necessary for etc/init.d/edex_camel
|
||||
wrapper.pidfile=${EDEX_HOME}/bin/${EDEX_RUN_MODE}.pid
|
||||
|
||||
# use system java instead of awips2 java
|
||||
wrapper.app.env.use.system.java=${WRAPPER_USE_SYSTEM_JAVA}
|
||||
|
||||
# Java Classpath. Add class path elements as needed starting from 1.
|
||||
wrapper.java.classpath.1=${EDEX_HOME}/conf/
|
||||
wrapper.java.classpath.2=${EDEX_HOME}/conf/cache/
|
||||
wrapper.java.classpath.3=${EDEX_HOME}/conf/spring/
|
||||
wrapper.java.classpath.4=${EDEX_HOME}/conf/resources/
|
||||
|
||||
# include ANY jar files that are found in the locations denoted by
|
||||
# wrapper.search.java.classpath.#
|
||||
wrapper.search.java.classpath.1=${EDEX_HOME}/lib/dependencies
|
||||
wrapper.search.java.classpath.2=${EDEX_HOME}/lib/plugins
|
||||
|
||||
# set the umask for file/directory creation by the Java process
|
||||
wrapper.java.umask=0002
|
||||
|
||||
# Java Library Path
|
||||
wrapper.java.library.path.1=${LD_LIBRARY_PATH}
|
||||
# both the 32-bit and 64-bit paths are needed for 64-bit EDEX
|
||||
# presumably due to the 32-bit hydro libraries
|
||||
wrapper.java.library.path.2=${EDEX_HOME}/lib/native/linux32/
|
||||
wrapper.java.library.path.3=${EDEX_HOME}/lib/native/linux64/
|
||||
|
||||
# Java Additional Parameters
|
||||
# note that n is the parameter number starting from 1.
|
||||
wrapper.java.additional.1=-Dedex.run.mode=${EDEX_RUN_MODE}
|
||||
wrapper.java.additional.2=-Dedex.home=${EDEX_HOME}
|
||||
|
||||
# Use wrapper.jvm.parameter.order.# to specify the order
|
||||
# that the jvm parameters should be included in the command.
|
||||
# There cannot be duplicate numbered parameters otherwise
|
||||
# one will always take precedence over the other. Use
|
||||
# wrapper.jvm.parameter.order.LAST to specify a parameter
|
||||
# that should always be the last jvm parameter without
|
||||
# needing to specify the order of every individual jvm parameter.
|
||||
wrapper.jvm.parameter.order.1=-Dedex.run.mode
|
||||
# since it is used to determine whether a particular
|
||||
# instance of EDEX is running or not.
|
||||
wrapper.jvm.parameter.order.2=-Daw.site.identifier
|
||||
wrapper.jvm.parameter.order.LAST=-classpath
|
||||
|
||||
# disables JMX in Camel and speeds up EDEX startup and performance
|
||||
wrapper.java.additional.4=-Dorg.apache.camel.jmx.disabled=true
|
||||
|
||||
# Enforces GMT to be used as the timezone
|
||||
wrapper.java.additional.5=-Duser.timezone=GMT
|
||||
|
||||
# Set default tmp to awips controlled directory for security
|
||||
wrapper.java.additional.6=-Djava.io.tmpdir=${AWIPS2_TEMP}
|
||||
|
||||
# garbage collection settings
|
||||
wrapper.java.additional.gc.1=-XX:+UseConcMarkSweepGC
|
||||
wrapper.java.additional.gc.2=-XX:+HeapDumpOnOutOfMemoryError
|
||||
wrapper.java.additional.gc.3=-XX:HeapDumpPath=/data/fxa/cave/${SHORT_HOSTNAME}/
|
||||
wrapper.java.additional.gc.4=-XX:SoftRefLRUPolicyMSPerMB=${SOFT_REF_LRU_POLICY_MS_PER_MB}
|
||||
|
||||
wrapper.java.additional.stacktraces.1=-XX:-OmitStackTraceInFastThrow
|
||||
|
||||
# use qpid binding URL instead of default address string format
|
||||
wrapper.java.additional.qpid.1=-Dqpid.dest_syntax=BURL
|
||||
|
||||
# hibernate.cfg.xml cannot read from ENV variables but can read from Java system properties
|
||||
wrapper.java.additional.db.1=-Ddb.addr=${DB_HOST}
|
||||
wrapper.java.additional.db.2=-Ddb.port=${DB_PORT}
|
||||
wrapper.java.additional.db.3=-Ddc.db.name=${DC_DB_NAME}
|
||||
wrapper.java.additional.db.4=-Dfxa.db.name=${FXA_DB_NAME}
|
||||
wrapper.java.additional.db.5=-Dhm.db.name=${HM_DB_NAME}
|
||||
wrapper.java.additional.db.6=-Dih.db.name=${IH_DB_NAME}
|
||||
wrapper.java.additional.db.7=-Ddb.metadata.pool.max=${METADATA_POOL_MAX}
|
||||
wrapper.java.additional.db.8=-Ddb.metadata.pool.timeout=${METADATA_POOL_TIMEOUT}
|
||||
wrapper.java.additional.db.9=-Ddb.auth.dir=${EDEX_HOME}/conf/db/auth
|
||||
wrapper.java.additional.db.10=-Ddb.auth.sslmode=${DB_SSLMODE}
|
||||
wrapper.java.additional.db.11=-Dclimate.db.name=${CLIMATE_DB_NAME}
|
||||
|
||||
# site ID of EDEX for localization and site aware services
|
||||
wrapper.java.additional.site.1=-Daw.site.identifier=${AW_SITE_IDENTIFIER}
|
||||
|
||||
# the archive root directory, also where the edex/data/manual endpoint will place files
|
||||
wrapper.java.additional.archive.1=-Ddata.archive.root=${DATA_ARCHIVE_ROOT}
|
||||
|
||||
# determines which log config file to use
|
||||
wrapper.java.additional.log.1=-Dlogback.configurationFile=logback-${EDEX_RUN_MODE}.xml
|
||||
|
||||
# only allows warn and error status messages from logback's internal status logger
|
||||
# Note that setting the debug="true" flag on a logback configuration file will override this
|
||||
# and allow info/debug messages through.
|
||||
wrapper.java.additional.log.2=-Dlogback.statusListenerClass=com.raytheon.uf.common.logback.UFLogbackInternalStatusListener
|
||||
|
||||
# to keep c3p0 from filling up logs since they just had to not use a standard logging API
|
||||
wrapper.java.additional.log.3=-Dcom.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog
|
||||
wrapper.java.additional.log.4=-Dcom.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL=OFF
|
||||
|
||||
# to get java.util.logging to go into slf4j....don't use java.util.logging, this is only for open src plugins using it
|
||||
wrapper.java.additional.log.5=-Djava.util.logging.config.file=${EDEX_HOME}/conf/logging.properties
|
||||
|
||||
# the max size in MB of any stream sent to thrift, this prevents the OutOfMemory
|
||||
# errors reported by thrift sometimes when the stream is corrupt/incorrect
|
||||
wrapper.java.additional.thrift.maxStreamSize=-Dthrift.stream.maxsize=200
|
||||
|
||||
#wrapper.java.additional.retain.failed=-Dretain.failed.data=${RETAIN_FAILED}
|
||||
|
||||
# enables yourkit profiling, determined by flag to start.sh
|
||||
wrapper.java.additional.profile.1=${PROFILER_PARAM_1}
|
||||
|
||||
# sets the user preferences file to be unique to this JVM
|
||||
wrapper.java.additional.prefs.1=-Djava.util.prefs.userRoot=${HOME}/.java/${HOSTNAME}-${EDEX_RUN_MODE}.userPrefs
|
||||
|
||||
# Add option to override java.security settings if needed
|
||||
wrapper.java.additional.security.1=${JAVA_SECURITY_OPTION}
|
||||
|
||||
# Initial Java Heap Size (in MB)
|
||||
wrapper.java.initmemory=${INIT_MEM}
|
||||
|
||||
# Maximum Java Heap Size (in MB)
|
||||
wrapper.java.maxmemory=${MAX_MEM}
|
||||
|
||||
wrapper.java.app.mainclass=com.raytheon.uf.edex.esb.Main
|
||||
# Application parameters. Add parameters as needed starting from 2
|
||||
wrapper.app.parameter.2=start
|
||||
|
||||
wrapper.ping.timeout=30
|
||||
|
||||
# NOTE: script must be located at /awips2/yajsw/scripts for it to be found
|
||||
wrapper.script.ABORT=wrapperCapture.sh
|
||||
wrapper.script.ABORT.timeout=120
|
||||
wrapper.script.RESTART=wrapperCapture.sh
|
||||
wrapper.script.RESTART.timeout=120
|
||||
|
||||
# jvm will be hard killed after 5 minutes of trying to shutdown
|
||||
wrapper.jvm_exit.timeout=0
|
||||
wrapper.shutdown.timeout=300
|
||||
|
||||
#********************************************************************
|
||||
# Monitor the Application
|
||||
#********************************************************************
|
||||
wrapper.java.monitor.heap = true
|
||||
# warning messages will be logged; it is also possible to send an e-mail
|
||||
wrapper.java.monitor.heap.threshold.percent = 90
|
||||
|
||||
wrapper.java.monitor.deadlock = true
|
||||
# application will be restarted and a warning message will be logged
|
||||
wrapper.filter.trigger.deadlock=wrapper.java.monitor.deadlock: DEADLOCK IN THREADS:
|
||||
wrapper.filter.action.deadlock=${WRAPPER_DEADLOCK_ACTION}
|
||||
|
||||
# restart the application if it crashes
|
||||
wrapper.on_exit.default=${WRAPPER_ON_EXIT_ACTION}
|
||||
# restart the application if it runs out of memory
|
||||
wrapper.filter.trigger.oom=java.lang.OutOfMemoryError
|
||||
wrapper.filter.action.oom=${WRAPPER_TRIGGER_ACTION}
|
||||
|
||||
#********************************************************************
|
||||
# Wrapper Logging Properties
|
||||
#********************************************************************
|
||||
# Format of output for the console. (See docs for formats)
|
||||
wrapper.console.format=M
|
||||
|
||||
# Log Level for console output. (See docs for log levels)
|
||||
wrapper.console.loglevel=${CONSOLE_LOGLEVEL}
|
||||
|
||||
# Log file to use for wrapper output logging.
|
||||
wrapper.logfile=${EDEX_WRAPPER_LOGFILE}
|
||||
|
||||
# Format of output for the log file. (See docs for formats)
|
||||
wrapper.logfile.format=${EDEX_WRAPPER_LOGFILE_FORMAT}
|
||||
|
||||
# Log Level for log file output. (See docs for log levels)
|
||||
wrapper.logfile.loglevel=INFO
|
||||
|
||||
# Set the log rollover mode for the log.
|
||||
# DATE - creates a new file each day - file name must include YYYYMMDD.
|
||||
# SIZE - uses log size for log roll-over.
|
||||
wrapper.logfile.rollmode=DATE
|
||||
|
||||
# Maximum size that the log file will be allowed to grow to before
|
||||
# the log is rolled. Size is specified in bytes. The default value
|
||||
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
|
||||
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
|
||||
# Note: ignored for wrapper.logfile.rollmode=DATE
|
||||
wrapper.logfile.maxsize=1000m
|
||||
|
||||
# Maximum number of rolled log files which will be allowed before old
|
||||
# files are deleted. The default value of 0 implies no limit.
|
||||
wrapper.logfile.maxfiles=30
|
||||
|
||||
# Log Level for sys/event log output. (See docs for log levels)
|
||||
wrapper.syslog.loglevel=INFO
|
||||
|
||||
#********************************************************************
|
||||
# Wrapper Windows Properties
|
||||
#********************************************************************
|
||||
# Title to use when running as a console
|
||||
wrapper.console.title=EDEX ${EDEX_RUN_MODE}
|
||||
|
||||
#********************************************************************
|
||||
# Wrapper Windows NT/2000/XP Service Properties
|
||||
#********************************************************************
|
||||
# WARNING - Do not modify any of these properties when an application
|
||||
# using this configuration file has been installed as a service.
|
||||
# Please uninstall the service before modifying this section. The
|
||||
# service can then be reinstalled.
|
||||
|
||||
# Name of the service
|
||||
wrapper.ntservice.name=EDEX
|
||||
|
||||
# Display name of the service
|
||||
wrapper.ntservice.displayname=EDEX
|
||||
|
||||
# Description of the service
|
||||
wrapper.ntservice.description=EDEX ESB
|
||||
|
||||
# Service dependencies. Add dependencies as needed starting from 1
|
||||
wrapper.ntservice.dependency.1=
|
||||
|
||||
# Mode in which the service is installed. AUTO_START or DEMAND_START
|
||||
wrapper.ntservice.starttype=AUTO_START
|
||||
|
||||
# Allow the service to interact with the desktop.
|
||||
wrapper.ntservice.interactive=false
|
||||
|
||||
# Specify the location that temporary files should be written to
|
||||
wrapper.tmp.dir=${AWIPS2_TEMP}
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<coverageDescriptor><upperLeftX>-123.044</upperLeftX><upperLeftY>59.844</upperLeftY><upperRightX>-49.385</upperRightX><upperRightY>57.289</upperRightY><lowerRightX>-65.091</lowerRightX><lowerRightY>14.335</lowerRightY><lowerLeftX>-113.133</lowerLeftX><lowerLeftY>16.369</lowerLeftY><units>degrees</units><coordinateReferenceSystem>PROJCS["grid_grid 211",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563],
|
||||
TOWGS84[-999,-999,-999]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Lambert_Conformal_Conic_1SP"],
|
||||
PARAMETER["central_meridian", -95.0],
|
||||
PARAMETER["latitude_of_origin", 25.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</coordinateReferenceSystem></coverageDescriptor>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<coverageDescriptor><upperLeftX>-152.855</upperLeftX><upperLeftY>54.536</upperLeftY><upperRightX>-91.444</upperRightX><upperRightY>61.257</upperRightY><lowerRightX>-92.720</lowerRightX><lowerRightY>17.514</lowerRightY><lowerLeftX>-92.720</lowerLeftX><lowerLeftY>12.190</lowerLeftY><units>degrees</units><coordinateReferenceSystem>PROJCS["grid_grid 211",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563],
|
||||
TOWGS84[-999,-999,-999]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Lambert_Conformal_Conic_1SP"],
|
||||
PARAMETER["central_meridian", -95.0],
|
||||
PARAMETER["latitude_of_origin", 25.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</coordinateReferenceSystem></coverageDescriptor>
|
|
@ -0,0 +1,16 @@
|
|||
PROJCS["grid_grid 205",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Polar Stereographic (variant B)"],
|
||||
PARAMETER["central_meridian", -60.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
PARAMETER["Standard_Parallel_1", 90.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<coverageDescriptor><upperLeftX>36.257</upperLeftX><upperLeftY>-115.304</upperLeftY><upperRightX>45.620</upperRightX><upperRightY>-15</upperRightY><lowerRightX>3.389</lowerRightX><lowerRightY>-42.181</lowerRightY><lowerLeftX>.616</lowerLeftX><lowerLeftY>-84.904</lowerLeftY><units>degrees</units><coordinateReferenceSystem>PROJCS["grid_grid 205",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Polar Stereographic (variant B)"],
|
||||
PARAMETER["central_meridian", -60.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
PARAMETER["Standard_Parallel_1", 90.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</coordinateReferenceSystem></coverageDescriptor>
|
|
@ -0,0 +1,16 @@
|
|||
PROJCS["grid_grid 208",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Mercator_2SP"],
|
||||
PARAMETER["central_meridian", -156.59650000000002],
|
||||
PARAMETER["standard_parallel_1", 20.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<coverageDescriptor><upperLeftX>28.092</upperLeftX><upperLeftY>-167.315</upperLeftY><upperRightX>28.092</upperRightX><upperRightY>-145.878</upperRightY><lowerRightX>9.343</lowerRightX><lowerRightY>-145.878</lowerRightY><lowerLeftX>9.343</lowerLeftX><lowerLeftY>-167.315</lowerLeftY><units>degrees</units><coordinateReferenceSystem>PROJCS["grid_grid 208",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Mercator_2SP"],
|
||||
PARAMETER["central_meridian", -156.59650000000002],
|
||||
PARAMETER["standard_parallel_1", 20.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</coordinateReferenceSystem></coverageDescriptor>
|
|
@ -0,0 +1,18 @@
|
|||
PROJCS["grid_grid 211",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Lambert_Conformal_Conic_2SP"],
|
||||
PARAMETER["central_meridian", -95.0],
|
||||
PARAMETER["latitude_of_origin", 25.0],
|
||||
PARAMETER["standard_parallel_1", 25.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
PARAMETER["standard_parallel_2", 25.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<coverageDescriptor><upperLeftX>54.536</upperLeftX><upperLeftY>-152.856</upperLeftY><upperRightX>57.290</upperRightX><upperRightY>-49.385</upperRightY><lowerRightX>14.335</lowerRightX><lowerRightY>-65.091</lowerRightY><lowerLeftX>12.190</lowerLeftX><lowerLeftY>-133.459</lowerLeftY><units>degrees</units><coordinateReferenceSystem>PROJCS["grid_grid 211",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Lambert_Conformal_Conic_1SP"],
|
||||
PARAMETER["central_meridian", -95.0],
|
||||
PARAMETER["latitude_of_origin", 25.0],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</coordinateReferenceSystem></coverageDescriptor>
|
|
@ -0,0 +1,15 @@
|
|||
PROJCS["grid_grid 244",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Equirectangular"],
|
||||
PARAMETER["central_meridian", -63.76],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<coverageDescriptor><upperLeftX>-.25</upperLeftX><upperLeftY>-98.25</upperLeftY><upperRightX>-.25</upperRightX><upperRightY>-29.75</upperRightY><lowerRightX>50.250</lowerRightX><lowerRightY>-29.27</lowerRightY><lowerLeftX>50.250</lowerLeftX><lowerLeftY>-98.25</lowerLeftY><units>degrees</units><coordinateReferenceSystem>PROJCS["grid_grid 244",
|
||||
GEOGCS["WGS84",
|
||||
DATUM["WGS84",
|
||||
SPHEROID["WGS84", 6378137.0, 298.257223563]],
|
||||
PRIMEM["Greenwich", 0.0],
|
||||
UNIT["degree", 0.017453292519943295],
|
||||
AXIS["Geodetic longitude", EAST],
|
||||
AXIS["Geodetic latitude", NORTH]],
|
||||
PROJECTION["Equirectangular"],
|
||||
PARAMETER["central_meridian", -63.76],
|
||||
PARAMETER["false_easting", 0.0],
|
||||
PARAMETER["false_northing", 0.0],
|
||||
UNIT["m", 1.0],
|
||||
AXIS["Easting", EAST],
|
||||
AXIS["Northing", NORTH]]</coordinateReferenceSystem></coverageDescriptor>
|
BIN
build/deploy.edex.awips2/esb/data/static/spatial/radar/fsl-w88d.dbf
Executable file
BIN
build/deploy.edex.awips2/esb/data/static/spatial/radar/fsl-w88d.dbf
Executable file
Binary file not shown.
BIN
build/deploy.edex.awips2/esb/data/static/spatial/radar/fsl-w88d.shp
Executable file
BIN
build/deploy.edex.awips2/esb/data/static/spatial/radar/fsl-w88d.shp
Executable file
Binary file not shown.
BIN
build/deploy.edex.awips2/esb/data/static/spatial/radar/fsl-w88d.shx
Executable file
BIN
build/deploy.edex.awips2/esb/data/static/spatial/radar/fsl-w88d.shx
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<NcInventoryDefinition xmlns:ns2="com.raytheon.uf.common.datadelivery.registry" xmlns:ns3="http://www.example.org/productType">
|
||||
<inventoryName>FFG_TIR_HIRES</inventoryName>
|
||||
<inventoryParameters>pluginName,info.ensembleId,info.secondaryId,dataTime</inventoryParameters>
|
||||
<baseConstraints>
|
||||
<mapping key="info.datasetId">
|
||||
<constraint constraintValue="FFG-TIR" constraintType="EQUALS"/>
|
||||
</mapping>
|
||||
<mapping key="pluginName">
|
||||
<constraint constraintValue="grid" constraintType="EQUALS"/>
|
||||
</mapping>
|
||||
</baseConstraints>
|
||||
</NcInventoryDefinition>
|
|
@ -0,0 +1,75 @@
|
|||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
|
||||
#
|
||||
# Globally import and sets up instances of the scripts.
|
||||
# Designed to be used as a master controller for inspecting and running
|
||||
# python scripts from Java. Differs from base MasterInterface class because
|
||||
# it utilizes the rollback importer.
|
||||
#
|
||||
# This class should remain purely python. For Java interactions, extend this class.
|
||||
#
|
||||
#
|
||||
#
|
||||
# SOFTWARE HISTORY
|
||||
#
|
||||
# Date Ticket# Engineer Description
|
||||
# ------------ ---------- ----------- --------------------------
|
||||
# 01/17/13 dgilling Initial Creation.
|
||||
# 10/09/13 16614 njensen Fixed reloadModules()
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
import MasterInterface
|
||||
|
||||
class RollbackMasterInterface(MasterInterface.MasterInterface):
|
||||
|
||||
def __init__(self, scriptPath):
|
||||
super(RollbackMasterInterface, self).__init__()
|
||||
self._scriptPath = scriptPath
|
||||
|
||||
def importModules(self):
|
||||
super(RollbackMasterInterface, self).importModules(self._scriptPath)
|
||||
|
||||
def getStartupErrors(self):
|
||||
from java.util import ArrayList
|
||||
errorList = ArrayList()
|
||||
for err in self.getImportErrors():
|
||||
errorList.add(str(err))
|
||||
return errorList
|
||||
|
||||
def addModule(self, moduleName):
|
||||
super(RollbackMasterInterface, self).addModule(moduleName)
|
||||
self.reloadModules()
|
||||
|
||||
def reloadModule(self, moduleName):
|
||||
super(RollbackMasterInterface, self).reloadModule(moduleName)
|
||||
self.reloadModules()
|
||||
|
||||
def removeModule(self, moduleName):
|
||||
super(RollbackMasterInterface, self).removeModule(moduleName)
|
||||
self.reloadModules()
|
||||
|
||||
def reloadModules(self):
|
||||
for script in self.scripts:
|
||||
super(RollbackMasterInterface, self).reloadModule(script)
|
||||
|
||||
|
59
build/deploy.edex.awips2/esb/etc/default.sh
Normal file
59
build/deploy.edex.awips2/esb/etc/default.sh
Normal file
|
@ -0,0 +1,59 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
# This software was developed and / or modified by Raytheon Company,
|
||||
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
#
|
||||
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
# This software product contains export-restricted data whose
|
||||
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
# to non-U.S. persons whether in the United States or abroad requires
|
||||
# an export license or other authorization.
|
||||
#
|
||||
# Contractor Name: Raytheon Company
|
||||
# Contractor Address: 6825 Pine Street, Suite 340
|
||||
# Mail Stop B8
|
||||
# Omaha, NE 68106
|
||||
# 402.291.0100
|
||||
#
|
||||
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
# further licensing information.
|
||||
##
|
||||
|
||||
##
|
||||
# This is the default environment settings file for all EDEX modes. All
|
||||
# non-operational and/or development EDEX instances will only use this file.
|
||||
# All operational EDEX instances will utilize an instance-specific file
|
||||
# that will override some or all of the environment settings in this file.
|
||||
# In the case that a new operational EDEX mode does not need to override any
|
||||
# settings in this file, an instance-specific logback configuration file should
|
||||
# be created for the new operational instance at a minimum.
|
||||
##
|
||||
export INIT_MEM=512 # in Meg
|
||||
export MAX_MEM=1300 # in Meg
|
||||
|
||||
if [ $HIGH_MEM == "on" ]; then
|
||||
export MAX_MEM=2560
|
||||
fi
|
||||
|
||||
export EDEX_DEBUG_PORT=5005
|
||||
export METADATA_POOL_MAX=50
|
||||
export METADATA_POOL_TIMEOUT=300
|
||||
export DEBUG_PARAM_1=""
|
||||
export DEBUG_PARAM_2=""
|
||||
export DEBUG_PARAM_3=""
|
||||
export DEBUG_PARAM_4=""
|
||||
export PROFILER_PARAM_1=""
|
||||
export PROFILER_PARAM_2=""
|
||||
export PYPIES_MAX_CONN=50
|
||||
|
||||
|
||||
export SERIALIZE_POOL_MAX_SIZE=16
|
||||
export SERIALIZE_STREAM_INIT_SIZE_MB=2
|
||||
export SERIALIZE_STREAM_MAX_SIZE_MB=6
|
||||
|
||||
export WRAPPER_DEADLOCK_ACTION=RESTART
|
||||
export WRAPPER_ON_EXIT_ACTION=RESTART
|
||||
export WRAPPER_TRIGGER_ACTION=RESTART
|
||||
export WRAPPER_USE_SYSTEM_JAVA=false
|
||||
|
||||
export SOFT_REF_LRU_POLICY_MS_PER_MB=1000
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue