%
% This is configuration file for dbupdate test program.
# GLOBAL CONFIGURATION
#
# absolute path to base directory for testing
BASEDIR = /home/dbase-user/RELEASE/tests/dbupdate/testing

# absolute path to whoisd root dir
WHOISDIR = /home/dbase-user/db

# absolute path to data dir
DATADIR = /home/dbase-user/RELEASE/tests/dbupdate/test-data

# absolute path to config dir
CONFDIR = $BASEDIR/conf

# absolute path to executables dir
BINDIR = $BASEDIR/bin

# absolute path to log dumps
DUMPDIR = $BASEDIR/dump

# absolute path to test-specific scripts
SCRIPTDIR = $BASEDIR/bin

# absolute path to tmp log files
LOGDIR = $BASEDIR/log

# logfiles used by testing system: relative names only!
# acklog notiflog forwlog updlog are taken from rip.config, 
# so they are commented out for reference
# current date is added to all of them

#ACKLOG     = acklog --> rip.config 
#NOTIFLOG   = notiflog --> rip.config
#FORWLOG    = forwlog --> rip.config 
#UPDLOG     = updlog --> rip.config

STDOUTLOG  = $LOGDIR/stdoutlog
STDERRLOG  = $LOGDIR/stderrlog
REPORTLOG  = $LOGDIR/reportlog
SUMMARYLOG = $LOGDIR/summarylog

# absolute path to temporary files
TMPDIR = $BASEDIR/tmp

# file where generic filters are located (common for all tests)
FILTERS = $CONFDIR/filters.config

# test dirs from this file will be excluded - relative paths
# EXCLUDE = $CONFDIR/EXCLUDE

# path to dbupdate
DBUPDATE = $WHOISDIR/bin/dbupdate

# dbupdate flags: -r to redirect notifications sending, -T to allow mntner creation
DBUPDATE_GEN = -r -c $RIP_CONFIG
DBUPDATE_TEXT = -f
DBUPDATE_MAIL = -m
DBUPDATE_NET = -n
DBUPDATE_TRACE = -d
DBUPDATE_SYNC = -w

# path to whois client
WHOIS = /opt/local/bin/whois3

# WHOIS host name

WHOIS_HOST = localhost

# whois client flags
# SVWHOIS_PORT is taken from rip.config
WHOIS_FLAGS = -h $WHOIS_HOST -p $SVWHOIS_PORT

# loader 
LOAD_FILE = $SCRIPTDIR/load_file.sh

# make_db script
MAKE_DB = $SCRIPTDIR/make_db_test

# make_db flags - we empty the database
# SVCONFIG_PORT is taken from rip.config
# SOURCE is taken from rip.config (UPDSOURCE)

MAKE_DB_FLAGS = -l $LOAD_FILE -t $WHOISDIR -h $WHOIS_HOST -p $SVCONFIG_PORT -c $RIP_CONFIG -1 -f

# GPG keyring syncronisation with Database

SYNC_RING = $SCRIPTDIR/resync-gnupg-ring-from-text.sh

# extract keys from text dump utility

EXTRACT_KEYS = $SCRIPTDIR/extract-keycerts-from-text-dump.pl

# path to rip.config
RIP_CONFIG = $WHOISDIR/conf/rip.config 

# variable PGPPATH is taken from rip.config

# LOCAL CONFIGURATION
# naming conventions for local files for each test dataset
# objects to submit/load into the DB as initial state
LOADER_FILE = loader
DBUPDATE_FILE = dbupdate

# object to submit via dbupdate
TEST = test

# whois output to be matched with results
WHOIS_FILE = whois

# name for local filter file
FILTERS_LOCAL = filters_local.config

