Wrong time format in VES client scripts 08/5808/2
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 26 Mar 2021 21:07:26 +0000 (22:07 +0100)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Fri, 26 Mar 2021 21:38:54 +0000 (21:38 +0000)
The time format mapping was changed from ms to µs.

IssueID: OAM-180
Change-Id: If7c00d17c5d0d5a49c78bd459055b99b742d0df9
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
solution/dev/ves-test-collector/client-scripts-ves-v7/config

index db1a28f..610ed55 100644 (file)
@@ -24,9 +24,9 @@ basicAuthVes=sample1:sample1
 
 ################################################################################
 # common generated event settings, please dont touch
-timestamp=$(date -u +%s%3N)
-timeInS=${timestamp:0:$((${#timestamp}-3))}
-timeMs=${timestamp:(-3)}
+timestamp=$(date -u +%s%6N)
+timeInS=${timestamp:0:$((${#timestamp}-6))}
+timeMs=${timestamp:(-6)}
 eventTime=$(date -u -d @$timeInS +'%Y-%m-%dT%H:%M:%S').$timeMs"Z"
 eventType="O_RAN_COMPONENT"