From 5318006d6a9d2256648ba8b537a8cc38c2907bd5 Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Fri, 21 Oct 2022 13:26:45 +0200 Subject: [PATCH] Add test script for o1NotifyPnfRegistration - update existing bash IssueID: OAM-302 Change-Id: I3517627f3178500347739c3d7b550155671e0c9a Signed-off-by: demx8as6 --- code/client-scripts-ves-v7/sendStndDefinedNotifyAlarm.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/client-scripts-ves-v7/sendStndDefinedNotifyAlarm.sh b/code/client-scripts-ves-v7/sendStndDefinedNotifyAlarm.sh index 647f35e..a1a0fbb 100755 --- a/code/client-scripts-ves-v7/sendStndDefinedNotifyAlarm.sh +++ b/code/client-scripts-ves-v7/sendStndDefinedNotifyAlarm.sh @@ -55,6 +55,7 @@ declare -A mapping=( echo "################################################################################"; echo "# send NotifyNewAlarm or NotifyClearedAlarm"; echo; +echo " alarmEventType: $raised" for key in "${!mapping[@]}" do #label=${${"$spaces$i"}:(-14)}; @@ -74,5 +75,3 @@ template="./json/templates/$domain-r16-notify-${raised,,}-alarm.json" sed -e "$sequence" $template > $body; curl -i -k -u $basicAuthVes -X POST -d @${body} --header "Content-Type: application/json" $urlVes - -#curl -i -k -u "sample1:sample1" -X POST -d @./json/examples/NSKY-lossOfSignal-CRITICAL-stndDefined.json --header "Content-Type: application/json" https://localhost:8443/eventListener/v7 \ No newline at end of file -- 2.16.6