aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-06-15Merge "Fix bug about custom exceptions not being used"Vijay Venkatesh Kumar6-242/+157
2018-06-12Replace shell build scripts with Maven solutionPiotr Bochenski2-91/+84
Remove dead bash code that is being executed during Maven build phases and reimplement Docker interaction using plain Maven solution. This change simplifies build procedure and allows developers to easily build, run and test their own self-built VES image on local machine. Issue-ID: DCAEGEN2-534 Change-Id: I63eb150406b78a71a55fdc728a4fbb4e1a4e6554 Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
2018-06-11Merge "Refactor tests to check actual behavior of methods"Vijay Venkatesh Kumar4-193/+153
2018-06-11Fix bug about custom exceptions not being usedPawelSzalapski6-242/+157
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-11Fix tests to not create files in repositoryPawelSzalapski3-203/+175
While we run unittests, they create files directly inside the repository, those files are later proposed as changes to commit. Change-Id: Iffcb3820959f85099d3fe0ab9db1a198f8f60d78 Issue-ID: DCAEGEN2-524 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-06-11Refactor tests to check actual behavior of methodsPawelSzalapski4-193/+153
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 Kumar6-394/+81
2018-06-08Merge "Refactored event processor + sonar"Vijay Venkatesh Kumar6-279/+401
2018-06-08Merge "Refactor tests to check actual behavior of methods"Vijay Venkatesh Kumar3-105/+54
2018-06-08Refactored event processor + sonarKrysiak Adam Gabriel6-279/+401
Issue-ID: DCAEGEN2-521 Change-Id: I9290f21701945cd1bb5e7a43a671991417f25491 Signed-off-by: Krysiak Adam Gabriel <adam.krysiak@nokia.com>
2018-06-06Merge "Remove tests that do not actually test anything"Vijay Venkatesh Kumar1-131/+15
2018-06-06Remove tests that do not actually test anythingPawelSzalapski1-131/+15
Testcases in this file are written in a way that they always throw exceptions, information about this is logged and the assertion is always true. Change-Id: Icbb0b6d4df9782e3a05f8d31fc71886a12a0105a Issue-ID: DCAEGEN2-524 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-06-06Refactor tests to check actual behavior of methodsPawelSzalapski3-105/+54
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-06Refactor DMaaPPropertyReader testsPawelSzalapski1-41/+27
DMaaPPropertyReader tests had no meaningful assert statements Tests for actual topic retrieval were added Change-Id: Ieb861f02d8484ac4bfd5a49b3c70d296bd2c129b Issue-ID: DCAEGEN2-524 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-06-06Simplify & remove duplicated testcasesPawelSzalapski6-394/+81
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 Jaszczyk7-262/+569
* 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 VK2-212/+294
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 VK7-292/+540
Change-Id: I7a3b52c454442d6a9f93331142b78bf671ffcd0a Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-373
2018-02-21additional coverageVijay VK3-59/+118
Change-Id: Ibaf0bef19e447162233217b0aa44c04cbe550dce Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-21fix sonar issue and additional testVijay VK6-747/+831
Change-Id: If32e2319c71b947b7e5c68410f32b19ba5ac8125 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-20Change default DMaaP hostnameLusheng Ji1-1/+5
The changes are for the purpose of allowing DMAAPHOST environmental variable to accept either hostname and IP address. If it is IP address, the resolution for default dmaap hostname is written to /etc/hosts; if hostname,an alias is created in /etc/host.aliases for the default dmaap hostname. (for the hostname aliasing to work, chnage default dmaap hostname to onap-dmaap, no domain). Change-Id: I58583cc5b678a29b54d8baecbd0b7bec621f7c8f Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-235
2018-02-20optimization and sonar fixesVijay VK4-469/+255
Change-Id: I47b2c429abc2a8c795f9faa7739d8d75f67ed287 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-18additional testcaseVijay VK2-275/+400
Change-Id: Ib4fcdf3754c43f4d1996ea50b888d976e728705a Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-14Fix keystore alais config and TCVENKATESH KUMAR16-493/+1079
Change-Id: I8e0349f411dc05625b14536afc0acb1fac9a55c2 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-227
2018-02-12Update license textLusheng Ji1-1/+18
Change-Id: I2c6da3d590caed0b847a3dca90e5013951689788 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-325
2018-01-20Optimize collector publish mechanismvagrant5-49/+272
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-07move data format spec to dpoVENKATESH KUMAR1-1/+1
Issue-ID: DCAEGEN2-212 Change-Id: Ie6c946a96de276574d9e2d6b20af38661f84130a Signed-off-by: VENKATESH KUMAR <vv770d@att.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 updatesvagrant9-263/+262
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-25remove dual port mappingVijay1-1/+1
Change-Id: Ia620f4a51dc6c0ffb16a85e0ea7587c49603f16b Issue-ID:DCAEGEN2-128 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 itemsVijay8-463/+452
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 vesVijay8-237/+431
Issue-ID:DCAEGEN2-82 Change-Id: Ic1ddd426545b3ccce331ec753dd6dbb7077babc9 Signed-off-by: Vijay <vv770d@att.com>
2017-09-20vescollector junit addonVijay10-553/+1105
Issue-ID:DCAEGEN2-82 Change-Id: I109a01ec7d4927e3fbce723355012d80290f2b48 Signed-off-by: Vijay <vv770d@att.com>
2017-09-18add junit for ves functionsVijay6-12/+233
Issue-ID:DCAEGEN2-82 Change-Id: Id416ce87a833b9dcc8ab471ebc4611059c2978c1 Signed-off-by: Vijay <vv770d@att.com>
2017-09-17Fixing checkstyle errorsBharat saraswal5-310/+271
(followed:onap-java-style) removed redundant code. Issue-Id:DCAEGEN2-92 Change-Id: Ie4741757f89357b31ce8968a6f7670db3014d528 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.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>