summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18VES collector application settings providerZlatko Murgoski7-109/+289
Extract application settings to diferent class First step to remove nsaServerLibrary Change-Id: Ib4fb236ac4683d241c7841ba66f1afbcfb10c92a Signed-off-by: ZlatkoMurgoski <zlatko.murgoski@nokia.com> Issue-ID: DCAEGEN2-566
2018-07-02Prepare codebase for dynamic DMaaP configurationPawelSzalapski14-685/+815
From now on, there is only one single place where we can create whole app core concerning sending events and it has a single entry point, based on DMaaP configuration. It can be used to rebuild part of app that is responsible for sending events dynamically. Changes are in scope for the dynamic DMaaP config feature. + bumped up code coverage a bit Change-Id: Iecc8c4e534ae9b781f47e3616409271ba83169c8 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-517
2018-06-24Remove dead code from VESCollectorPawelSzalapski13-353/+176
Many things there are unused or have inproper modifiers, spelling etc. I run static analysis tool (Intellij code inspect) and clear those things up. It will be easier to maintain now. No actual behavior changes were done. Issue-ID: DCAEGEN2-526 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Change-Id: I1a4ad0c896bd32165cba654344ffc5245648c615
2018-06-18Refactor DmaapPropertyReaderkoblosz3-203/+306
Issue-ID: DCAEGEN2-522 Signed-off-by: KOBLOSZ SANDRA <sandra.koblosz@nokia.com> Change-Id: I2d9928ff3ffeda0e204480f13e8c8bf91bddf912
2018-06-15Merge "Fix bug about custom exceptions not being used"Vijay Venkatesh Kumar4-181/+91
2018-06-11Fix bug about custom exceptions not being usedPawelSzalapski4-181/+91
The bug was that custom exception config was never actually queried because of the mismatch between the production code usages and .json config file. Change-Id: I416ef5f45770f9bb55d5dff143277b6c62fa25ba Issue-ID: DCAEGEN2-518 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-06-11Refactor tests to check actual behavior of methodsPawelSzalapski2-21/+24
Testcases were skimming through the code, but actually make no asserts. Change-Id: Icba8fe890c01fc11a4507ca468ab4d9b6141caf9 Issue-ID: DCAEGEN2-524 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-06-08Merge "Simplify & remove duplicated testcases"Vijay Venkatesh Kumar1-2/+2
2018-06-08Merge "Refactored event processor + sonar"Vijay Venkatesh Kumar3-147/+218
2018-06-08Refactored event processor + sonarKrysiak Adam Gabriel3-147/+218
Issue-ID: DCAEGEN2-521 Change-Id: I9290f21701945cd1bb5e7a43a671991417f25491 Signed-off-by: Krysiak Adam Gabriel <adam.krysiak@nokia.com>
2018-06-06Refactor tests to check actual behavior of methodsPawelSzalapski1-1/+1
Testcases were skimming through the code, but actually make no asserts. Change-Id: I3cab0a75c885e1e459b18066f13e351970f476b0 Issue-ID: DCAEGEN2-524 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-06-06Simplify & remove duplicated testcasesPawelSzalapski1-2/+2
Testcases in those files were overengineered, plus there were duplicates so they got simplified. Obsolete classes that were unneeded were removed Change-Id: I9fce325aed4f1a3a6073f0c564adac1ec5a6beae Issue-ID: DCAEGEN2-524 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-04-24Merge "Fixes in ConfigProcessors"v1.2.0beijingVijay Venkatesh Kumar1-154/+114
2018-04-24Fixes in ConfigProcessorsburdziak1-154/+114
Change-Id: I1d360fd371520bc34b9c99c667484eb5dad81e81 Issue-ID: DCAEGEN2-460 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-04-23Merge "Small Fixes in EventProcessor"Vijay Venkatesh Kumar1-8/+5
2018-04-23Small Fixes in EventProcessorburdziak1-8/+5
Change-Id: I545c2ab0fc46d6667b403e840bec2a1f0dde25d5 Issue-ID: DCAEGEN2-466 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-04-20Fixes in DmaapPropertyReaderburdziak1-25/+33
Change-Id: I12cd5be15e37b5c0fc93f71b8fbde90026b7aaec Issue-ID: DCAEGEN2-462 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-04-12Optimize and refactor EventPublisher class in VESPiotr Jaszczyk3-149/+229
* Remove need for having sendEvent synchronized by means of using Guava LoadingCache. The only thing that made it synchronized was the creation of new entries in the map but the synchronization was made on each incoming event. * Split the class to smaller classes which conform to SRP. This makes us able to... * ... write unit tests for affected classes * TODO: upgrade to Java8 so lambdas will simplify the code even more Change-Id: I14cf4cfab0570ce5aecc9a5e5dc9f541c499f9d7 Issue-ID: DCAEGEN2-440 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
2018-04-07fix default propertiesVijay VK1-2/+3
Change-Id: Iae00d76ac70d6fc318d54151f99ec58eb8188aac Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-434
2018-03-07sonar complaince updatesVijay VK1-5/+4
Change-Id: I3f1bee6b9ff072528246186a73ee5133f9a918aa Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-388
2018-03-01address clm-security issuesVijay VK1-1/+1
Change-Id: I7bfd3583b16c5f2b914a9b5f3cca2d3a07614895 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-360
2018-02-28fix CLM issue + logging updatesVENKATESH KUMAR2-6/+8
Change-Id: I73a1fdd0dc0624332fc799761e8681af7f19dd3c Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-360
2018-02-27Misc updates to collectorVijay VK2-50/+120
Change-Id: I7a3b52c454442d6a9f93331142b78bf671ffcd0a Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-373
2018-02-21fix sonar issue and additional testVijay VK3-486/+500
Change-Id: If32e2319c71b947b7e5c68410f32b19ba5ac8125 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-20optimization and sonar fixesVijay VK2-167/+1
Change-Id: I47b2c429abc2a8c795f9faa7739d8d75f67ed287 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-18additional testcaseVijay VK1-275/+277
Change-Id: Ib4fcdf3754c43f4d1996ea50b888d976e728705a Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-14Fix keystore alais config and TCVENKATESH KUMAR3-360/+397
Change-Id: I8e0349f411dc05625b14536afc0acb1fac9a55c2 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-01-20Optimize collector publish mechanismvagrant4-48/+202
Change-Id: I6d5fb2ad45257831e8e0ff62812df1fd1401464d Issue-ID: DCAEGEN2-281 Signed-off-by: Vijay VK <vv770d@att.com>
2018-01-05Modifier corrections for instance variableslibujacob3-13/+14
Removed toString() method for string datatypes Issue-ID: DCAEGEN2-207 Change-Id: I24d45fa312808333df7c42b85c277baa708bfa35 Signed-off-by: libujacob <libu.jacob@huawei.com>
2017-12-07code sync-up updatesVENKATESH KUMAR9-1271/+1162
Issue-ID: DCAEGEN2-212 Change-Id: Id72d2b1851ff4457295088609c355e19d19e3d73 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
2017-11-28code syncup with ECOMP updatesvagrant7-262/+258
Issue-ID: DCAEGEN2-212 Change-Id: Id388f26be57d2a12250a6845ed5678d0cebceed6 Signed-off-by: Vijay Venkatesh Kumar<vv770d@att.com>
2017-11-08fix memory leak for vescollectorv1.1.4v1.1.01.0.0-ONAP1.0.0-AmsterdamVijay1-1/+4
Issue-ID: DCAEGEN2-198 Change-Id: I09296ae4d13a0ad442bc139e69c13d19e4be0916 Signed-off-by: Vijay <vv770d@att.com>
2017-10-06Using multi-catch statements in EventPublisherKonstantinos Kanonakis1-14/+4
Issue-Id: DCAEGEN2-129 Change-Id: I501334e555e8c83a48525a5f1a059634c266f837 Signed-off-by: Konstantinos Kanonakis <konstantinos.kanonakis@huawei.com>
2017-09-27readme updates and logger changeVijay2-44/+44
Issue-Id:DCAEGEN2-82 Change-Id: I3c04a814576c6a758ff4489f13951374491e4c66 Signed-off-by: Vijay <vv770d@att.com>
2017-09-25fix merge error n sonar itemsVijay5-458/+410
https://jenkins.onap.org/job/dcaegen2-collectors-ves-master-merge-java/33/console Change-Id: I90693665dcf650028186a47ed69eaf15bc2f0d15 Issue-ID:DCAEGEN2-82 Signed-off-by: Vijay <vv770d@att.com>
2017-09-25Merge "Handled logs when exception is occured"Vijay Venkatesh Kumar1-71/+67
2017-09-25Handled logs when exception is occuredrama-huawei1-71/+67
Handled the constant names to match the regular expression DCAEGEN2-114 Change-Id: Idb2aafd9a99abb15011be347caff35f7f75ad7fa Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-21junit addon for vesVijay5-182/+217
Issue-ID:DCAEGEN2-82 Change-Id: Ic1ddd426545b3ccce331ec753dd6dbb7077babc9 Signed-off-by: Vijay <vv770d@att.com>
2017-09-20vescollector junit addonVijay4-553/+636
Issue-ID:DCAEGEN2-82 Change-Id: I109a01ec7d4927e3fbce723355012d80290f2b48 Signed-off-by: Vijay <vv770d@att.com>
2017-09-18add junit for ves functionsVijay1-1/+1
Issue-ID:DCAEGEN2-82 Change-Id: Id416ce87a833b9dcc8ab471ebc4611059c2978c1 Signed-off-by: Vijay <vv770d@att.com>
2017-09-17Fixing sonar issues.Bharat saraswal3-369/+336
removed redundant code. Issue-Id:DCAEGEN2-92 Change-Id: I98a64dcfb1d7d40617324ee0fc6d1a70e368cff9 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-17Fixing sonar and javadoc issues.Bharat saraswal2-199/+196
minor code refactoring. Issue-Id:DCAEGEN2-92 Change-Id: I9eef305391d09f92abf8beb58be0c8ee343b2fbb Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-17Fixing sonar issues.Bharat saraswal2-260/+278
removed redundant code. Issue-Id:DCAEGEN2-92 Change-Id: I7c006e51332713440e637dbac39f47075e803ea9 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-17Fixing sonar and javadoc issues.Bharat saraswal3-428/+424
minor code refactoring. Issue-Id:DCAEGEN2-92 Change-Id: I260c16ac8131a2fd3e31221b124a939c757de2d7 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-17Fixing sonar and javadoc issues.Bharat saraswal2-845/+815
minor code refactoring. Issue-Id:DCAEGEN2-92 Change-Id: I5210dedf8545b670feac8b1304e3fd8903c74749 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-07Update .gitreview LICENSE.txtLusheng Ji1-1/+0
Fix build error Issue-Id: DCAEGEN2-86 Change-Id: Iba1f2e3f5c5674c3b6911d8b489493a6fb5d8427 Signed-off-by: Lusheng Ji <lji@research.att.com> Signed-off-by: Vijay <vv770d@att.com>
2017-08-23dcaegen2 vescollector seedcodeVENKATESH KUMAR12-0/+2558
Initial seed code delivery for vescollector for support on the gen2dcae platform Issue-ID: DCAEGEN2-52 Change-Id: Id2477eb266f05caf64c67dd809b1ad146ff4fb92 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>