aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18VES collector application settings providerZlatko Murgoski11-119/+733
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 configurationPawelSzalapski29-1104/+1189
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 VESCollectorPawelSzalapski26-775/+474
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-20Merge "Refactor DmaapPropertyReader"Tony Hansen9-256/+580
2018-06-18fix build error for vescollectorVijay VK1-0/+2
Change-Id: I6f146ebcae6c439bf4f50d0486791b69006958f3 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-556
2018-06-18Refactor DmaapPropertyReaderkoblosz9-256/+580
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 Kumar8-287/+157
2018-06-12Replace shell build scripts with Maven solutionPiotr Bochenski7-1012/+516
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 usedPawelSzalapski8-287/+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 Kumar7-279/+407
2018-06-08Merge "Refactor tests to check actual behavior of methods"Vijay Venkatesh Kumar3-105/+54
2018-06-08Refactored event processor + sonarKrysiak Adam Gabriel7-279/+407
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-06-04Merge "Bumping up compiler source & target version"Vijay Venkatesh Kumar1-2/+2
2018-06-04Bumping up compiler source & target versionPawelSzalapski1-2/+2
Change-Id: Ied05f23627119af696eec3eafb15f6847d805ca8 Issue-ID: DCAEGEN2-520 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-05-31Merge "Switch base image to 'openjdk' in Dockerfile"Vijay Venkatesh Kumar1-4/+1
2018-05-30upgrade version for vesVijay VK2-2/+2
Change-Id: I3e176c0079ad14d044090b03b40f768665a3a834 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-539
2018-05-30Switch base image to 'openjdk' in DockerfilePiotr Bochenski1-4/+1
There is no need to install JDK inside Docker image since there are prebuild images already available. This way we can reduce build time and resulting Docker image size. Change-Id: I7fcc2ecc47614cb4e26aec120f2a4297cd9e6000 Issue-ID: DCAEGEN2-535 Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
2018-05-25Restructurize & reformat & clean up pom.xml.2.0.0-ONAP2.0.0-ONAPPawelSzalapski1-406/+379
Change-Id: I0781a268850b968ab6fb678f401233063e7c1f85 Issue-ID: DCAEGEN2-523 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-21Merge "upgrade tomcat jar for license issues"Lusheng Ji1-3/+3
2018-04-20upgrade tomcat jar for license issuesVijay VK1-3/+3
Change-Id: Icc9c269c3e39e11a646d15046b5a032dc7a8fd90 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-446
2018-04-20Fixes in DmaapPropertyReaderburdziak1-25/+33
Change-Id: I12cd5be15e37b5c0fc93f71b8fbde90026b7aaec Issue-ID: DCAEGEN2-462 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-04-16Merge "upgrade version for tomcat dependencies"Lusheng Ji1-9/+18
2018-04-16upgrade version for tomcat dependenciesVijay VK1-9/+18
Change-Id: Ife9aa875915c333b687c8f0e6cd32b6aa8928493 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-446
2018-04-16Merge "fix license header issues"Lusheng Ji8-3396/+1554
2018-04-12fix license header issuesVijay VK8-3396/+1554
Change-Id: I5ae7b2a6d404cc22e90f74d958f7b307da92b9e9 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-358
2018-04-12Optimize and refactor EventPublisher class in VESPiotr Jaszczyk8-262/+577
* 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-10Merge "fix default properties"Lusheng Ji3-4/+5
2018-04-07fix default propertiesVijay VK4-6/+7
Change-Id: Iae00d76ac70d6fc318d54151f99ec58eb8188aac Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-434
2018-04-02Fix docker tagLusheng Ji1-2/+2
Follow the docker tagging required by CIMAN. Issue-ID: DCAEGEN2-206 Change-Id: I013b2b33109e034bb329967198c8fd589c92ff92 Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-03-22add other domain default config for supporting prhVijay VK1-1/+9
Change-Id: I795a19d36e9426da904b891d0ff4188ede04dabf Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-409
2018-03-08enables https settingVijay VK2-6/+3
Change-Id: I05e988e6e42663bf09cd91cc5dde310cbe71effc Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-388
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-02address security issue reportedVijay VK2-2/+7
Change-Id: I6ad0916cb2d385b01eaaae5c76e99f1f7e81ea30 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-360
2018-03-01address clm-security issuesVijay VK2-392/+408
Change-Id: I7bfd3583b16c5f2b914a9b5f3cca2d3a07614895 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-360
2018-02-28fix CLM issue + logging updatesVENKATESH KUMAR3-24/+49
Change-Id: I73a1fdd0dc0624332fc799761e8681af7f19dd3c Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-360
2018-02-27Misc updates to collectorVijay VK8-293/+541
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