Add test script for o1NotifyPnfRegistration 42/9342/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 21 Oct 2022 11:26:45 +0000 (13:26 +0200)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 21 Oct 2022 11:26:50 +0000 (13:26 +0200)
- update existing bash

IssueID: OAM-302
Change-Id: I3517627f3178500347739c3d7b550155671e0c9a
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
code/client-scripts-ves-v7/sendStndDefinedNotifyAlarm.sh

index 647f35e..a1a0fbb 100755 (executable)
@@ -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