From 09f45046eca5e31c7f569069266f948e9370946b Mon Sep 17 00:00:00 2001 From: Kaushik Malapati Date: Fri, 7 Aug 2026 21:28:57 -0700 Subject: [PATCH] replacing pscaa with psctlws01 --- scripts/archive-details.py | 2 +- scripts/archive-resume | 2 +- scripts/archive-status | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/archive-details.py b/scripts/archive-details.py index bd91033a..f56c5647 100644 --- a/scripts/archive-details.py +++ b/scripts/archive-details.py @@ -43,7 +43,7 @@ def main(): ] pv = args.pv - request_str = "http://pscaa01.slac.stanford.edu:17665/mgmt/bpl/getPVDetails?pv={}".format(pv) + request_str = "http://psctlws01.pcdsn:8329/mgmt/bpl/getPVDetails?pv={}".format(pv) resp = requests.get(request_str) if args.json: # Had to use .text and json library rather than .json() to get diff --git a/scripts/archive-resume b/scripts/archive-resume index 10d735ae..df9b2f09 100755 --- a/scripts/archive-resume +++ b/scripts/archive-resume @@ -18,6 +18,6 @@ if [[ ($1 == "--help") || ($1 == "-h") ]]; then exit 0 fi -result=$(curl -s "http://pscaa01.slac.stanford.edu:17665/mgmt/bpl/resumeArchivingPV?pv=$1") +result=$(curl -s "http://psctlws01.pcdsn:8329/mgmt/bpl/resumeArchivingPV?pv=$1") formatted_result=$(echo "$result" | cut -d'{' -f2 | cut -d '}' -f1 | tr ',' '\n') printf "\n%s\n" "$formatted_result" diff --git a/scripts/archive-status b/scripts/archive-status index 828af634..4a0aef6b 100755 --- a/scripts/archive-status +++ b/scripts/archive-status @@ -18,6 +18,6 @@ if [[ ($1 == "--help") || ($1 == "-h") ]]; then exit 0 fi -result=$(curl -s "http://pscaa01.slac.stanford.edu:17665/mgmt/bpl/getPVStatus?pv=$1") +result=$(curl -s "http://psctlws01.pcdsn:8329/mgmt/bpl/getPVStatus?pv=$1") formatted_result=$(echo "$result" | cut -d'{' -f2 | cut -d '}' -f1 | tr ',' '\n') printf "\n%s\n" "$formatted_result"