Revert "Omaha #4716 Delta script to update stdtextproducts table." This reverts commitd4f70ae9a0
[formerly 3ea23877757542c60932838efebd30f43cd6addb]. Revert "Omaha #4716 Use IcaoMap to determine a site's ICAO Id." This reverts commit47aedb4641
[formerly 7a3312b61227798136e962305a1439d2f47fc468]. Revert "Omaha #4716 Fix NPE." This reverts commit63a431de8d
[formerly e46413899b050022d47e0294d2749a99274c6e56]. Revert "Omaha #4716 Triggers for ingest StdTextProducts now check for AWIPS PILs." This reverts commit235eea9437
[formerly 74c32b7cb7abc0036995228eb0d0a427e661026d]. Revert "Omaha #4716 Changes to textWS and textdb to support AWIPS ID." This reverts commit2227c881bd
[formerly 882063e694dc8f36fee23598904a27a25e09a258]. Conflicts: cave/com.raytheon.viz.texteditor/src/com/raytheon/viz/texteditor/dialogs/TextEditorDialog.java Former-commit-id: fdf099dc4bef3411e435de3a67f82e15826d8073
45 lines
1.6 KiB
Bash
Executable file
45 lines
1.6 KiB
Bash
Executable file
#!/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.
|
|
##
|
|
#------------------------------------------------------------------------
|
|
# Test Script for AFOS PIL Trigger
|
|
# Logs execution and product contents into a log file.
|
|
#------------------------------------------------------------------------
|
|
LOG_FILE=$EDEX_HOME/logs/afos-trigger.log
|
|
TIME_NOW=`date`
|
|
if [ -z $1 ]; then
|
|
echo "$TIME_NOW: invalid process call, no AFOS PIL provided" >> $LOG_FILE
|
|
exit 1
|
|
fi
|
|
AFOS_PIL=$1
|
|
if [ -z $FXA_DATA ]; then
|
|
echo "$TIME_NOW: invalid configuration, \$FXA_DATA not in environment" >> $LOG_FILE
|
|
exit 1
|
|
fi
|
|
FILE_PATH=$FXA_DATA/trigger/$AFOS_PIL
|
|
if [ ! -f $FILE_PATH ]; then
|
|
echo "$TIME_NOW: unable to find file matching AFOS PIL: $AFOS_PIL" >> $LOG_FILE
|
|
exit 1
|
|
fi
|
|
echo "$TIME_NOW: processing $AFOS_PIL" >> $LOG_FILE
|
|
echo "$TIME_NOW: file $FILE_PATH contents:" >> $LOG_FILE
|
|
cat $FILE_PATH >> $LOG_FILE
|
|
exit 0
|
|
|