From: demx8as6 Date: Fri, 21 Oct 2022 11:26:45 +0000 (+0200) Subject: Add test script for o1NotifyPnfRegistration X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=5318006d6a9d2256648ba8b537a8cc38c2907bd5;p=oam.git Add test script for o1NotifyPnfRegistration - update existing bash IssueID: OAM-302 Change-Id: I3517627f3178500347739c3d7b550155671e0c9a Signed-off-by: demx8as6 --- 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