summaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2021-08-25Fix sonar issues in PM MapperStanislav Marszalek4-19/+30
Issue-ID: DCAEGEN2-2887 Signed-off-by: Stanislav Marszalek <s.marszalek2@partner.samsung.com> Change-Id: I02d3684c98d563d7f386de2fdf032e930ac18b9f
2021-04-14[DCAE/PM-Mapper] Utilize DMaaP-Client in PM-Mappertkogut6-48/+215
- Bump mockserver libraries - Use dmaap-client for sending events to dmapp-mr - Extract Retry/Timeout configs to separate class - Extract logging utils to separate class Issue-ID: DCAEGEN2-2732 Change-Id: I5d406e99fe1def078f102ff704df5312f5ae996b Signed-off-by: tkogut <tomasz.kogut@nokia.com>
2021-03-17Incoming events cache - do not load files, which are in progress1.5.2Joanna Jeremicz1-0/+63
- Implement singleton cache for events being processed - Add JUnit tests - Bump snapshot version 1.5.1 -> 1.5.2 Issue-ID: DCAEGEN2-2659 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I79f32554a8c67d91d0d7b601bc8b060ff4984eab
2021-02-09Add configuration number of threads in files processing.Tomasz Wrobel2-6/+102
Issue-ID: DCAEGEN2-2600 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I04feb27698ef21196ab218de4bdd97be1fc85284
2021-02-09Add files processing config providerJoanna Jeremicz1-0/+66
- Add system variables provider - Add junit tests Issue-ID: DCAEGEN2-2600 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ib045270033f8f5ccbd99fc5ae30d0efa9a911a95
2020-07-30Support 28.532 file naming conventionmarcinrzepeckiwroc1-5/+8
Issue-ID: DCAEGEN2-2351 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I5a281b352832ed05f656b5da39ec4df25fdb67c5
2020-07-20Merge "Adjust pm-mapper to accept new schema."Joseph O'Leary40-161/+199
2020-07-20Adjust pm-mapper to accept new schema.Mateusz Gołuchowski40-161/+199
- Replaced 28.550 schema and template with 28.532 standard - Adjusted class for new schema - Adjusted xml files for tests - validate method will now throw exception when given fileFormatType is not supported Issue-ID: DCAEGEN2-2308 Change-Id: I375db2004887f1f634adac31d4d1af3675f5911c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-07-17implement regex support in PM Mapper filtering mechanismmarcinrzepeckiwroc6-6/+225
Issue-ID: DCAEGEN2-2347 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I3fdbae33ae318800ccc2758a191604fe79c2aaf4
2020-07-13PM Mapper hide passwords in logsmarcinrzepeckiwroc1-1/+0
Issue-ID: DCAEGEN2-2343 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I5bf7d187404e262594228bb0e03db0749cbf84b2
2020-06-23Migrate to Java 11JoeOLeary7-19/+15
Issue-ID: DCAEGEN2-2282 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech> Change-Id: Iadd6cb2ede9b900ce5b83afcb68dab8ae27e54f9
2020-02-27Fix PM Mapper certficate handling1.3.1dfarrelly23-75/+40
Remove decoding of keystore files Issue-ID: DCAEGEN2-2096 Signed-off-by: dfarrelly <david.farrelly@est.tech> Change-Id: Ieccf3c6bb44a87fac2ec3d2f5883a7b0a914e712
2020-01-21Add support for TS 28.550/28.532JoeOLeary77-265/+1234
Issue-ID: DCAEGEN2-1912 Change-Id: If05c3673a240e6ea5e3d1caca3ff5bf5828590d3 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-10-10Fix filter config as an objectJoeOLeary2-13/+87
* Add use exisiting to DR feed * Add resource configuration * Add support for filter config as escaped JSON string Issue-ID: DCAEGEN2-1826 Change-Id: Ie4fe45e0443af8eb4d859e66609aa6cbffd0e920 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-08-21Reduce technical debtJoeOLeary10-51/+103
* Improve code coverage * Remove sonar smells Issue-ID: DCAEGEN2-1731 Change-Id: Iefc7c18dc9daf1d60a498db4c4c5660d8acca779 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-07-19Add DMaaP plugin supportJoeOLeary34-601/+1548
- Update blueprint with DMaaP plugin support. - Update configuration with new DMaaP plugin format. - Move Configuration tests to correct package. - Add latest-staging Docker image tag to pom. - Change file endings in some files to LF. - Remove publishing to non authenticated topic. - Fix some tests which were not executing correctly. - Fix some Sonar smells. Issue-ID: DCAEGEN2-1581 Change-Id: I37fbb662419179e3fe9fb8bdf710d6a6e8f0308a Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-04-23Fix minor bugs in ves publisher1.0.0emartin1-2/+3
* Publisher now uses existing RequestID * Introduce basicAuth for publisher * Clean up ves string by removing new lines * Update pm-mapper topic name in blueprint * Update reconfigure script to use https Change-Id: Ib743127b04077b063c73415b1475be83e200ec3b Issue-ID: DCAEGEN2-1444 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-15Fix mapping localDn to be optional fieldemartin3-8/+1
Change-Id: I7d1d4b75ac18e42633206dd5870afeb01a3bc504 Issue-ID: DCAEGEN2-1435 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-09Merge "Fix issue with filtering multiple measValue"Henrik Andersson3-0/+80
2019-04-09Merge "Fix required config validation"Henrik Andersson2-26/+28
2019-04-08Remove subscription through Bus Controllerdfarrelly10-419/+260
*Remove DR subscription through Bus Controller *Add remaining data consumed indicators *Blueprint and Config updates to remove subscription Issue-ID: DCAEGEN2-1038 Change-Id: I8cee463a27156fa656b0e66ef3ee231daeeda8bc Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-04-05Fix issue with filtering multiple measValueemartin3-0/+80
Change-Id: I8f81510445edf276561645bdd4549a8c18207b57 Issue-ID: DCAEGEN2-1327 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-05Fix required config validationemartin2-26/+28
*Nested objects and list validation Change-Id: Icf615a610dd6e669d66ae07adc1316ca167a671b Issue-ID: DCAEGEN2-1327 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-03Add support for HTTPSdfarrelly6-6/+190
*Add AAF certificates *Switch PM Mapper endpoints to HTTPS *Make external API calls secure if applicable Issue-ID: DCAEGEN2-1296 Change-Id: I63aef8a93cfe6d6a37dcd32496b35ed0841cec4b Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-04-02Merge "Handle non-xml PM files"Henrik Andersson1-1/+1
2019-04-02Merge "Fix mapping issue with type C files"Henrik Andersson3-7/+21
2019-04-02Handle non-xml PM filesemartin1-1/+1
*Non-xml files will not be mapped to VES Change-Id: Ice1b901576be4da0593f38eb2c0b4e4676b6019e Issue-ID: DCAEGEN2-1327 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-02Fix mapping issue with type C filesemartin3-7/+21
Change-Id: I698b84989dc928a09ff5e1c54adf236edd40b622 Issue-ID: DCAEGEN2-1038 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-27Enable MapperConfig to be reconfigurableemartin1-0/+16
Change-Id: Ifa4a186e85cb85758d70a9eb5437d9893f236427 Issue-ID: DCAEGEN2-1357 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-22Publish VES event to MessageRouter via httpemartin1-0/+89
Change-Id: Ic5ed1fad1182e7343f213488c4015d2683ab8ddc Issue-ID: DCAEGEN2-1273 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-14Integrate split and filter in main Appemartin5-31/+242
Change-Id: I9da0852072409854118e46aba63c491bdd53fd28 Issue-ID: DCAEGEN2-1038 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-13Merge "Split typeC XML to multiple Type A"Tony Hansen3-0/+168
2019-03-13Merge "Update mapping"Tony Hansen3-0/+90
2019-03-13Split typeC XML to multiple Type Aemartin3-0/+168
*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>
2019-03-13Add Dynamic ConfigurationJoeOLeary3-14/+322
*Implement Configurable in DataRouter subscriber *Add reconfigure.sh *Update Dockerfile to use reconfigure.sh Issue-ID: DCAEGEN2-1038 Change-Id: I9ce387819afff644c3dc76a94786fa1f95afd985 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-03-13Update mappingJoeOLeary3-0/+90
*Add support for multiple measvalue *Fix failure when optional attribute swVersion missing Issue-ID: DCAEGEN2-1038 Change-Id: I2408c0134a5d5bb2d90ad85ae2eac600fa89d52b Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-03-13Add metadata filteringdfarrelly6-2/+202
Issue-ID: DCAEGEN2-1286 Change-Id: Icfee7f24cb97b429e8b0db2d67da2f21e413cea0 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-03-05Added Filtering of Measurement fileemartin13-5/+524
Change-Id: I32cd7147c20cbee7273d7c7180a06d9f2fdf620b Issue-ID: DCAEGEN2-1288 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-01Update DataRouter SubscriberJoeOLeary3-8/+141
*Update metadata header key to match new datarouter specification *Update subscriber to be a privileged subscriber *Update subscriber to improve logging & remove sonar smells *Update delivery end point to match datarouter specification *Update event to include the publish id provided by datarouter *Add datarouter event processed utility Issue-ID: DCAEGEN2-1038 Change-Id: Iafce544f31f888de53547de8b280faebd8075d4c Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-02-25Update configurationdfarrelly1-5/+5
- Change feed input name - Add DR Delete endpoint - Add streams subscribes object - Update environment config to use variables Issue-ID: DCAEGEN2-1248 Change-Id: I7b463b77cf319993a1d0bed60574d5e6904c1c7c Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-02-22Add support for parallel event handlingJoeOLeary1-0/+66
*Add support for parallel event handling *Add support for handling backpressure *Update delivery end point Issue-ID: DCAEGEN2-1268 Change-Id: Id467080fa135b58f2d3e366f00fd8ad5e1c6ec06 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-02-19Merge "Fix DataRouter Subscriber NPE on No Metadata"Tony Hansen1-0/+4
2019-02-19Add XML validationJoeOLeary4-3/+120
Issue-ID: DCAEGEN2-1217 Change-Id: Ic76885ab1c8e020a2bded05a264092684a747461 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-02-18Fix DataRouter Subscriber NPE on No MetadataJoeOLeary1-0/+4
Issue-ID: DCAEGEN2-1232 Change-Id: I692d65c460f2974535d5b9addc4d889c530cf951 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-02-15Add MappingJoeOLeary8-8/+2980
Change-Id: I417b7fe9d0e588c6c38dc23eb55e43a85e277e81 Issue-ID: DCAEGEN2-1216 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-02-12Fix mapper configuration to use CBSemartin6-132/+132
Change-Id: I17bb9577ac2dd9267eeade948e5bf05cdadbac57 Issue-ID: DCAEGEN2-1186 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-02-08Improve ONAP logging complianceemartin4-26/+107
Change-Id: I677977f592407d17c7cbd35b034785803c35d327 Issue-ID: DCAEGEN2-1166 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-01-29Fetch mapper config from configbinding serviceemartin6-1/+376
Change-Id: I69e654719969f2d0ef6e7c8adb4806aac9c1e898 Issue-ID: DCAEGEN2-1081 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-01-28POM UpdatesJoeOLeary1-46/+47
*Added the ONAP parent POM to the project POM *Introduced support for building and pushing Docker images in the POM *Added basic Dockerfile *Updated source to comply with checkstyles in parent POM Change-Id: Ieabd0a911359b107ea0a5b2e65ca3260f990e3cd Issue-ID: DCAEGEN2-1123 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-01-22Add DataRouter SubscriberJoeOLeary4-0/+249
Change-Id: I7f81c3d7249dcfcf00e2c7f3272f478d2346397d Issue-ID: DCAEGEN2-1079 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>