summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-06-02Fix merge build fail on docker buildRemigiusz Janeczek1-1/+1
Docker build was failing on git.commit.message.short label when commit message included double quote mark, which happens when auto-merging commits. Quotes around ${git.commit.message.short} were changed to single quote marks as those are used less frequently. Issue-ID: DCAEGEN2-2824 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I1f3622df233ff22a4c312ce1055cf8029880fa09
2021-04-14[DCAE/PM-Mapper] Utilize DMaaP-Client in PM-Mappertkogut12-111/+484
- 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-26Change openjdk baseOS img to integration-java11Alexander Mazuruk1-14/+14
Since 7.2.0 integration images switched over to alpine, adjusted Dockerfile to accomodate the switch. Benefits from switching over: * minimal {java11,python} images maintained by integration team * using currently "blessed by seccom" versions (:latest tag used) * should limit spread of legal issues across layers * integration images will be the first to have automated compliance documentation * should limit spread of base layers (contributing to deployment footprint - more base layers = more to download, more to store etc...) Issue-ID: INT-1864 Issue-ID: DCAEGEN2-2420 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: Iecf2654c6732d796c10838284f0882e8c34dac34
2021-03-17Incoming events cache - do not load files, which are in progress1.5.2Joanna Jeremicz4-1/+153
- 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 Wrobel4-14/+184
Issue-ID: DCAEGEN2-2600 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I04feb27698ef21196ab218de4bdd97be1fc85284
2021-02-09Add files processing config providerJoanna Jeremicz5-2/+180
- Add system variables provider - Add junit tests Issue-ID: DCAEGEN2-2600 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ib045270033f8f5ccbd99fc5ae30d0efa9a911a95
2020-10-27Fix bug where PM-Mapper waits 1s after sending every request1.4.2Remigiusz Janeczek1-2/+4
Issue-ID: DCAEGEN2-2500 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I441172ed0d2957ef58c2ba40718ec79328c48da2
2020-09-17Fix Docker build issue1.4.1JoeOLeary1-1/+0
Issue-ID: DCAEGEN2-2437 Change-Id: I163903c8628c4eb0e35db2198d698051f57c3011 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2020-08-20Update Config AcquisationJoeOLeary4-24/+43
Issue-ID: DCAEGEN2-2341 Change-Id: I3fc431d563e668cbc2bd4a1dd03e30ca908fed0b Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2020-07-31Add message in info level (Received pm-mapper configuration from ↵marcinrzepeckiwroc1-2/+1
ConfigBinding Service) - log needed to validate CSIT tests Issue-ID: DCAEGEN2-2343 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I71bb9f3208d9f1a36c88cb917e5ec7fa861791ce
2020-07-30Support 28.532 file naming conventionmarcinrzepeckiwroc2-28/+64
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'Leary46-219/+301
2020-07-20Adjust pm-mapper to accept new schema.Mateusz Gołuchowski46-219/+301
- 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 mechanismmarcinrzepeckiwroc8-42/+278
Issue-ID: DCAEGEN2-2347 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I3fdbae33ae318800ccc2758a191604fe79c2aaf4
2020-07-17Merge "Change log level for telemetry file from INFO to Debug"Joseph O'Leary1-5/+4
2020-07-15Change log level for telemetry file from INFO to Debugmarcinrzepeckiwroc1-5/+4
Issue-ID: DCAEGEN2-1958 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I57a20b2efd12074dd15c22917e39a9154a0d9316
2020-07-13PM Mapper hide passwords in logsmarcinrzepeckiwroc5-7/+29
Issue-ID: DCAEGEN2-2343 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I5bf7d187404e262594228bb0e03db0749cbf84b2
2020-07-06Fix docker buildRemigiusz Janeczek1-1/+1
Issue-ID: DCAEGEN2-2334 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I9315edabe03e7958ff9fb6ef30787f7604117800
2020-06-23Migrate to Java 11JoeOLeary8-22/+21
Issue-ID: DCAEGEN2-2282 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech> Change-Id: Iadd6cb2ede9b900ce5b83afcb68dab8ae27e54f9
2020-02-27Fix PM Mapper certficate handling1.3.1dfarrelly24-81/+44
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.532JoeOLeary96-648/+2527
Issue-ID: DCAEGEN2-1912 Change-Id: If05c3673a240e6ea5e3d1caca3ff5bf5828590d3 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-10-10Fix filter config as an objectJoeOLeary4-13/+146
* 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-22Reduce technical debt, by removing some code smellsJoeOLeary7-102/+89
Issue-ID: DCAEGEN2-1731 Change-Id: I3d0f8596d2b62300be452992d8020f4cee559ad4 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-08-21Reduce technical debtJoeOLeary25-1765/+386
* Improve code coverage * Remove sonar smells Issue-ID: DCAEGEN2-1731 Change-Id: Iefc7c18dc9daf1d60a498db4c4c5660d8acca779 Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
2019-07-24Align PM Mapper to new build guidelinesdfarrelly7-60/+103
*Switch to Fabric8 docker maven plugin *Add git commit plugin *Remove shaded jar *Remove some unused imports *Add a human readable log file Issue-ID: DCAEGEN2-1683 Change-Id: I1028f3195d3f03a9d919c91073398b01ccd6d7d1 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-07-19Add DMaaP plugin supportJoeOLeary47-816/+1872
- 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-07-11PM-Mapper creates too many ssl_client processesejamcud2-1/+3
Issue-ID: DCAEGEN2-1615 Signed-off-by: ejamcud <james.cuddy@est.tech> Change-Id: I33bd310eae0f7aac21a9c0fd86dcc8fc99896a89
2019-06-20Fix log files not getting rolled overemartin1-1/+1
Issue-ID: DCAEGEN2-1534 Change-Id: I9ae5d860c46d6b71c8001134017bb7e2ff4355b9 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-05-08Update base image and versiondfarrelly1-1/+1
*Update base docker image *Update versions *Fix incorrect MR hostname Issue-ID: DCAEGEN2-1486 Change-Id: Ia19aaff23963dcf4abd93e68010c44d5e0498188 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2019-05-07Fix invocationId usage, trim whitespaces from VESemartin2-3/+6
*Set InvocationId from existing component *Remove extra whitespaces from output VES Change-Id: Ib3221ddc0dcf917828bfccfd05bd66de6cb0dac5 Issue-ID: DCAEGEN2-1460 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-23Fix minor bugs in ves publisher1.0.0emartin5-14/+49
* 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 fieldemartin4-9/+2
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 Andersson5-19/+112
2019-04-09Merge "Fix required config validation"Henrik Andersson4-37/+60
2019-04-08Remove subscription through Bus Controllerdfarrelly19-764/+422
*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 measValueemartin5-19/+112
Change-Id: I8f81510445edf276561645bdd4549a8c18207b57 Issue-ID: DCAEGEN2-1327 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-04-05Fix required config validationemartin4-37/+60
*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 HTTPSdfarrelly17-192/+689
*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 Andersson2-2/+21
2019-04-02Merge "Fix mapping issue with type C files"Henrik Andersson5-10/+28
2019-04-02Handle non-xml PM filesemartin2-2/+21
*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 filesemartin5-10/+28
Change-Id: I698b84989dc928a09ff5e1c54adf236edd40b622 Issue-ID: DCAEGEN2-1038 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-27Enable MapperConfig to be reconfigurableemartin3-1/+30
Change-Id: Ifa4a186e85cb85758d70a9eb5437d9893f236427 Issue-ID: DCAEGEN2-1357 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-22Publish VES event to MessageRouter via httpemartin7-22/+245
Change-Id: Ic5ed1fad1182e7343f213488c4015d2683ab8ddc Issue-ID: DCAEGEN2-1273 Signed-off-by: emartin <ephraim.martin@est.tech>
2019-03-14Integrate split and filter in main Appemartin11-54/+382
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 Hansen5-0/+248
2019-03-13Merge "Update mapping"Tony Hansen4-6/+99
2019-03-13Split typeC XML to multiple Type Aemartin5-0/+248
*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 ConfigurationJoeOLeary11-40/+586
*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 mappingJoeOLeary4-6/+99
*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>