The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [1.10.0] - 2023/01/11
+### Changed
+- [DCAEGEN2-3190] Bug fix:
+ - PM-mapper is not able to map the input data from xml file from measType to measTypes.
+ - As it is taking the p value from the input xml, it is no longer sequential.
+
## [1.9.0] - 2022/05/13
### Changed
- [DCAEGEN2-3218] Fix vulnerabilities:
Copyright (C) 2019-2020 Nordix Foundation.
Copyright (C) 2020-2022 Nokia. All rights reserved.
Copyright (C) 2021 Samsung Electronics. All rights reserved.
+ Copyright (C) 2023 Deutsche Telekom AG. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
<groupId>org.onap.dcaegen2.services</groupId>
<artifactId>pm-mapper</artifactId>
- <version>1.9.0-SNAPSHOT</version>
+ <version>1.10.0-SNAPSHOT</version>
<name>dcaegen2-services-pm-mapper</name>
============LICENSE_START=======================================================
Copyright (C) 2019-2020 Nordix Foundation.
Copyright (C) 2021 Samsung Electronics.
+ Copyright (C) 2023 Deutsche Telekom AG. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
{
"sMeasTypesList":[
<#if measInfo.measType?has_content>
- <#list measInfo.measType as measType>
+ <#list measInfo.measType?sort_by("number(@p)") as measType>
"${measType}"<#sep>,</#sep>
</#list>
<#else>
"suspectFlag": "${measValue.suspect[0]! "false"}",
"measResults": [
<#if measValue.r?has_content>
- <#list measValue.r as r>
+ <#list measValue.r?sort_by("number(@p)") as r>
{
- "p": ${r.@p},
+ "p": ${r?index+1},
"sValue": "${r}"
}<#sep>,</#sep>
</#list>
============LICENSE_START=======================================================
Copyright (C) 2019-2020 Nordix Foundation.
Copyright (C) 2021 Samsung Electronics.
+ Copyright (C) 2023 Deutsche Telekom AG. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
{
"sMeasTypesList":[
<#if measInfo.measType?has_content>
- <#list measInfo.measType as measType>
+ <#list measInfo.measType?sort_by("number(@p)") as measType>
"${measType}"<#sep>,</#sep>
</#list>
<#else>
"suspectFlag": "${measValue.suspect[0]! "false"}",
"measResults": [
<#if measValue.r?has_content>
- <#list measValue.r as r>
+ <#list measValue.r?sort_by("number(@p)") as r>
{
- "p": ${r.@p},
+ "p": ${r?index+1},
"sValue": "${r}"
}<#sep>,</#sep>
</#list>
"measDataCollection": <@measDataCollection/>
}
</#macro>
-</#compress>
\ No newline at end of file
+</#compress>
major=1
-minor=9
+minor=10
patch=0
base_version=${major}.${minor}.${patch}
release_version=${base_version}