summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorStanislav Marszalek <s.marszalek2@partner.samsung.com>2021-08-10 10:09:05 +0200
committerk.kedron <k.kedron@partner.samsung.com>2021-08-17 09:52:47 +0200
commit1f08f4c5771818f51f23c9eeff9a8d7a83783dc5 (patch)
tree20ff29736cc5a9fb9e4788c43dca52b9865a53dd /src/main/resources
parent00ba346231826874f460882516d1744e799f5df4 (diff)
PM Mapper output - granularityPeriod issue
Issue-ID: DCAEGEN2-2873 Signed-off-by: Stanislav Marszalek <s.marszalek2@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I02d3684c98d563d7f386de2fdf032e930ac12b3f
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/mapping.ftl3
-rw-r--r--src/main/resources/templates/org.3GPP.28.532#measData3
-rw-r--r--src/main/resources/templates/org.3GPP.32.435#measCollec3
3 files changed, 6 insertions, 3 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]!}",
diff --git a/src/main/resources/templates/org.3GPP.28.532#measData b/src/main/resources/templates/org.3GPP.28.532#measData
index a845cc8..8f86a78 100644
--- a/src/main/resources/templates/org.3GPP.28.532#measData
+++ b/src/main/resources/templates/org.3GPP.28.532#measData
@@ -2,6 +2,7 @@
<#--
============LICENSE_START=======================================================
Copyright (C) 2019-2020 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.measEntity.@userLabel[0]!}",
"measuredEntityDn": "${measData.measEntity.@localDn[0]!}",
"measuredEntitySoftwareVersion": "${measData.measEntity.@swVersion[0]!}",
diff --git a/src/main/resources/templates/org.3GPP.32.435#measCollec b/src/main/resources/templates/org.3GPP.32.435#measCollec
index 422977e..98fdd80 100644
--- a/src/main/resources/templates/org.3GPP.32.435#measCollec
+++ b/src/main/resources/templates/org.3GPP.32.435#measCollec
@@ -2,6 +2,7 @@
<#--
============LICENSE_START=======================================================
Copyright (C) 2019-2020 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]!}",