From 4cb4989a51111ea9191bc2663949f3452bbacac4 Mon Sep 17 00:00:00 2001 From: ucar-tmeyer Date: Tue, 16 Jan 2024 23:40:16 +0000 Subject: [PATCH] Fix typo in path to qpidNotify.py and remove Unidata specific notifyAWIPS script --- .../Installer.ldm/patch/dev/checkFileTime.sh | 3 +-- .../patch/dev/notifyAWIPS2-unidata.py | 23 ------------------- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 rpms/awips2.upc/Installer.ldm/patch/dev/notifyAWIPS2-unidata.py diff --git a/rpms/awips2.upc/Installer.ldm/patch/dev/checkFileTime.sh b/rpms/awips2.upc/Installer.ldm/patch/dev/checkFileTime.sh index 223d01616b..7e38b643be 100755 --- a/rpms/awips2.upc/Installer.ldm/patch/dev/checkFileTime.sh +++ b/rpms/awips2.upc/Installer.ldm/patch/dev/checkFileTime.sh @@ -24,8 +24,7 @@ do # echo ${#files[@]} for file in "${files[@]}"; do - /awips2/python/bin/python /awips2/ldm/dev/notifyAWIPS2-unidata.py $file -# /awips2/python/bin/python /awips2/fxa/bin/src/qpidNotify.py $file + /awips2/python/bin/python /awips2/fxa/bin/src/qpidNotify/qpidNotify.py $file echo $file done done diff --git a/rpms/awips2.upc/Installer.ldm/patch/dev/notifyAWIPS2-unidata.py b/rpms/awips2.upc/Installer.ldm/patch/dev/notifyAWIPS2-unidata.py deleted file mode 100644 index 5d7c3a86d2..0000000000 --- a/rpms/awips2.upc/Installer.ldm/patch/dev/notifyAWIPS2-unidata.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/awips2/python/bin/python -#from ufpy import qpidingest -from sys import argv -from os import path -from awips.qpidingest import * - - -#read in command line argument as path -inPath = argv[1] -header = path.basename(inPath) - - -#make connection to QPID -#conn = qpidingest.IngestViaQPID(host='cpsbn1',port=5672,ssl=True) -conn = IngestViaQPID() - -#send message to QPID -print ("sending %s with a header of %s"%(inPath,header)) -conn.sendmessage(inPath,header) - -#close QPID connection -conn.close() -