!----------------------------------------------------------------------------
!
!  ingest.path_template
!
!----------------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 11/21/03 49550   Goldst    Created initial version 
! 02/04/04 49551   MSwam     Add INGEST_SOURCE, OPUS_SERVER, ARCH_SERVER
! 02/13/04 49552   jschultz  added JMSG_REPORT_LEVEL mnemonic
! 03/01/04 50521   J.Baum    Add INGEST_TRIGGER_DIR definition
! 03/17/04 49550   Goldst    Changed SERVER URL and JMSG level for OPS
! 03/18/04 50521   J.Baum    Change trigger dirs to INGEST_HST_TRIGGER_DIR
!                            and INGEST_FUSE_TRIGGER_DIR ,added comments
! 03/23/04 50823   MSwam     Remove INGEST_SOURCE
! 04/06/04 50429   Sherbert  Comment out angle brackets as per DR 309
! 04/13/04 50933   J.Baum    Add INGEST_SOURCE_DIR and OVERRIDE_REQUIRED
!                            for data source overrides
! 06/25/04 51412   Sherbert  Minor changes for consistency
! 07/01/04 51342   J.Baum    Indicate entries that must change for REGR pipe
! 02/04/05 52824   Sherbert  Add nsa_prompt for prompt personalization
! 07/13/05 53578   Sherbert  Minor comment change for pipeline stages line
! 11/13/09 61672   Sherbert  proprietary rights additions
! 08/12/10 64432   MSwam     add DB_TYPE for SYBASE or MSSQL use
! 08/30/10 59963   Sherbert  remove ability to ingest/catalog FUSE
!----------------------------------------------------------------------------
!
! 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   =   ! Obs. Status File - change for REGR
OPUS_TEMP_DIR           =   ! Scratch area for intermediate
OK_TO_UPDATE_DATABASE   = TRUE
POLLING_TIME            =   ! Polling time in seconds; optional keyword
PROC_TYP                = NORMAL
                            ! Processing type (NORMAL, REALTIME, REPRO etc)

DB_TYPE                 = SYBASE ! or MSSQL
DSQUERY                 =   ! Data base server name i.e. ROBBIE
OPUS_SERVER             =   ! Data base server for OPUS database
OPUS_DB                 =   ! Data base i.e. opustest2
SPSS_DB                 =   ! Data base i.e. dadstst
ASSIST_DB               =   ! Data base for assist database
ARCH_DB                 =   ! Data base i.e. dadstst
ARCH_SERVER             =   ! Data base server for ARCH database

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

! Ingest root directory

INGEST_PATH_ROOT  =         ! Eg: <root directory>/ing/ - change for REGR

INGEST_PIPE_ID    =  DADS   ! 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

DATASET_LOG_DIR         =   ! Eg: <root directory>/ing/dataset_log/ - REGR
PROBLEM_DIR             =   ! Eg: <root directory>/ing/problem_log/ - REGR

! 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 is used as a directory
! trigger in the INGPOL task. Other mission triggers may be added later.
INGEST_TRIGGER_ROOT     =   ! Eg: <root directory>/ing/trigger/  - REGR
INGEST_HST_TRIGGER_DIR  =   ! Eg: <root directory>/ing/trigger/hst/ - REGR

! 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. 
INGEST_SOURCE_DIR       =   ! <root directory>/ing/trigger/source/ - REGR
OVERRIDE_REQUIRED       = N ! Must be Y for REGR pipeline. 
                            ! Change to Y only for special pipelines.
                            
! This value must be equivalent to <INGEST_PATH_ROOT>/dlg
DLG_INGEST_PATH         =   ! <root directory>/ing/dlg/  - REGR

! 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  =         ! <opus path name>  - REGR
REMOTE_FGS_PATH   =         ! <fgs path name>   - REGR
REMOTE_CDBS_PATH  =         ! <cdbs path name>  - REGR
REMOTE_PDR_PATH   =         ! <pdr path name>   - REGR
REMOTE_AST_PATH   =         ! <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
SERVER_URL     =            ! Eg: <http://ess.stsci.edu/teams/dsb/dads_ops/idrConfig.txt>
NSA_PATH_ROOT  =            ! <root where NSA communication files are kept> -REGR
PROXY_LOG_FILE =            ! <name of the proxy log file object> -REGR
LINK_FILE_DIR  =            ! <name of sub directory created for request link file>
nsa_password   = 'Ingest pipeline requires an NSA Password for datamgr'
operator_email_list = ''    ! <email names; can leave off @stsci.edu, if local>
