Initial commit
This commit is contained in:
commit
9b876b5319
20484 changed files with 4924749 additions and 0 deletions
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
|
||||
__pycache__
|
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>
|
113
build/deploy.edex.awips2/deploy/deploy-esb.xml
Normal file
113
build/deploy.edex.awips2/deploy/deploy-esb.xml
Normal file
|
@ -0,0 +1,113 @@
|
|||
<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"/>
|
||||
</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/">
|
||||
<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">
|
||||
<exclude name="**/site/**"/>
|
||||
<exclude name="**/auth/**"/>
|
||||
</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>
|
||||
|
||||
<path id="ant.contrib.path">
|
||||
<fileset dir="/awips2/ant/lib/">
|
||||
<include name="ant-contrib-*.jar" />
|
||||
</fileset>
|
||||
</path>
|
||||
<taskdef resource="net/sf/antcontrib/antlib.xml"
|
||||
classpathref="ant.contrib.path" />
|
||||
</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 &
|
79
build/deploy.edex.awips2/esb/bin/setup.env
Normal file
79
build/deploy.edex.awips2/esb/bin/setup.env
Normal file
|
@ -0,0 +1,79 @@
|
|||
### EDEX localization related variables ###
|
||||
export AW_SITE_IDENTIFIER=OAX
|
||||
## Cluster id can be set to the cluster's id (example:tbw for dv1-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 ignite
|
||||
export DATASTORE_PROVIDER=${DATASTORE_PROVIDER:-ignite}
|
||||
# Server that redirects PYPIES http requests to ignite
|
||||
export PYPIES_COMPATIBILITY_HOST=localhost
|
||||
export PYPIES_COMPATIBILITY_PORT=9586
|
||||
export PYPIES_COMPATIBILITY_SERVER=http://${PYPIES_COMPATIBILITY_HOST}:${PYPIES_COMPATIBILITY_PORT}
|
||||
# The following two values are comma-delimited lists of the machines that are
|
||||
# hosting each of the ignite cluster's servers (example: cache1,cache2,cache3
|
||||
# and cache4,cache5,cache6). Leaving the second value blank indicates that only
|
||||
# one cluster is being used. These values should be the same on all machines.
|
||||
export IGNITE_CLUSTER_1_SERVERS=localhost
|
||||
export IGNITE_CLUSTER_2_SERVERS=
|
||||
# The address that other ignite nodes should use to communicate with this ignite client
|
||||
export LOCAL_ADDRESS=127.0.0.1
|
||||
export IGNITE_SSL_CERT_DB=/awips2/edex/conf/ignite/auth
|
||||
|
||||
# setup hdf5 connection
|
||||
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=${BROKER_HOST}:${BROKER_PORT}
|
||||
export JMS_VIRTUALHOST=edex
|
||||
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
|
||||
|
||||
# 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
|
203
build/deploy.edex.awips2/esb/bin/start.sh
Normal file
203
build/deploy.edex.awips2/esb/bin/start.sh
Normal file
|
@ -0,0 +1,203 @@
|
|||
#!/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.
|
||||
##
|
||||
#
|
||||
# SOFTWARE HISTORY
|
||||
#
|
||||
# Date Ticket# Engineer Description
|
||||
# ------------- -------- --------- --------------------------------------------
|
||||
# Jul 03, 2019 7875 randerso Changed to get EDEX version from
|
||||
# awips2-version.rpm
|
||||
##
|
||||
# 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
|
||||
version=`rpm -q awips2-version --qf %{VERSION}`
|
||||
RC=$?
|
||||
if [ ${RC} -ne 0 ]; then
|
||||
version="Undefined"
|
||||
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/python3.6/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
|
||||
else
|
||||
export DATASTORE_PROVIDER=pypies
|
||||
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 -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,70 @@
|
|||
<?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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,70 @@
|
|||
<?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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849)-->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgisPG95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgisPG95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,87 @@
|
|||
<?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.PostgisPG95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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.coordinator_class">jdbc</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>
|
||||
|
||||
<!-- TODO: This is a band-aid that is necessary to start edex in
|
||||
registry mode as of Hibernate 5.2. JPA spec does not allow flushing
|
||||
updates outside of a transaction boundary. Figure out why we need
|
||||
this -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,90 @@
|
|||
<?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.PostgisPG95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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.coordinator_class">jdbc</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>
|
||||
|
||||
<!-- TODO: This is a band-aid that is necessary to start edex in
|
||||
registry mode as of Hibernate 5.2. JPA spec does not allow flushing
|
||||
updates outside of a transaction boundary. Figure out why we need
|
||||
this -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">10</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -0,0 +1,88 @@
|
|||
<?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.PostgreSQL95Dialect
|
||||
</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>
|
||||
|
||||
<!-- Use c3p0 connection pooling -->
|
||||
<property name="hibernate.connection.provider_class">com.raytheon.uf.edex.database.DatabaseC3P0ConnectionProvider</property>
|
||||
|
||||
<!-- c3p0 Connection Pool Properties -->
|
||||
<!-- Additional properties may be added to c3p0.properties -->
|
||||
<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.acquireRetryAttempts">0</property>
|
||||
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
|
||||
<property name="hibernate.c3p0.idle_test_period">60</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>
|
||||
|
||||
<!-- TODO: This is a band-aid to prevent edex errors with Hibernate 5.2.
|
||||
JPA spec does not allow flushing updates outside of a transaction
|
||||
boundary. Figure out why we need this (RODO #7849) -->
|
||||
<property name="hibernate.allow_update_outside_transaction">true</property>
|
||||
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
10
build/deploy.edex.awips2/esb/conf/ignite/auth/README
Normal file
10
build/deploy.edex.awips2/esb/conf/ignite/auth/README
Normal file
|
@ -0,0 +1,10 @@
|
|||
root.crt is the root CA certificate used to sign client and server certificates
|
||||
used with Ignite.
|
||||
|
||||
guest.crt and guest.key are the client certificate and private key.
|
||||
|
||||
passwords.properties contains the passwords for the keystore and truststore,
|
||||
this file is read by EDEX on startup.
|
||||
|
||||
The baseline versions of these files are for testing purposes only and NOT to
|
||||
be used in an operational environment!
|
28
build/deploy.edex.awips2/esb/conf/ignite/auth/guest.crt
Normal file
28
build/deploy.edex.awips2/esb/conf/ignite/auth/guest.crt
Normal file
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIE2zCCAsMCAhI0MA0GCSqGSIb3DQEBCwUAMDMxDjAMBgNVBAoMBUFXSVBTMRAw
|
||||
DgYDVQQLDAdUZXN0aW5nMQ8wDQYDVQQDDAZjYXJvb3QwHhcNMjAxMTEzMTU0ODUz
|
||||
WhcNMzAxMTExMTU0ODUzWjAzMQ4wDAYDVQQKDAVBV0lQUzEQMA4GA1UECwwHVGVz
|
||||
dGluZzEPMA0GA1UEAwwGY2xpZW50MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC
|
||||
CgKCAgEAuoEEn9bpvCC5Tf6QtTDSiSvdtQyQNv8LGpg8cdqpIITEclaC45KB2vtZ
|
||||
MaYECIs+uS57jzinaGB/5wW047Uf0KXXZApVArvs5WwXV8zNGCnF9KXZHnacz5XO
|
||||
UU4uzA40i5SI7YS74amH1dcXpAnJd+EKTH+zZ9sXvQOBP0ZqgRje3xaOHNjzDD0S
|
||||
V52mj4gLCmQSS16wnfR/uT1TjxN0IYMoJ99yDzs0ZZWqYtRK+3N++ek4PxszbZZZ
|
||||
PbQ0FS/UV2LzkBp3tFStc9cQDwTpYwa8NR4xQLOv4r8Xqz2rWFfKV5OFiiM6aJdq
|
||||
D4wgD9tM/jOzPfGRruMsVyjDspdim8DKxavw/OyvxBcfzER0iHqv31iAJ624f+23
|
||||
8iQ4FoUpU/VTqYfIIabjWrivmd62et18iCaoRBXYsA5Q0pFe18RxfNAquRlSHGP2
|
||||
1Lrx7kWMAlokRn7+2PpCA2Fx2TTlg4FeltHkqq8/HdEIXBAbsJvRpknP0bj9TQcU
|
||||
Zv2pvuE5V6pH/F7UPiDVDQ+HJDG4aIcpwy6glz0if/MyoSjSnkzlGWT3aWJLj3cE
|
||||
rsQGEQFYX7ACY9G/fv+VLR13rn0EpiEcqRsd57imW4HVS5cs3z80jXc6LZfNLxdQ
|
||||
ngg/JBw9zOx/GJLIsi+Ep+PH87IpTpqadDBnrtDTQLYGs8eRL3cCAwEAATANBgkq
|
||||
hkiG9w0BAQsFAAOCAgEAc9qdoHGgaVcYvc0Q7YfVryyHxDy9D4BEwk8Vq1jnwxF5
|
||||
lCiccnZO0vAYwt83V+aI4K9z8IWhdkCaZkMIrZGwkwiUCOlhHTg0xqiyS1QiGwK7
|
||||
bc6f5t7B/zn8QN0yVUfNsBgnTUSbrwsGd7QndzwIJqTUBrZ1Ir2J+O0lgTT5/x9w
|
||||
+JZEm4yudJeXBlVOGkg+DQNaSpCM2IGtk+Y1seuBamv2XMBpip02DfKm2MNr66we
|
||||
9zm/IWFUOgoFn2SgFvD8kqnrIT6DppA4+u1tsCo+rM6emRPCTe4SBq0653x4ZbwX
|
||||
JMoRWhC+D/GdyxVb7W52DyXyaziZNsaStqd/XNqpQG9FR7hZWwdZ/+fVG+2OlkWj
|
||||
ZqtvmZA5OoRDGesbNPP7VRv17uEEMbbiW0k4bjsYTjmVQDkMcdgLMooB6n/GMaXi
|
||||
M2obV6Gz43Ps383VgpMmucLNI+OV12e/mGq0Y4Gg9BD/U0JvyJ1jcxbyJnka+ON8
|
||||
2LELTnNukN7IHGA75FFvoW5FuPN9wwuaBWyh+MW9qXF7nMNOOWL6hxgzcFoQQwMZ
|
||||
bcXdXkMWnpkrxocoTPCykxi1KVZhmh+iaV0dwW0KIsblhKlj7JLn1EftHcNMsIbt
|
||||
ROUId4u/qdnKmCWYjIsSuqjRiMTBThn6LZQKgV60MVN2li8XoJ7ROsuo2MVB78Y=
|
||||
-----END CERTIFICATE-----
|
52
build/deploy.edex.awips2/esb/conf/ignite/auth/guest.key
Normal file
52
build/deploy.edex.awips2/esb/conf/ignite/auth/guest.key
Normal file
|
@ -0,0 +1,52 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQC6gQSf1um8ILlN
|
||||
/pC1MNKJK921DJA2/wsamDxx2qkghMRyVoLjkoHa+1kxpgQIiz65LnuPOKdoYH/n
|
||||
BbTjtR/QpddkClUCu+zlbBdXzM0YKcX0pdkedpzPlc5RTi7MDjSLlIjthLvhqYfV
|
||||
1xekCcl34QpMf7Nn2xe9A4E/RmqBGN7fFo4c2PMMPRJXnaaPiAsKZBJLXrCd9H+5
|
||||
PVOPE3Qhgygn33IPOzRllapi1Er7c3756Tg/GzNtllk9tDQVL9RXYvOQGne0VK1z
|
||||
1xAPBOljBrw1HjFAs6/ivxerPatYV8pXk4WKIzpol2oPjCAP20z+M7M98ZGu4yxX
|
||||
KMOyl2KbwMrFq/D87K/EFx/MRHSIeq/fWIAnrbh/7bfyJDgWhSlT9VOph8ghpuNa
|
||||
uK+Z3rZ63XyIJqhEFdiwDlDSkV7XxHF80Cq5GVIcY/bUuvHuRYwCWiRGfv7Y+kID
|
||||
YXHZNOWDgV6W0eSqrz8d0QhcEBuwm9GmSc/RuP1NBxRm/am+4TlXqkf8XtQ+INUN
|
||||
D4ckMbhohynDLqCXPSJ/8zKhKNKeTOUZZPdpYkuPdwSuxAYRAVhfsAJj0b9+/5Ut
|
||||
HXeufQSmIRypGx3nuKZbgdVLlyzfPzSNdzotl80vF1CeCD8kHD3M7H8YksiyL4Sn
|
||||
48fzsilOmpp0MGeu0NNAtgazx5EvdwIDAQABAoICAHk93i+6mn/+FfiqAJCJiJQ7
|
||||
vAkyfZ4C9sj3JnQtXb0SElLyAmzGlTwyIa2w6vZS7xebLB/TCKFF+l/Iyestl90f
|
||||
soIKZXE9kacjOZmOPdXzcgi0uAyhtxcLn/AjDzEAGxCSIuGlZC4y82cESQ4OfrY7
|
||||
yWIpsgtV1ny9howHzrzV2izUkNYYAwh1uzLR/bFZEzRSEcKFb/N/OnjFcUiVsO0I
|
||||
QlaJX7CfIFTZksZkk8obLvRvtGzx1eDr2F/Qgfsz+KpGXWfUjPTiB1BDAuGAo+gI
|
||||
PNmbIxGYvkJ9T3m2wWjQyW1dLXa7qADOTdiFk2I7gjXOjjs6iyZR8EVI7s9usl7I
|
||||
I8/Hkg3jcMV53v4/0j51qaDGx+54J//rN/CCnZ17uP6cWX8ftLC76rSTK+KzqRUA
|
||||
0GFnNbpaHMCMwADpYUJzNR8SB7PNJYJ7cauaJQInfYU5sv0tsiY2R70SxdBuRf3t
|
||||
uW9hzDsoI5agOZ2271plW95wczHBsadn9H5NfMaQmbHomPr5dQvBvmbEUaQI2wEe
|
||||
ugWqFV+A1abbv9EuWguox/yDZu93jYvxrelAuxjnaAPrbUgIAw+ER3kSX3a6NTco
|
||||
k+eaUuipmbQvwfIwrAlKDnRarEpn3jx82pUWPx1YWgVCKGaDJH0wrEiwZQqxaXaF
|
||||
fPVLlaLtru0rmEatXfKBAoIBAQD22qEU6aqovJGXG9JrQOzG/cErk1UTmXHUZNDY
|
||||
ZdO/AHLLw/hRYHlprNuGRTl8MT6wC8hmCcdQYTl2vQslSdYef6BrVmltQPJ9QxZI
|
||||
wgjQ9z/f4HXDDxd/CXmIHgcZOuIy1YU/boss3Xe/I2VFzHPxMe64EpNvo6TJcv1y
|
||||
4Wub23Ww0+VjQ4taYPx5c1JlLJh7gojXzi/CyI8XgaW9fT+gJLfOhkF4IufXFyjc
|
||||
yqRVsZ5FIG2qmUQ6kLJA4h4QvCbxZF2If94yON5o17k5+2Ss1DXulxOHLDQP9G7V
|
||||
7g8pXr0HpR6dUzhMeTd2LZnD+1AL6LdMqH2olTVUF7iVm2BHAoIBAQDBafp1tGQK
|
||||
5fLEP7odK6OJuserg8fn4nxUWzUiTLIxlSUBhJEqjn7e5tdGaP7HvAHttus18MyF
|
||||
fXTBor41VzNf3EN2W8Nfe5H34u5TUnUQNi0szD8ZoVRDKKeviWZ0E+1zy0FVuf43
|
||||
2wKnrlHz7qe3KB5dygRO25wFaZzen4l8gIzyolYVsQS+LBmbb1HePe0qeL3Dd50D
|
||||
7CZBlb6Y0BskhYLO4VXhF2aEilwdMHRe7Ni2CKlgW9rruGyS1zjUCz8lRSo/FF58
|
||||
oY/7B5tWZuXBtBEB5C7Um9vibGWC5+fiv1mPouhR1SJ2qSBpGRIlb5ZMbp1T+V3L
|
||||
ep7MySj49/9RAoIBAGUOGXVjNw7+qydOJ3TqzkOkLAk3tlNgtL27S9faz7VYbKZI
|
||||
IobF1M5TCkdMXX0e98e/+xjyldqtAoY+W6q3MGWp37UxWdV1ChAHf77nWA6buVVg
|
||||
ITVqHzdNXKhBiqxkc6dVy8es7GLAgz4HMnVBfpFV3KEUUbEZL+OcJG98Ir5aODLc
|
||||
fAKH6ytjmtfpQujSOdYOGREnglveGN4JoB0TghGAFpMAWRriR0DBZWQFvQKrxNwN
|
||||
q3d0aP8Er0RqjN5S+CpH6RZxKjgrGbmX3mcDKDKsaSu0QzVJ/kIt0ZXYb/KCqyXP
|
||||
Ddpf8CM2WGMTxef6IMnPSgKi01ZJRtyXHWR5iA8CggEBAKSdsakqnpdT/VqgrqQT
|
||||
Nz6LNVQ6dhNbhdw6QK/vvR5MRVHUZcVlwH+w03q+9FJFJxMOw4SGbVwUWiJQhDlb
|
||||
/YLSMqzzDwceYi8r+xH5tV7V7X8aW35R/Cio2oehlwymxUvvq6zt/3vEsK7MxD2s
|
||||
WxydTbMftKj1awaETBqCiH7p3ozINCKEJnhBio3roi9YX5ntZ/2MuZvUCv95Ft5z
|
||||
CRb9d0bjLLfGtd+K7zl8ux7r0Mql9prnsx07O1WDTn/TDqyHAJztljnXPHc4kzJn
|
||||
o5dIzczhTCZyfSRqg79157vqhqykx7yWfZ2m9sncp8ArCC4HW2pUbEs6ExxS/cdh
|
||||
M/ECggEBANEDWMkUaPrwgUiThAl3zj97k4gobIRZf6fp35LdZjhA3VAADGv/L4Yt
|
||||
zHNxtKOO9h6sMX61jD/7BJ1RPqahgMsxUcG/DabfIeu7NusunTIyuquN8AgwgUKS
|
||||
HZA98Lj8Ea/Xeac46OPWSbXLNaS6Vc47DbxqnTWjySSc16mLOxmls3NFB++sf0o8
|
||||
8jk2zMqTnaz2tlRe6PO4fwWIFhjtBPdkUCAZ/jUQ7Ym72JSAkaWrLIqJFhIjuhCb
|
||||
6na5HN0CGbwUEB12do6aQIQ7paV5gKn044lhI98T9M5+Rz7zXPLfAoLxCqVeCAyM
|
||||
FVtawPpck3F1bQwimvE+pfP0+XJhLqA=
|
||||
-----END PRIVATE KEY-----
|
|
@ -0,0 +1,2 @@
|
|||
a2.ignite.keystore.password=TFBlX9gsPm0=
|
||||
a2.ignite.truststore.password=TFBlX9gsPm0=
|
30
build/deploy.edex.awips2/esb/conf/ignite/auth/root.crt
Normal file
30
build/deploy.edex.awips2/esb/conf/ignite/auth/root.crt
Normal file
|
@ -0,0 +1,30 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIFOTCCAyGgAwIBAgIJAOz0RCYTMDmCMA0GCSqGSIb3DQEBCwUAMDMxDjAMBgNV
|
||||
BAoMBUFXSVBTMRAwDgYDVQQLDAdUZXN0aW5nMQ8wDQYDVQQDDAZjYXJvb3QwHhcN
|
||||
MjAxMTEzMTU0NzEwWhcNMzAxMTExMTU0NzEwWjAzMQ4wDAYDVQQKDAVBV0lQUzEQ
|
||||
MA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MIICIjANBgkqhkiG9w0B
|
||||
AQEFAAOCAg8AMIICCgKCAgEAnsWmnwIUEXg4BTBqr1datXTKDhgbSZVecE8M75U+
|
||||
8U8boKXy7IcOa2V8SL0fSa23HIUok03Ed7ATxfRSriU2oEaPMBgovUd+kZ1931ru
|
||||
AMERMg9wbJa9/cQFWhkwqV8XvOH99xV3OtbHQqkLOvXJk239bJNR3q4/C4poKusY
|
||||
15elhMBWEqIUrAMkK9adn9uKX8DZK3IhFW1oVH/HTu5uBnz1q5GfsogYU3qapLqo
|
||||
Ob65iH20m6bmUMbsMbPSMns8D9Wkb3Z+tNZilIBvZKVSnhIyUOx+IQgpH/aFdUpQ
|
||||
otLykFc78UzF6fjTuh49HAshcjGsLjHRg7vuagClmdjNds+Xm6+Byeuv2YUD371p
|
||||
wkDUDjhAK7VApvBdMANTlxVON67oRqCj9/JKkRhJyNL04+JnXSBVOoa/eAhwMRA/
|
||||
TnKwfI/w49AZoy09ip3xsZ3f9x/ssP2608AIBVTknFX/CdxMsIhMt4hZlqUzNUlP
|
||||
D4hwWsRg0Vgb4j+o8rqIjh+v4t3v8adOumi7h8nsUQYiwPrfr/RIrtRnQjblr1PY
|
||||
vpXiJNm8hf6de+VldrLLV5bk6UPU/ik9fPRf6HwvAI5Y6oQTF93pZCtgD9I09CXn
|
||||
zyo7veSK/KrLJO4Wv50RpIwn1weJ6grz6syUSpXCbux6Igu/ObcrszdIb+vDahX0
|
||||
nesCAwEAAaNQME4wHQYDVR0OBBYEFFL1dmRTdXNfSXj2Dj1/KDybI656MB8GA1Ud
|
||||
IwQYMBaAFFL1dmRTdXNfSXj2Dj1/KDybI656MAwGA1UdEwQFMAMBAf8wDQYJKoZI
|
||||
hvcNAQELBQADggIBABtBApfuRTxEbOMFv6k8+EQATNgjIbuwjcs2ZwUvS5zl3xKI
|
||||
rNTmTHkLseKXVXMTa8+0SjttrTVKb74dwB5pppqAYejLLlfqEMz0Vq/GjhtkW3MX
|
||||
b4AEcLdN/oYmPYrzBxwUXt9lBwauDNFq9SDGdIewKPr2yoN58kBBB2y3BeCILHiH
|
||||
g0Q7OxrJgM6GuD6ikMI6VHHXSRY5jn7JnA6WkmSUBI8tvA95Hdz750OZFtKPZqRA
|
||||
KykuFOxg8J0EXnQgbGjQiMTePwZjvHcB15bPEyHF7LVUNKKg44TnI7Wf2lFcHB0N
|
||||
+Eccu+ABXPW3jObq2hMpZHxB62I22VgjzQ6lTqM+4mJ0xpKSX79WzNYvBf/wZMuN
|
||||
EEkZcuiNNMPJ3pVwQraLHWoYZ3LTTzbleUgcrfFOyl1+HIZ/o2Uzll9kS06D4/KN
|
||||
l235PW+irCex35u1s+4X7G7hWSKFy2ZVPEpppBhtaF3bvAx4Oo2njse8MtlN6XNz
|
||||
F70YerEvH+w9rXyhbVA87hOOz4Jm8eblIxPDn+59FEZ/m/3gR22dTfe4L7o9NfvX
|
||||
SvoHVbrz0Bf+S0NZOblqQ4gwM3KjceSkWz19ZmAdjtUy6M3VIPQZYMvlkuUmeHI3
|
||||
Rvni9txlRYV4G6tzH93DhWsSz6fY5VaFBPd6wxGxZq9QJ7UHrslx8Mweu/1x
|
||||
-----END CERTIFICATE-----
|
24
build/deploy.edex.awips2/esb/conf/jms/auth/guest.crt
Normal file
24
build/deploy.edex.awips2/esb/conf/jms/auth/guest.crt
Normal file
|
@ -0,0 +1,24 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIEBzCCAu8CCQCLCVKLLCRALDANBgkqhkiG9w0BAQsFADAzMQ4wDAYDVQQKDAVB
|
||||
V0lQUzEQMA4GA1UECwwHVGVzdGluZzEPMA0GA1UEAwwGY2Fyb290MCAXDTIyMDEz
|
||||
MTE3MTkzMVoYDzIxMjEwMTMxMTcxOTMxWjBWMQswCQYDVQQGEwJYWDEVMBMGA1UE
|
||||
BwwMRGVmYXVsdCBDaXR5MQ4wDAYDVQQKDAVBV0lQUzEQMA4GA1UECwwHVGVzdGlu
|
||||
ZzEOMAwGA1UEAwwFZ3Vlc3QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC
|
||||
AQC9GC+8Nhj8a6y4k8uwIIlVo6w7J8zEfeJtDP8++cj8srbgw77guCc0gkITrMm+
|
||||
P0nIkSJxxUaIj++E75CKampAkcYH6hPFU4hOQJWL2QTRlV7VhoyFto8jXF8YGV88
|
||||
6f/Z2UPAwW9dii9HdFz1oYJTuSSDzBBQkst1/2JxcA28WncJ95QZf7t1PKNrLwzy
|
||||
SkPbjgaUww64FrQp2AXP6KHTR53S1x/Mve4fp7y+rufkByrJIBxVI3wGLADkVinW
|
||||
5avZAhRBUZ0DCkRcR+1um6vZWwqqsRRdu9W/LTi3Ww98DJGTeS1Uc2mYiGKz1lSU
|
||||
pYLm5e8ffUO6mJU70LaPQfuv37ABYm8ZdX3JuKlB9GWuHZv9rm1Dgp/MXv8DzuvN
|
||||
x5bdbGKxxyl1QDNa3T9AWxLtKJviPDgGKyisLxMuNWRJcfa4a2QkF/b8x9PfaSrB
|
||||
OsprEdpMQe5jdMN2OvFIAyk9lyi2nLkyocVneAVAx0OuZzbpQMRT2bl0UMVjyh+5
|
||||
UoE/MnNVRKxxkfsaUEPSSz4ZjjWHVIoTm6Cmvsc58Qwv4KddG5QttuXqWnFnxnkk
|
||||
+fso3bNLG1cFmIqwKzSH15iIvY3gGvgiDuj4op1RfQ2Idejkb0WjOJNgIHfxFdTr
|
||||
ZkO9AD9i/b4Gw14t1dLq5Jdk1SLg4Huz3SQHSbv91Bd9AwIDAQABMA0GCSqGSIb3
|
||||
DQEBCwUAA4IBAQBfBzo/6E6x2wL0+TduYzCL3iueGQaZPxg1g5aqa4JtWCu+ZIsj
|
||||
8rpYlJTQYBjSAveYe/6eu1oQlZgKDHLEy0GmmCZiN4rp/xDL9dy9SuFaEorgF2Ue
|
||||
sJnxMSODgYMMNti0wCXmztTSy4h/Eo6yLQvr/wvcQqU8eo19jUoMT9jloiM/qhPr
|
||||
3Mm2jTY/amdqLNlwHHmd7KaD3xxKJ/khM6d4HTLhoSSTz32MEYIT+KBb3lUjaUjC
|
||||
N6d2knROJKJDMxamNROc1M5z+iweeEdp//KJ/zDVRlawfG2Q1vEf5hIuwrkLVMnm
|
||||
WMTdYqJ/r1FQLWAzJn++pwwxzhYyho6vlN/V
|
||||
-----END CERTIFICATE-----
|
52
build/deploy.edex.awips2/esb/conf/jms/auth/guest.key
Normal file
52
build/deploy.edex.awips2/esb/conf/jms/auth/guest.key
Normal file
|
@ -0,0 +1,52 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQC9GC+8Nhj8a6y4
|
||||
k8uwIIlVo6w7J8zEfeJtDP8++cj8srbgw77guCc0gkITrMm+P0nIkSJxxUaIj++E
|
||||
75CKampAkcYH6hPFU4hOQJWL2QTRlV7VhoyFto8jXF8YGV886f/Z2UPAwW9dii9H
|
||||
dFz1oYJTuSSDzBBQkst1/2JxcA28WncJ95QZf7t1PKNrLwzySkPbjgaUww64FrQp
|
||||
2AXP6KHTR53S1x/Mve4fp7y+rufkByrJIBxVI3wGLADkVinW5avZAhRBUZ0DCkRc
|
||||
R+1um6vZWwqqsRRdu9W/LTi3Ww98DJGTeS1Uc2mYiGKz1lSUpYLm5e8ffUO6mJU7
|
||||
0LaPQfuv37ABYm8ZdX3JuKlB9GWuHZv9rm1Dgp/MXv8DzuvNx5bdbGKxxyl1QDNa
|
||||
3T9AWxLtKJviPDgGKyisLxMuNWRJcfa4a2QkF/b8x9PfaSrBOsprEdpMQe5jdMN2
|
||||
OvFIAyk9lyi2nLkyocVneAVAx0OuZzbpQMRT2bl0UMVjyh+5UoE/MnNVRKxxkfsa
|
||||
UEPSSz4ZjjWHVIoTm6Cmvsc58Qwv4KddG5QttuXqWnFnxnkk+fso3bNLG1cFmIqw
|
||||
KzSH15iIvY3gGvgiDuj4op1RfQ2Idejkb0WjOJNgIHfxFdTrZkO9AD9i/b4Gw14t
|
||||
1dLq5Jdk1SLg4Huz3SQHSbv91Bd9AwIDAQABAoICAH7M+D2inTCvV5xSZ3VM7CsE
|
||||
XVsxvitJKwvrekIVqARkJyQjvxzcAFZCvuKIrKQptmWLhWh7XGf49SnUp71ZzLRN
|
||||
zFjES8u3zyCCSIYF2ihcnMJcvmBv4h5ZM99qLCYh2BKSkc9xJye3oSquSiPg0Q8p
|
||||
iOXkclBFj7ApuC7PcDaNB2QkpChRMjhUmFUosOrMiCJzY9Bf2L/zYY7psEQSAGo4
|
||||
jQm0fjuCZWrOxU+s5A1SDQvfv4AMEn/lBBgZ+2aCjrEvpruCaeJ/AQZMqVfRhfR0
|
||||
C3wY0MpmSdgwD+dMZd7OYtRcntwRpI7HbkCgCgm/zz7ck3QvQLqg1PnOZI0+NvI6
|
||||
tAu9skvmKFWp0mZpi96JXGzvwkTfrxWOM0GJDsomPJfOKj1kZucbFhLL4XcTm54W
|
||||
XrW2UfiUF2jezqmp40HlPB9XMV2bIevmu4fzmdhF/ouJBjcKJmGLSAAqlBsDG18s
|
||||
nwTKItVR0cXhDyCzWkZKV9tTN1hQn8A/9P2lghgVNgDFs2BOTJCzMjPFkv/5t5FB
|
||||
Gv5DnxTPQU3zgEASWklBSlLdX+1wAg6m7ZCFox9CHqo3mFJyqJ/YwtKsVEK/Kdr2
|
||||
6Vc7rSSF1xmGohPeXcykovrxQIlhlMWZZ4Y8q2Dx12lVxr2fqemhWfLKFUk8fOZD
|
||||
/v8ig9zMrb/5EbU90stZAoIBAQDjhBqb+gBMZwaKQQq67YVw72s+Mwf4WDYzZgEI
|
||||
emEaYJwfjDxLOp3LLOhixCHUZEEbAMmEQzSZFjvKmsDi/3aVhThLf7LBTrbQecT9
|
||||
57jIfEIieSbOwPE3F7lNHPzk9C2rjkAKMz88fC/UUvafqW4Oa9ExzkW76LErwJO5
|
||||
2k5OcFDf8004S1580KArT6pF1CmLKZzhu+81QCiGpXUb2REMtVKR0hMtWyM3YL9a
|
||||
UIqITetfsRqY87JcD563YUIBgLXIcnJcORxGGW3LS6H0cr5IfAxBrXvkhNfy/XMp
|
||||
Exd+k2C2G94gFR9r8rzoVDF8v37LDWeJTaiwvNscscPfDyf/AoIBAQDUxKuoIxTz
|
||||
uo5wY4TtWBK9xXMgerPCyMhD7j8myjp8jjidvl/SgV8dSnOD/fEZzKr1RPP6l7WR
|
||||
iUL72MRqwVo2adfDSndnzDzl/YfulJqegIz0zGHKgCj3uvfh6ke1gj0VSBMzC2u/
|
||||
C8Nki6EU0n7n5+zA5M27EPrhvf+Ev114c/6PDtqGvP2H5M7VF3KwsGBCclIWOS19
|
||||
t8PU3o3tQvGmb4bVBt2KwDhhAM4O1FAzUwGDs9QjpwFTbZkIdiCfWaRo3pnja2Cd
|
||||
6Qr9vpE+7fHEzoqSzewezseo3fuIT0WKroTKhpL9VwRj5NZikEePLJ8osxjmwmXh
|
||||
WpGg7yMtcwr9AoIBAQCEoLHSUz5xS22okpnqtiOf3jGqJJ10zBdshv37LzwD4GWi
|
||||
jmFniVgK5LbjPGpsIbVCRIc0ruiuhSN9zBC9QyahqvNSL7LItVYk2ZdYXAh/9s+m
|
||||
wPE6fYcgEphWt5tE7ILjCx2R1KX8YHiRUXurP12E0p00Z4aHL/J4Ct8S7IvRde/v
|
||||
XSmas3T1VbjJBru/0RoWob9uZ9veMvRs6W8HONaTjfAASXIccpBo6+EgiOr44lNf
|
||||
iSJ0HzvOJtzjEbMkpR9TJkQ8Np6gzpoOdJyIn4sFPir27mbWpAovAEhtnU+I3ej2
|
||||
v/AQy79xciNlXA8tJYSIYdwFUlwQC0e/xnDkSzWJAoIBAGoS9sVnYA22x0aOxvmQ
|
||||
/B7yLlhV9AK7GOSNBZzwG0J3oRA7lggbiXDP6lE2rBnBqMWIr94R/mplNSjbw+i5
|
||||
JqGUGQZ6vJbaAs5inH88RO2ahyuQLXzIciQ3aVeO9lsuaAeRHElJe1kOo0YgOpln
|
||||
6+7v+F+ecla9u2YJ1Da5NP9VTObDb/zWgctbLiacfwhJlmPqHLSJov1XPWGF5toP
|
||||
kuv4FA9mUdLXzAPIY/KOtMExs8KWR7/Shd2y+SV3xwHKriW+PJhdsxhm05z3gfAO
|
||||
rocAtaNE2F/vlSjCKqGla7UdFoTlnKiC1mR69MrExXhCtcKTr2l0J1i3T30dW7tP
|
||||
7H0CggEBAJo8K8YmOi4fpksyUPr0j9UdrD69Q2bHsMPS9v2kUw/u3DQCpxc0o9Tb
|
||||
AzqEUBwQjz+yd5Einv2wjn/p4hT8NgHT97Jz748z1pJHWJTecz3gHnZkRmQ1NxZv
|
||||
CI1TRBx3Eh8T8+CfiwGMgoWQeWEG+FdQMHJQG/sD0SCL2jhzKLeGKYFU7ITbvMD4
|
||||
ahLcX1hRBM1EuZsUoLo9CDSNFG77nvMPggSAdOiQHhd/EmYuk3fJ5ByNxFySPxUU
|
||||
RkGQlurco7sjPU2xWts9vB2ws1jkFRZTi7yGu5H2d7qP2ZCuKKY+CnxvXuv3oT5P
|
||||
Gc1x30eRgBAJVj6koG9CJ4Tb4y7Rp9E=
|
||||
-----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>
|
|
@ -0,0 +1,25 @@
|
|||
<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" />
|
||||
|
||||
<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>
|
||||
|
||||
<!-- 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,34 @@
|
|||
<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>
|
||||
|
||||
<appender name="IgniteLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>ignite</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="IgniteLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="IgniteLog" />
|
||||
</appender>
|
||||
</included>
|
35
build/deploy.edex.awips2/esb/conf/logback-edex-appenders.xml
Normal file
35
build/deploy.edex.awips2/esb/conf/logback-edex-appenders.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<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>
|
||||
|
||||
<appender name="IgniteLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<rollingPolicy class="com.raytheon.uf.common.logback.policy.StdTimeBasedRollingPolicy">
|
||||
<name>ignite</name>
|
||||
</rollingPolicy>
|
||||
<encoder class="com.raytheon.uf.common.logback.encoder.UFStdEncoder"/>
|
||||
</appender>
|
||||
|
||||
<appender name="IgniteLogAsync" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="IgniteLog" />
|
||||
</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>
|
54
build/deploy.edex.awips2/esb/conf/logback-edex-loggers.xml
Normal file
54
build/deploy.edex.awips2/esb/conf/logback-edex-loggers.xml
Normal file
|
@ -0,0 +1,54 @@
|
|||
<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>
|
||||
|
||||
<logger name="org.apache.ignite" additivity="false">
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="IgniteLogAsync" />
|
||||
</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.jms.JmsMessageProducer">
|
||||
<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>
|
25
build/deploy.edex.awips2/esb/conf/logback-registry.xml
Normal file
25
build/deploy.edex.awips2/esb/conf/logback-registry.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<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" />
|
||||
|
||||
<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>
|
||||
|
||||
<!-- default logging -->
|
||||
<root>
|
||||
<level value="INFO"/>
|
||||
<appender-ref ref="ThreadBasedLog"/>
|
||||
</root>
|
||||
</configuration>
|
71
build/deploy.edex.awips2/esb/conf/logback-request.xml
Normal file
71
build/deploy.edex.awips2/esb/conf/logback-request.xml
Normal file
|
@ -0,0 +1,71 @@
|
|||
<configuration debug="false" scan="true" packagingData="true">
|
||||
<include file="${edex.home}/conf/logback-edex-properties.xml"/>
|
||||
<include file="${edex.home}/conf/${LOG_APPENDERS_CONFIG}" />
|
||||
|
||||
<!-- 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="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/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 -storetype JKS -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 -storetype JKS
|
||||
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/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 -storetype JKS
|
||||
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 -storetype JKS
|
||||
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";
|
||||
};
|
255
build/deploy.edex.awips2/esb/conf/spring/edex-datastore.xml
Normal file
255
build/deploy.edex.awips2/esb/conf/spring/edex-datastore.xml
Normal file
|
@ -0,0 +1,255 @@
|
|||
<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">
|
||||
|
||||
<bean id="pypiesStoreProps" class="com.raytheon.uf.common.pypies.PypiesProperties" lazy-init="true">
|
||||
<property name="address" value="${PYPIES_SERVER}" />
|
||||
</bean>
|
||||
<bean id="pypiesDataStoreFactory" class="com.raytheon.uf.common.pypies.PyPiesDataStoreFactory"
|
||||
depends-on="httpClient" lazy-init="true">
|
||||
<constructor-arg ref="pypiesStoreProps" />
|
||||
</bean>
|
||||
|
||||
<bean id="sslConfig" class="com.raytheon.uf.common.datastore.ignite.IgniteSslConfiguration">
|
||||
<constructor-arg value="guest"/>
|
||||
</bean>
|
||||
|
||||
<bean id="igniteKeyStorePath" factory-bean="sslConfig" factory-method="getJavaKeyStorePath" />
|
||||
<bean id="igniteTrustStorePath" factory-bean="sslConfig" factory-method="getJavaTrustStorePath" />
|
||||
|
||||
<bean id="igniteKeyStorePassword" class="com.raytheon.uf.common.datastore.ignite.IgnitePasswordUtils"
|
||||
factory-method="getIgniteKeyStorePassword" />
|
||||
<bean id="igniteTrustStorePassword" class="com.raytheon.uf.common.datastore.ignite.IgnitePasswordUtils"
|
||||
factory-method="getIgniteTrustStorePassword" />
|
||||
|
||||
<bean id="igniteCommSpiTemplate" class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi"
|
||||
abstract="true" lazy-init="true">
|
||||
<property name="messageQueueLimit" value="1024"/>
|
||||
<!-- This causes clients to keep the last x messages up to this
|
||||
threshold per connection in heap memory in case a connection
|
||||
fails to resend the messages. Limiting this will cause more
|
||||
acknowledgements to be sent but also reduce client heap
|
||||
footprint. Default value is 32. -->
|
||||
<property name="ackSendThreshold" value="2"/>
|
||||
<property name="socketWriteTimeout" value="30000"/>
|
||||
<property name="usePairedConnections" value="true"/>
|
||||
<property name="connectionsPerNode" value="4"/>
|
||||
<property name="localPortRange" value="0"/>
|
||||
</bean>
|
||||
|
||||
<!-- Must have prototype scope so a fully new instance can be created when node fails and needs restarting -->
|
||||
<bean id="igniteConfig1" class="org.apache.ignite.configuration.IgniteConfiguration"
|
||||
scope="prototype" lazy-init="true">
|
||||
<property name="igniteInstanceName" value="cluster1" />
|
||||
<property name="localHost" value="${LOCAL_ADDRESS}"/>
|
||||
<property name="clientMode" value="true" />
|
||||
<property name="metricsLogFrequency" value="0" />
|
||||
<property name="workDirectory" value="${AWIPS2_TEMP}/edex/ignite_work"/>
|
||||
<property name="failureHandler">
|
||||
<bean class="com.raytheon.uf.common.datastore.ignite.IgniteClientFailureHandler" />
|
||||
</property>
|
||||
<property name="gridLogger">
|
||||
<bean class="org.apache.ignite.logger.slf4j.Slf4jLogger" />
|
||||
</property>
|
||||
<property name="sslContextFactory">
|
||||
<bean class="org.apache.ignite.ssl.SslContextFactory">
|
||||
<property name="keyStoreFilePath" ref="igniteKeyStorePath"/>
|
||||
<property name="keyStorePassword" ref="igniteKeyStorePassword" />
|
||||
<property name="trustStoreFilePath" ref="igniteTrustStorePath"/>
|
||||
<property name="trustStorePassword" ref="igniteTrustStorePassword"/>
|
||||
<property name="protocol" value="TLSv1.3"/>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="communicationSpi">
|
||||
<bean parent="igniteCommSpiTemplate">
|
||||
<property name="localPort" value="${IGNITE_CLUSTER_1_COMM_PORT}"/>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="transactionConfiguration">
|
||||
<bean class="org.apache.ignite.configuration.TransactionConfiguration">
|
||||
<property name="txTimeoutOnPartitionMapExchange" value="${a2.ignite.txTimeoutOnPartitionMapExchange}"/>
|
||||
<property name="defaultTxTimeout" value="${a2.ignite.defaultTxTimeout}"/>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="discoverySpi">
|
||||
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
|
||||
<property name="localPort" value="${IGNITE_CLUSTER_1_DISCO_PORT}"/>
|
||||
<property name="localPortRange" value="0"/>
|
||||
<property name="ipFinder">
|
||||
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
|
||||
<property name="addresses" value="#{'${IGNITE_CLUSTER_1_SERVERS}'.split(',')}" />
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="igniteConfig2" class="org.apache.ignite.configuration.IgniteConfiguration" scope="prototype" lazy-init="true">
|
||||
<constructor-arg ref="igniteConfig1" />
|
||||
<property name="igniteInstanceName" value="cluster2" />
|
||||
<property name="communicationSpi">
|
||||
<bean parent="igniteCommSpiTemplate">
|
||||
<property name="localPort" value="${IGNITE_CLUSTER_2_COMM_PORT}"/>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="discoverySpi">
|
||||
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
|
||||
<property name="localPort" value="${IGNITE_CLUSTER_2_DISCO_PORT}"/>
|
||||
<property name="localPortRange" value="0"/>
|
||||
<property name="ipFinder">
|
||||
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
|
||||
<property name="addresses" value="#{'${IGNITE_CLUSTER_2_SERVERS}'.split(',')}" />
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="igniteClusterManager" class="com.raytheon.uf.common.datastore.ignite.IgniteClusterManager" lazy-init="true">
|
||||
<constructor-arg>
|
||||
<bean class="com.raytheon.uf.common.datastore.ignite.IgniteConfigSpringGenerator">
|
||||
<constructor-arg ref="igniteConfig1" />
|
||||
<constructor-arg value="igniteConfig1" />
|
||||
</bean>
|
||||
</constructor-arg>
|
||||
<constructor-arg>
|
||||
<bean class="com.raytheon.uf.common.datastore.ignite.IgniteConfigSpringGenerator">
|
||||
<constructor-arg ref="igniteConfig2" />
|
||||
<constructor-arg value="igniteConfig2" />
|
||||
</bean>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
|
||||
<!-- If any cache configuration is changed, all ignite and edex nodes need
|
||||
to be shutdown to clear knowledge of the previous configuration before
|
||||
any changes will take effect. Nodes can only be started up again after
|
||||
all nodes are shutdown. -->
|
||||
<bean id="defaultCacheConfig" class="org.apache.ignite.configuration.CacheConfiguration" scope="prototype" lazy-init="true">
|
||||
<property name="name" value="defaultDataStore" />
|
||||
<property name="cacheMode" value="PARTITIONED" />
|
||||
<property name="backups" value="${IGNITE_CACHE_BACKUPS:0}" />
|
||||
<!-- Rebalancing is unnecessary, missing entries will read
|
||||
from the underlying datastore instead of being copied
|
||||
preemptively. Attempting to rebalance will load the entire
|
||||
cache in the heap and results in OOM.
|
||||
-->
|
||||
<property name="rebalanceMode" value="NONE" />
|
||||
<property name="readThrough" value="true" />
|
||||
<property name="writeThrough" value="true" />
|
||||
<property name="writeBehindEnabled" value="true" />
|
||||
<property name="writeBehindFlushFrequency" value="5000" />
|
||||
<property name="writeBehindFlushThreadCount" value="4" />
|
||||
<property name="writeBehindBatchSize" value="20" />
|
||||
<property name="writeBehindFlushSize" value="100" />
|
||||
<property name="sqlIndexMaxInlineSize" value="350" />
|
||||
<property name="cacheStoreFactory">
|
||||
<bean
|
||||
class="com.raytheon.uf.common.datastore.ignite.store.DataStoreCacheStoreFactory">
|
||||
<constructor-arg>
|
||||
<bean
|
||||
class="com.raytheon.uf.common.datastore.ignite.pypies.SerializablePyPiesDataStoreFactory" lazy-init="true">
|
||||
<constructor-arg name="address" value="${PYPIES_SERVER}" />
|
||||
</bean>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="indexedTypes">
|
||||
<list>
|
||||
<value>com.raytheon.uf.common.datastore.ignite.DataStoreKey</value>
|
||||
<value>com.raytheon.uf.common.datastore.ignite.DataStoreValue</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="gridCacheConfig" class="org.apache.ignite.configuration.CacheConfiguration" lazy-init="true">
|
||||
<constructor-arg ref="defaultCacheConfig" />
|
||||
<property name="name" value="gridDataStore" />
|
||||
<property name="writeBehindFlushFrequency" value="1000" />
|
||||
<property name="writeBehindFlushThreadCount" value="12" />
|
||||
<property name="writeBehindBatchSize" value="5" />
|
||||
<property name="writeBehindFlushSize" value="60" />
|
||||
</bean>
|
||||
<bean id="satelliteCacheConfig" class="org.apache.ignite.configuration.CacheConfiguration" lazy-init="true">
|
||||
<constructor-arg ref="defaultCacheConfig" />
|
||||
<property name="name" value="satelliteDataStore" />
|
||||
<property name="writeBehindFlushFrequency" value="5000" />
|
||||
<property name="writeBehindFlushThreadCount" value="4" />
|
||||
<property name="writeBehindBatchSize" value="5" />
|
||||
<property name="writeBehindFlushSize" value="20" />
|
||||
</bean>
|
||||
<bean id="radarCacheConfig" class="org.apache.ignite.configuration.CacheConfiguration" lazy-init="true">
|
||||
<constructor-arg ref="defaultCacheConfig" />
|
||||
<property name="name" value="radarDataStore" />
|
||||
<property name="writeBehindFlushFrequency" value="5000" />
|
||||
<property name="writeBehindFlushThreadCount" value="4" />
|
||||
<property name="writeBehindBatchSize" value="10" />
|
||||
<property name="writeBehindFlushSize" value="40" />
|
||||
</bean>
|
||||
<bean id="pointCacheConfig" class="org.apache.ignite.configuration.CacheConfiguration" lazy-init="true">
|
||||
<constructor-arg ref="defaultCacheConfig" />
|
||||
<property name="name" value="pointDataStore" />
|
||||
<!-- Do NOT enable write behind for point data. It must currently be
|
||||
disabled, or else the postgres metadata and hdf5 data can get out
|
||||
of sync and cause significant issues. -->
|
||||
<property name="writeBehindEnabled" value="false" />
|
||||
</bean>
|
||||
|
||||
<bean id="defaultCacheRegistered" factory-bean="igniteClusterManager" factory-method="addCache" lazy-init="true">
|
||||
<constructor-arg ref="defaultCacheConfig" />
|
||||
<constructor-arg value="1" />
|
||||
</bean>
|
||||
<bean id="gridCacheRegistered" factory-bean="igniteClusterManager" factory-method="addCache" lazy-init="true">
|
||||
<constructor-arg ref="gridCacheConfig" />
|
||||
<constructor-arg value="2" />
|
||||
</bean>
|
||||
<bean id="satelliteCacheRegistered" factory-bean="igniteClusterManager" factory-method="addCache" lazy-init="true">
|
||||
<constructor-arg ref="satelliteCacheConfig" />
|
||||
<constructor-arg value="1" />
|
||||
</bean>
|
||||
<bean id="radarCacheRegistered" factory-bean="igniteClusterManager" factory-method="addCache" lazy-init="true">
|
||||
<constructor-arg ref="radarCacheConfig" />
|
||||
<constructor-arg value="1" />
|
||||
</bean>
|
||||
<bean id="pointCacheRegistered" factory-bean="igniteClusterManager" factory-method="addCache" lazy-init="true">
|
||||
<constructor-arg ref="pointCacheConfig" />
|
||||
<constructor-arg value="1" />
|
||||
</bean>
|
||||
<bean id="pluginMapCacheRegistered" factory-bean="igniteClusterManager" factory-method="setPluginMapCacheCluster" lazy-init="true">
|
||||
<!-- This needs to match the cluster that the cache config is set on in awips2-config.xml -->
|
||||
<constructor-arg value="1" />
|
||||
</bean>
|
||||
|
||||
<bean id="ignitePluginRegistry"
|
||||
class="com.raytheon.uf.common.datastore.ignite.plugin.CachePluginRegistry" lazy-init="true" />
|
||||
|
||||
<!-- The full topo dataset is too large to efficiently cache the entire
|
||||
record so do not cache topo. -->
|
||||
<bean factory-bean="ignitePluginRegistry" factory-method="registerPluginCacheName">
|
||||
<constructor-arg value="topo" />
|
||||
<constructor-arg value="none" />
|
||||
</bean>
|
||||
|
||||
<bean id="igniteDataStoreFactory" class="com.raytheon.uf.common.datastore.ignite.IgniteDataStoreFactory" lazy-init="true"
|
||||
depends-on="defaultCacheRegistered,gridCacheRegistered,satelliteCacheRegistered,radarCacheRegistered,pointCacheRegistered,pluginMapCacheRegistered">
|
||||
<constructor-arg ref="igniteClusterManager" />
|
||||
<constructor-arg ref="ignitePluginRegistry" />
|
||||
</bean>
|
||||
|
||||
<bean id="dataStoreFactory" class="com.raytheon.uf.common.datastorage.DataStoreFactory"
|
||||
factory-method="getInstance">
|
||||
<property name="underlyingFactory" ref="${DATASTORE_PROVIDER}DataStoreFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="dataStorageAuditerContainer" class="com.raytheon.uf.common.datastorage.audit.DataStorageAuditerContainer" factory-method="getInstance">
|
||||
<property name="auditer">
|
||||
<bean class="com.raytheon.uf.edex.database.health.EdexDataStorageAuditerProxy">
|
||||
<constructor-arg ref="messageProducer"/>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
113
build/deploy.edex.awips2/esb/conf/spring/edex-db.xml
Normal file
113
build/deploy.edex.awips2/esb/conf/spring/edex-db.xml
Normal file
|
@ -0,0 +1,113 @@
|
|||
<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>
|
||||
<value>com.raytheon.uf.common.dataplugin.geographic</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.hibernate5.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.hibernate5.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="mapsDbSessionConfig"
|
||||
class="com.raytheon.uf.edex.database.DatabaseSessionConfiguration">
|
||||
<property name="classFinder" ref="dbClassFinder" />
|
||||
<property name="includes">
|
||||
<list>
|
||||
<value>com.raytheon.uf.common.dataplugin.geographic</value>
|
||||
<value>com.raytheon.uf.edex.database</value>
|
||||
</list>
|
||||
</property>
|
||||
</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>
|
||||
<property name="databaseSessionConfiguration" ref="mapsDbSessionConfig" />
|
||||
</bean>
|
||||
|
||||
<bean id="mapsTxManager"
|
||||
class="org.springframework.orm.hibernate5.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>
|
||||
<property name="databaseSessionConfiguration" ref="mapsDbSessionConfig" />
|
||||
</bean>
|
||||
|
||||
<bean id="admin_mapsTxManager"
|
||||
class="org.springframework.orm.hibernate5.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="admin_mapsSessionFactory" />
|
||||
</bean>
|
||||
</beans>
|
399
build/deploy.edex.awips2/esb/conf/spring/edex.xml
Normal file
399
build/deploy.edex.awips2/esb/conf/spring/edex.xml
Normal file
|
@ -0,0 +1,399 @@
|
|||
<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">
|
||||
|
||||
<bean id="jmsClientId" class="com.raytheon.uf.common.util.SystemUtil" factory-method="getClientID">
|
||||
<constructor-arg value="${edex.run.mode}" />
|
||||
</bean>
|
||||
|
||||
<bean id="jmsConnectionInfo"
|
||||
class="com.raytheon.uf.common.jms.JMSConnectionInfo">
|
||||
<constructor-arg value="${BROKER_HOST}"/>
|
||||
<constructor-arg value="${BROKER_PORT}"/>
|
||||
<constructor-arg value="${JMS_VIRTUALHOST}"/>
|
||||
<constructor-arg value="${BROKER_HTTP}"/>
|
||||
<constructor-arg>
|
||||
<map>
|
||||
<entry key="jms.prefetchPolicy.all" value="0"/>
|
||||
<entry key="provider.futureType" value="balanced"/>
|
||||
<entry key="jms.clientID" value-ref="jmsClientId"/>
|
||||
</map>
|
||||
</constructor-arg>
|
||||
</bean>
|
||||
|
||||
<bean id="qpidUfConnectionFactory" class="com.raytheon.uf.common.jms.qpid.QpidUFConnectionFactory">
|
||||
<constructor-arg ref="jmsConnectionInfo"/>
|
||||
</bean>
|
||||
|
||||
<bean id="jmsConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory">
|
||||
<constructor-arg ref="qpidUfConnectionFactory"/>
|
||||
<!-- The value of 50 is arbitrary. Can be tweaked later based on
|
||||
observed frequency of session creation -->
|
||||
<property name="sessionCacheSize" value="50"/>
|
||||
</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>
|
||||
|
||||
<bean id="jmsDurableConfig" class="org.apache.camel.component.jms.JmsConfiguration"
|
||||
factory-bean="jmsConfig" factory-method="copy">
|
||||
<property name="deliveryPersistent" value="true"/>
|
||||
</bean>
|
||||
|
||||
<bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration">
|
||||
<property name="cacheLevelName" value="CACHE_CONSUMER"/>
|
||||
<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="jmsConnectionFactory" />
|
||||
<property name="templateConnectionFactory" ref="jmsConnectionFactory" />
|
||||
<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="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>
|
||||
|
||||
<bean id="mapsDbPluginProperties" class="com.raytheon.uf.edex.database.DatabasePluginProperties">
|
||||
<property name="pluginFQN" value="com.raytheon.uf.edex.database" />
|
||||
<property name="database" value="maps" />
|
||||
<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>
|
||||
|
||||
<bean id="mapsDbRegistered" factory-bean="dbPluginRegistry" factory-method="register">
|
||||
<constructor-arg value="com.raytheon.uf.edex.database.maps" />
|
||||
<constructor-arg ref="mapsDbPluginProperties" />
|
||||
</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="errorHandlerRedeliveryPolicy" class="org.apache.camel.processor.errorhandler.RedeliveryPolicy">
|
||||
<!-- This policy matches that of the old LoggingErrorHandlerBuilder
|
||||
class we used to use. (That class is gone now that we have moved
|
||||
to Camel 3.) -->
|
||||
<property name="logRetryAttempted" value="false" />
|
||||
</bean>
|
||||
|
||||
<bean id="errorHandler" class="org.apache.camel.builder.DeadLetterChannelBuilder">
|
||||
<property name="deadLetterUri" value="log:edex?level=ERROR" />
|
||||
<property name="redeliveryPolicy" ref="errorHandlerRedeliveryPolicy" />
|
||||
</bean>
|
||||
|
||||
<!-- 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.support.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>
|
||||
|
||||
</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>
|
274
build/deploy.edex.awips2/esb/conf/wrapper.conf
Normal file
274
build/deploy.edex.awips2/esb/conf/wrapper.conf
Normal file
|
@ -0,0 +1,274 @@
|
|||
#********************************************************************
|
||||
##
|
||||
# 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}
|
||||
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}
|
||||
# fixes Logjam vulnerability, see https://weakdh.org/
|
||||
wrapper.java.additional.3=-Djdk.tls.ephemeralDHKeySize=2048
|
||||
|
||||
# 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
|
||||
|
||||
# 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=320
|
||||
|
||||
# define properties for rest path
|
||||
# required due to issue in camel 2.23+ reading env variables
|
||||
wrapper.java.additional.http.1=-Dedex.http.port=${HTTP_PORT}
|
||||
wrapper.java.additional.http.2=-Dedex.http.server.path=${HTTP_SERVER_PATH}
|
||||
|
||||
#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}
|
||||
|
||||
wrapper.java.additional.ignite.1=-DIGNITE_NO_ASCII=true
|
||||
wrapper.java.additional.ignite.2=-DIGNITE_QUIET=false
|
||||
wrapper.java.additional.ignite.3=-Djava.net.preferIPv4Stack=true
|
||||
wrapper.java.additional.ignite.4=-DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
|
||||
wrapper.java.additional.ignite.5=-Da2.ignite.defaultTxTimeout=120000
|
||||
wrapper.java.additional.ignite.6=-Da2.ignite.txTimeoutOnPartitionMapExchange=30000
|
||||
|
||||
# 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.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue