aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-17fix build errorsVENKATESH KUMAR1-490/+494
Change-Id: Ia2a0e1eb0b80a6d041a07f639e1c50fffc78c382 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-1229
2019-01-29Fix sonar violationZlatko Murgoski10-27/+67
Fix sonar violation Issue-ID: DCAEGEN2-1016 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com> Change-Id: I0db722972aeeb57ebb4b61b11f1e302f613890d5
2018-12-31Fix sonar violationZlatko Murgoski37-73/+65
Fix sonar violation' Change-Id: Ia5718d2bcbf9f5efea40d8250b7ad57f6d2eb2f3 Issue-ID: DCAEGEN2-1016 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-27Merge "Fix bug with processing event list"Vijay Venkatesh Kumar7-233/+257
2018-12-21Fix bug with processing event listZlatko Murgoski7-233/+257
DMaapEventPublisher processing of eventList Issue-ID: DCAEGEN2-1035 Change-Id: If62ec51d1dc1f0e501fda624dae23c7a83d3727b Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-19Merge "Remove clear text password"Michael Hwang3-5/+15
2018-12-14Merge "Simplify cli parser logic"Vijay Venkatesh Kumar2-18/+76
2018-12-14Remove clear text passwordZlatko Murgoski3-5/+15
Add common library to hash Issue-ID: DCAEGEN2-978 Change-Id: Ieb20f6a28aea3b9e8322df7b65b6441e12d4627a Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-12-12Merge "Remove clear text password"Vijay Venkatesh Kumar8-16/+28
2018-12-10Merge "Fix critical issues in dcaegen2-collectors-ves"Vijay Venkatesh Kumar2-3/+4
2018-12-10Simplify cli parser logicBogumil Zebek2-18/+76
Change-Id: I7008efe19f567b178dd296f4f485fd14c5e7569d Issue-ID: DCAEGEN2-1022 Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
2018-12-07Remove clear text passwordZlatko Murgoski8-16/+28
Change to SHA256 Change-Id: I1c41247cf4094523b61487cbce0030d585982b06 Issue-ID: DCAEGEN2-978 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-11-27TLS mutual authentication has been added.andrzejszukuc21-33/+673
Change-Id: I60ebe8e1b06d72413940935396cb7a56af437c0d Issue-ID: DCAEGEN2-959 Signed-off-by: ANDRZEJ SZUKUC <andrzej.szukuc@nokia.com>
2018-11-19Fix critical issues in dcaegen2-collectors-vesParshad Patel2-3/+4
Fix issue related to InterruptedException and equals comparisons between unrelated types Issue-ID: DCAEGEN2-938 Change-Id: Iaef089dfd889053737fa53616064f1a6ef3a929e Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-11-09Add spring boot bannerZlatko Murgoski2-6/+11
Add spring boot banner Change-Id: Icd3b637ad7ed9431d3258df96dfd1b64e0fc7f3b Issue-ID: DCAEGEN2-967 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-11-08Upgrade embeded TomcatZlatko Murgoski2-12/+1
Address VESCollector vulnerability reported R3 RC1 phase Change-Id: I78b82bd793bf59e13636b5534fabe484025071d9 Issue-ID: DCAEGEN2-927 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-11-06version update to avoid conflictVijay Venkatesh Kumar2-3/+3
Change-Id: Iaf21c264a80a157c07927704a54bced0dbc08987 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-937
2018-10-10ApiAuthInterceptor tests have been addedandrzejszukuc4-5/+184
Change-Id: Ieb42e8fa417ff3afb8acad3bd6c48a8287026a2e Issue-ID: DCAEGEN2-517 Signed-off-by: ANDRZEJ SZUKUC <andrzej.szukuc@nokia.com>
2018-09-11Fix build warnings & CLM scan issue3.0.0-ONAP1.3.1Vijay VK14-51/+83
Change-Id: I43629917f2d7bafb15258bdbba1cd45478595edb Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-603, DCAEGEN2-767 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
2018-09-04Add protocols to hostsJakub Zieba16-162/+275
Add default protocols for Consul hosts Add controller for healt check Fix for merging properties from file and Consul Change-Id: Ifa8c7cdfa333d8ffee175b5eb4446f0c3a986f27 Issue-ID: DCAEGEN2-747 Signed-off-by: Jakub Zieba <jakub.zieba@nokia.com>
2018-08-30Merge "Fix Docker image building misconceptions"Tony Hansen1-3/+3
2018-08-28Fix Docker image building misconceptionsPiotr Bochenski1-3/+3
1. Required packages can be installed in single apt-get run. 2. vim package is not necessary since there is vi already included in base image. 3. cmd was changed to entryPoint which breaks the ability to run image with different command as staring point (cmd is passed as an argument to entrypoint). Revert this change. Change-Id: I47e128a5702200efe7c51724d5f7c07acd8f21f9 Issue-ID: DCAEGEN2-736 Signed-off-by: Piotr Bochenski <piotr.bochenski@nokia.com>
2018-08-27Use managed guava versionGary Wu1-3/+3
Use centrally managed guava version specified in oparent. Includes upgrade to oparent 1.2.0. This change was submitted by script and may include additional whitespace or formatting changes. Change-Id: I50801cbeafc9023276c4b76391cc9021ad5a07ed Issue-ID: INT-619 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-08-23VES7.x to 5.x transformationPATRACHARI5-5/+478
Update transformation code based on Min's requirement. This includes all Measurement transformations. Issue-ID: DCAEGEN2-600 Change-Id: I082df846e159a4f158619e700a6dfed6de43cd95 Signed-off-by: PATRACHARI <gp2421@att.com>
2018-08-14Merge "Refactor the code base a bit"Lusheng Ji11-511/+204
2018-08-10Refactor the code base a bitPawelSzalapski11-511/+204
Remove potential race condition coming from shared 'version' veriable in singleton instance of RestController. Move the logic behind reading the json schemas out of a on-request phase to application startup. Minor refactoring done that will bump up test coverage. Change-Id: I2ad1ba91dafafd785ede61591a4dc146abf6a1eb Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-526
2018-08-09Update VES transformationPATRACHARI1-0/+54
Issue-ID: DCAEGEN2-600 Change-Id: Ib47e1e6af3116b8db8c38c76d3138654e0ffe60e Signed-off-by: PATRACHARI <gp2421@att.com>
2018-08-08VES 7.0.1 updatesVijay VK17-268/+7205
Initial commit to include the support for below - VES 7.1 API - updated spec and data-format - Response code update per new spec - springfox for swagger doc - New topic defaults Todo - Swagger instrumention to include necessary annotation - Event Transformation 7.x to 5.x - VES7.x response header - AAF cert integration Change-Id: I9bc2223fa362b35ae8a7105acd651fe524a403c5 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-600
2018-08-06Implement second part of dynamic DMaaP configPawelSzalapski33-795/+1639
VESCollector app can now fetch CBS configuration and rebuilt the part regarding sending events dynamically, without restarting application. Application will still be restarted by a .sh script, if there were changes regarding collector.properties file. The decision of whether dynamic configuration should be triggered is now based on existence of env vars CONSUL_HOST, CONFIG_BINDING_SERVICE, HOSTNAME, not as previously on CBSPOLLTIME. Frequency at which the config check should happen is now exposed via property from collector.properties Change-Id: I98ff160fa51d08d84a23c716d90ceaacbe17ada6 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-519
2018-08-02Merge "Replace nsaCore library with Spring"Vijay Venkatesh Kumar35-1864/+1762
2018-08-01Replace nsaCore library with SpringPawelSzalapski35-1864/+1762
Change-Id: I2227939a67a2cbba2d392136d49ef4419600d186 Issue-ID: DCAEGEN2-602 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-07-27Merge "Add INFO.yaml file"Vijay Venkatesh Kumar1-0/+90
2018-07-26Add INFO.yaml fileJessica Wagantall1-0/+90
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ic71eb6579f6d38430fc83abcc72bd3ba3d87de17 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-25Merge "add ps and other tools into docker build"Tony Hansen1-2/+2
2018-07-19Merge "VES collector application settings provider"Vijay Venkatesh Kumar11-119/+733
2018-07-18add ps and other tools into docker buildVijay VK1-2/+2
Change-Id: I3e5c4f0600c527febe49f6b97229d756413e2f74 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-623
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-13Clean up .sh scriptsPawelSzalapski11-336/+253
Removed .sh scripts that are not needed. Fill readme with a description of some of the things that might be not visible at first glance Refactor .sh scripts, remove not used or not needed parts Fix a bug where pidof <package> does not work. Change logging of the scripts and they way that app is run so that the logs are in one place -> collector.logs Fixed a bug where tomcat startup problems are not logged Added log rotation with logrotate tool Change-Id: I156328ab23d18a20072177ae8c5420772c3e2c7c Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-610
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