From 4c6b4d1660aa0a1dfcb04c472befeb456f383168 Mon Sep 17 00:00:00 2001 From: demx8as6 Date: Fri, 26 Mar 2021 22:07:26 +0100 Subject: [PATCH] Wrong time format in VES client scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The time format mapping was changed from ms to µs. IssueID: OAM-180 Change-Id: If7c00d17c5d0d5a49c78bd459055b99b742d0df9 Signed-off-by: demx8as6 --- solution/dev/ves-test-collector/client-scripts-ves-v7/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solution/dev/ves-test-collector/client-scripts-ves-v7/config b/solution/dev/ves-test-collector/client-scripts-ves-v7/config index db1a28f..610ed55 100644 --- a/solution/dev/ves-test-collector/client-scripts-ves-v7/config +++ b/solution/dev/ves-test-collector/client-scripts-ves-v7/config @@ -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" -- 2.16.6