!----------------------------------------------------------------------------
!
!  reingest.path_template
!
!----------------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 07/20/05 53578   Sontag    Create ingest_regr_auto.path_template
!                            from ingest_auto.path_template
! 11/11/04 53718   Sherbert  Add _empty_PATHMAP[] to dir structure
! 05/08/06 55509   Sherbert  Modify proxy file and default science path name 
!                            and rename reingest_auto.path_template
! 11/13/09 61672   Sherbert  proprietary rights additions
! 08/12/10 64432   MSwam     add DB_TYPE for SYBASE or MSSQL use
!----------------------------------------------------------------------------
!
! When modifying this file, the user should change only things in double
! quotes.  Text after "!" are optional comments.
!
!       **** All Keywords (mnemonics on left) must be ALLCAPS ****
!       ****    Do not change the names of any mnemonics!!!   ****
!       ****           Only change mnemonic values.           ****
!
!----------------------------------------------------------------------------
!
! eg: OPUS_OBSERVATIONS_DIR = /home/mswam/bb/  !directory MUST end with slash
! otfcline directories might be specified as /data3/thoros/sis/acs/
!
!----------------------------------------------------------------------------
! When establishing two Ingest pipelines in the same OPUS_DEFINITIONS_DIR
! the secondary pipeline, to be used for REGR scripts, and reprocessing pipelines
! must have some keywords with distinct values from the primary pipeline.
! The keywords that must be different and been commented with the label REGR.
!----------------------------------------------------------------------------
! DO NOT CHANGE THE DEFINITIONS OF THE FOLLOWING MNEMONICS, BUT VERIFY
! THESE DIRECTORIES EXIST IN YOUR RUN-TIME ENVIRONMENT.
!----------------------------------------------------------------------------

STAGE_FILE              = OPUS_DEFINITIONS_DIR:ingest_pipeline.stage
                            ! filespec for defining ingest pipeline stages
OPUS_HOME_DIR           = OPUS_HOME_DIR
                            ! Process Status File, and misc tempory file.
OPUS_OBSERVATIONS_DIR   = _empty_OBS_ROOT/_empty_PATHMAP[]/
                            ! Obs. Status File
OPUS_TEMP_DIR           = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/temp/
                            ! Scratch area for intermediate

OK_TO_UPDATE_DATABASE   = TRUE

! Polling time in seconds; optional keyword
POLLING_TIME            = _empty_POLLING_TIME  

PROC_TYP                = NORMAL
                            ! Processing type (NORMAL, REALTIME, REPRO etc)

DB_TYPE                 = _empty_DB_TYPE
                            ! SYBASE or MSSQL
DSQUERY                 = _empty_DSQUERY      ! Db server name i.e. ROBBIE
OPUS_SERVER             = _empty_OPUS_SERVER  ! Data base server for OPUS
OPUS_DB                 = _empty_OPUS_DB      ! Data base i.e. opustest2
SPSS_DB                 = _empty_SPSS_DB      ! Db name for support database
ASSIST_DB               = _empty_ASSIST_DB    ! Db name for assist database
ARCH_DB                 = _empty_ARCH_DB      ! Db name for archive database
ARCH_SERVER             = _empty_ARCH_SERVER  ! Db server for archive database


JMSG_REPORT_LEVEL       = _empty_JMSG_REPORT_LEVEL 
                                    ! choices are ALL, NONE, DIAG, INFO,
                                    ! WARN, ERROR, FATAL

! Ingest root directory   Eg: <root directory>/ing/ - change for REGR
INGEST_PATH_ROOT  = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/        

INGEST_PIPE_ID    = _empty_REINGEST_PIPE_ID 
                            ! Change for REGR pipeline.
                            ! Four character unique pipeline ID like DADS, TST1,
                            ! DEV1, JACK, BILL, etc.
                            ! Every Ingest path file must use a unique pipe name
                            ! and it can be personalized if it is still unique.
                            ! Testers and developers must not use DADS which is
                            ! reserved for the operational system.

! Installation Priorities
! Each of the following priority levels can be set to:  LOWEST, LOWER, LOW, 
! NORMALMINUS, NORMAL, NORMALPLUS, HIGH, HIGHER, TANSCENDENT

INSTALL_LOW_PRI   =  NORMAL 
INSTALL_MID_PRI   =  NORMAL
INSTALL_HIGH_PRI  =  NORMAL

! The following keywords labelled REGR must differ from the primary pipeline
! Eg: <root directory>/ing/dataset_log/ - REGR
DATASET_LOG_DIR         = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/dataset_log/
!
! Eg: <root directory>/ing/problem_log/ - REGR
PROBLEM_DIR             = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/problem_log/ 

! The following three values are used for RING data that are ingested by the 
! INGPOL task. The INGEST_TRIGGER_ROOT is used by CLNING process and the
! INGEST_HST_TRIGGER_DIR are used as a directory
! trigger in the INGPOL task. Other mission triggers may be added later.
! Eg: <root directory>/ing/trigger/  - REGR
INGEST_TRIGGER_ROOT     = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/trigger/ 
! Eg: <root directory>/ing/trigger/hst/ - REGR
INGEST_HST_TRIGGER_DIR  = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/trigger/hst/

! The INGEST_SOURCE_DIR is a directory for an empty file having the format
! source_override.<value>, where value is "regr" or "dlsg". If this file is 
! present in this directory the ads_data_source field will always have this
! uppercased value. If no override is wanted, this directory should be empty. 
!
! <root directory>/ing/trigger/source/ - REGR
INGEST_SOURCE_DIR       = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/trigger/source/ 

OVERRIDE_REQUIRED       = Y ! Must be Y for REGR pipeline. 
                            ! Change to Y only for special pipelines.
                            
! This value must be equivalent to <INGEST_PATH_ROOT>/dlg
! <root directory>/ing/dlg/  - REGR
DLG_INGEST_PATH         = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/dlg/ 

! Enter the names of the Operational path names in place of 
! e.g. <opus path name>. For REGR pipeline, the paths must match
! reprocessing pre-archive pipeline paths or have the value NONE (uppercase only). 

REMOTE_OPUS_PATH  = _empty_PATHMAP[repro_science_auto] ! <opus path name>  - REGR
REMOTE_FGS_PATH   = NONE                               ! <fgs path name>   - REGR
REMOTE_CDBS_PATH  = NONE                               ! <cdbs path name>  - REGR
REMOTE_PDR_PATH   = NONE                               ! <pdr path name>   - REGR
REMOTE_AST_PATH   = NONE                               ! <ast path name>   - REGR

! Resources for NSA to OPUS communications.
! URL dads_ops is operations, dads_test is testing, dads_dev is development
! Note that NSA_PATH_ROOT should be separate for REGR pipeline
!
! Eg: <http://ess.stsci.edu/teams/dsb/dads_ops/idrConfig.txt>
SERVER_URL     = _empty_SERVER_URL

! <root where NSA communication files are kept> -REGR
NSA_PATH_ROOT  = _empty_CACHE_ROOT/ingest/_empty_PATHMAP[]/archive/

! <name of the proxy log file object> -REGR
PROXY_LOG_FILE = reingest-datamgr.proxy 

! <name of sub directory created for request link file>
LINK_FILE_DIR  = link 

! Ingest pipeline requires an NSA Password for datamgr'
nsa_password        = _empty_NSA_PASSWORD_PROMPT
operator_email_list = _empty_OPERATOR_EMAIL_LIST
