Split typeC XML to multiple Type A 86/79786/3
authoremartin <ephraim.martin@est.tech>
Wed, 13 Mar 2019 18:09:21 +0000 (18:09 +0000)
committeremartin <ephraim.martin@est.tech>
Wed, 13 Mar 2019 18:09:21 +0000 (18:09 +0000)
commite8a1f80f07a618cb842d00b5263dde53d1f541c9
tree99a69b1c523554c5a95ebed549324023cbeccfe0
parent88adbc830c24f309c19fc5874654cc1cfaebc600
Split typeC XML to multiple Type A

*Split TypeC MeasFile to multiple TypeA by MeasData
*Create new Event for each TypeA

Change-Id: I22eb22c663c8491f3cae5e39e583ee2660647743
Issue-ID: DCAEGEN2-1281
Signed-off-by: emartin <ephraim.martin@est.tech>
src/main/java/org/onap/dcaegen2/services/pmmapper/model/MeasCollecFile.java
src/main/java/org/onap/dcaegen2/services/pmmapper/utils/MeasSplitter.java [new file with mode: 0644]
src/test/java/org/onap/dcaegen2/services/pmmapper/utils/MeasSplitterTest.java [new file with mode: 0644]
src/test/resources/split_test/meas_results_typeA.xml [new file with mode: 0644]
src/test/resources/split_test/meas_results_typeC.xml [new file with mode: 0644]