summaryrefslogtreecommitdiffstats
path: root/src/main/resources/mapping.ftl
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2021-08-18 12:49:37 +0000
committerGerrit Code Review <gerrit@onap.org>2021-08-18 12:49:37 +0000
commit3fed8c65b87599dba92f4f878b026419f609f15a (patch)
treecd30d35d60001f22fff735ccaca884e464254e58 /src/main/resources/mapping.ftl
parenta800ace09fe6ebe64cc455e4ba5ccb3abcfd79fc (diff)
parent1f08f4c5771818f51f23c9eeff9a8d7a83783dc5 (diff)
Merge "PM Mapper output - granularityPeriod issue"1.7.1
Diffstat (limited to 'src/main/resources/mapping.ftl')
-rw-r--r--src/main/resources/mapping.ftl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/mapping.ftl b/src/main/resources/mapping.ftl
index ca6fce8..4d3b9b7 100644
--- a/src/main/resources/mapping.ftl
+++ b/src/main/resources/mapping.ftl
@@ -2,6 +2,7 @@
<#--
============LICENSE_START=======================================================
Copyright (C) 2019 Nordix Foundation.
+ Copyright (C) 2021 Samsung Electronics.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -115,7 +116,7 @@
<#macro measDataCollection>
{
- "granularityPeriod": ${measData.measInfo.granPeriod.@endTime[0]!?datetime?long?c},
+ "granularityPeriod": ${measData.measInfo.granPeriod.@durationInSeconds[0]!},
"measuredEntityUserName": "${measData.managedElement.@userLabel[0]!}",
"measuredEntityDn": "${measData.managedElement.@localDn[0]!}",
"measuredEntitySoftwareVersion": "${measData.managedElement.@swVersion[0]!}",