dcaegen2/collectors/ves.git
5 years agoCollector log isuue 71/85171/1
Zlatko Murgoski [Fri, 12 Apr 2019 08:51:55 +0000 (10:51 +0200)]
Collector log isuue

Collector log issue, after stop/start using appControler.sh logs was not added to collector.log

Issue-ID: DCAEGEN2-1287
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
Change-Id: Ia669fb53d179125323abe9db45e0158b06ff0024

5 years agoMerge "Fix sonar violation"
Zlatko Murgoski [Fri, 5 Apr 2019 09:16:55 +0000 (09:16 +0000)]
Merge "Fix sonar violation"

5 years agoFix sonar violation 20/83620/4
awudzins [Thu, 28 Mar 2019 14:39:20 +0000 (15:39 +0100)]
Fix sonar violation

Fix sonar violation

Change-Id: I72d7c4a7ac127b9ec89e8a144d934aa96884fc6a
Issue-ID: DCAEGEN2-1016
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
5 years agoUpdate docker-maven-plugin 73/84073/1
Zlatko Murgoski [Wed, 3 Apr 2019 09:40:04 +0000 (11:40 +0200)]
Update docker-maven-plugin

Update docker-maven-plugin

Change-Id: I82d6a2e69640fb48f4d08d5ccf99a43a4951a965
Issue-ID: DCAEGEN2-1287
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoChange company name 29/83829/1
Zlatko Murgoski [Mon, 1 Apr 2019 05:38:17 +0000 (07:38 +0200)]
Change company name

Change company name

Change-Id: Ifb972f05a28f564609a92b0d98c4a258905c19c0
Issue-ID: DCAEGEN2-1270
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agofix typo on info.yaml 65/83665/1
Vijay Venkatesh Kumar [Thu, 28 Mar 2019 14:01:44 +0000 (14:01 +0000)]
fix typo on info.yaml

Change-Id: I9259f0409f1ed0057f2fa8dfc8d76b184e57eac4
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1270

5 years agoupdate INFO.yaml 91/83391/1
Vijay Venkatesh Kumar [Tue, 26 Mar 2019 12:32:40 +0000 (12:32 +0000)]
update INFO.yaml

Change-Id: Iad6dbcb884af1c1b1deeff3e8b94556345d2ac2f
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1270
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
5 years agoMerge "Remove unused code"
Tony Hansen [Tue, 19 Mar 2019 15:37:02 +0000 (15:37 +0000)]
Merge "Remove unused code"

5 years agoAuthentication enhancement doc consul 12/82512/3
Zlatko Murgoski [Sat, 16 Mar 2019 08:43:37 +0000 (09:43 +0100)]
Authentication enhancement doc consul

Add dynami config description in README

Change-Id: I1b5c56bd07ce64993bc23ecb4bf26ccd03ca3405
Issue-ID: DCAEGEN2-1101
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoCollector authentication enhancement 92/79692/28
Zlatko Murgoski [Tue, 5 Mar 2019 10:31:48 +0000 (11:31 +0100)]
Collector authentication enhancement

Collector authentication enhancement

Change-Id: I03a05cb83dd8c498fb218e82e9b3958348fbb4ac
Issue-ID: DCAEGEN2-1101
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoRemove unused code 46/82246/1
Bogumil Zebek [Thu, 14 Mar 2019 12:00:18 +0000 (13:00 +0100)]
Remove unused code

Change-Id: I6c84baf1d50f26b8ba49be671384257d2b34ab8f
Issue-ID: DCAEGEN2-1016
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
5 years agoReformat all json files 51/79651/1
Zlatko Murgoski [Mon, 4 Mar 2019 18:28:52 +0000 (19:28 +0100)]
Reformat all json files

Reformat all json files

Change-Id: I6567e4e32bc82f4c53b326c374300597a97ab4e7
Issue-ID: DCAEGEN2-1016
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoRemove alias property 08/79608/2
Zlatko Murgoski [Mon, 4 Mar 2019 11:17:13 +0000 (12:17 +0100)]
Remove alias property

Remove unused alias property

Issue-ID: DCAEGEN2-1104

Change-Id: Ib843a624e36b99057bf66f5b1ec72d4b498e4481
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoMerge "Restart Issue"
Vijay Venkatesh Kumar [Sat, 2 Mar 2019 05:13:27 +0000 (05:13 +0000)]
Merge "Restart Issue"

5 years agoRestart Issue 64/77764/27
Zlatko Murgoski [Mon, 4 Feb 2019 08:27:00 +0000 (09:27 +0100)]
Restart Issue

Restart Issue

Issue-ID: DCAEGEN2-1104
Change-Id: Iac1ee2f79be00084f5c0cd963503d54d7d6e6cb9
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoUpdate all hashed password 66/79066/2
Zlatko Murgoski [Sat, 23 Feb 2019 23:58:06 +0000 (00:58 +0100)]
Update all hashed password

Update all password with new hash method

Change-Id: I7d6705b8a9c247888b451093799c2af42fc31c30
Issue-ID: DCAEGEN2-978
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agofix build errors 22/78622/2
VENKATESH KUMAR [Mon, 18 Feb 2019 04:25:56 +0000 (23:25 -0500)]
fix build errors

Change-Id: Ia2a0e1eb0b80a6d041a07f639e1c50fffc78c382
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-1229

5 years agoFix sonar violation 38/75738/4
Zlatko Murgoski [Mon, 14 Jan 2019 10:24:22 +0000 (11:24 +0100)]
Fix sonar violation

Fix sonar violation

Issue-ID: DCAEGEN2-1016
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
Change-Id: I0db722972aeeb57ebb4b61b11f1e302f613890d5

5 years agoFix sonar violation 55/75155/1
Zlatko Murgoski [Mon, 31 Dec 2018 10:55:42 +0000 (11:55 +0100)]
Fix sonar violation

Fix sonar violation'

Change-Id: Ia5718d2bcbf9f5efea40d8250b7ad57f6d2eb2f3
Issue-ID: DCAEGEN2-1016
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoMerge "Fix bug with processing event list"
Vijay Venkatesh Kumar [Thu, 27 Dec 2018 22:08:49 +0000 (22:08 +0000)]
Merge "Fix bug with processing event list"

5 years agoFix bug with processing event list 15/74915/6
Zlatko Murgoski [Wed, 19 Dec 2018 14:00:14 +0000 (15:00 +0100)]
Fix bug with processing event list

DMaapEventPublisher processing of eventList

Issue-ID: DCAEGEN2-1035
Change-Id: If62ec51d1dc1f0e501fda624dae23c7a83d3727b
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoMerge "Remove clear text password"
Michael Hwang [Wed, 19 Dec 2018 15:22:26 +0000 (15:22 +0000)]
Merge "Remove clear text password"

5 years agoMerge "Simplify cli parser logic"
Vijay Venkatesh Kumar [Fri, 14 Dec 2018 18:32:58 +0000 (18:32 +0000)]
Merge "Simplify cli parser logic"

5 years agoRemove clear text password 11/74611/7
Zlatko Murgoski [Thu, 13 Dec 2018 13:08:41 +0000 (14:08 +0100)]
Remove clear text password

Add common library to hash

Issue-ID: DCAEGEN2-978
Change-Id: Ieb20f6a28aea3b9e8322df7b65b6441e12d4627a
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoMerge "Remove clear text password"
Vijay Venkatesh Kumar [Wed, 12 Dec 2018 21:25:56 +0000 (21:25 +0000)]
Merge "Remove clear text password"

5 years agoMerge "Fix critical issues in dcaegen2-collectors-ves"
Vijay Venkatesh Kumar [Mon, 10 Dec 2018 18:56:30 +0000 (18:56 +0000)]
Merge "Fix critical issues in dcaegen2-collectors-ves"

5 years agoSimplify cli parser logic 49/74449/1
Bogumil Zebek [Mon, 10 Dec 2018 13:43:52 +0000 (14:43 +0100)]
Simplify cli parser logic

Change-Id: I7008efe19f567b178dd296f4f485fd14c5e7569d
Issue-ID: DCAEGEN2-1022
Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
5 years agoRemove clear text password 33/74133/12
Zlatko Murgoski [Mon, 3 Dec 2018 11:28:41 +0000 (12:28 +0100)]
Remove clear text password

Change to SHA256

Change-Id: I1c41247cf4094523b61487cbce0030d585982b06
Issue-ID: DCAEGEN2-978
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoTLS mutual authentication has been added. 64/72064/7
andrzejszukuc [Wed, 7 Nov 2018 11:51:05 +0000 (12:51 +0100)]
TLS mutual authentication has been added.

Change-Id: I60ebe8e1b06d72413940935396cb7a56af437c0d
Issue-ID: DCAEGEN2-959
Signed-off-by: ANDRZEJ SZUKUC <andrzej.szukuc@nokia.com>
5 years agoFix critical issues in dcaegen2-collectors-ves 04/73004/1
Parshad Patel [Mon, 19 Nov 2018 07:42:49 +0000 (16:42 +0900)]
Fix critical issues in dcaegen2-collectors-ves

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>
5 years agoAdd spring boot banner 76/72276/1
Zlatko Murgoski [Fri, 9 Nov 2018 09:23:56 +0000 (10:23 +0100)]
Add spring boot banner

Add spring boot banner

Change-Id: Icd3b637ad7ed9431d3258df96dfd1b64e0fc7f3b
Issue-ID: DCAEGEN2-967
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoUpgrade embeded Tomcat 81/72181/2
Zlatko Murgoski [Thu, 8 Nov 2018 10:01:19 +0000 (11:01 +0100)]
Upgrade embeded Tomcat

Address VESCollector vulnerability reported R3 RC1 phase

Change-Id: I78b82bd793bf59e13636b5534fabe484025071d9
Issue-ID: DCAEGEN2-927
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
5 years agoversion update to avoid conflict 72/71972/1
Vijay Venkatesh Kumar [Tue, 6 Nov 2018 09:05:02 +0000 (09:05 +0000)]
version update to avoid conflict

Change-Id: Iaf21c264a80a157c07927704a54bced0dbc08987
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-937

5 years agoApiAuthInterceptor tests have been added 01/69801/5
andrzejszukuc [Thu, 4 Oct 2018 07:48:10 +0000 (09:48 +0200)]
ApiAuthInterceptor tests have been added

Change-Id: Ieb42e8fa417ff3afb8acad3bd6c48a8287026a2e
Issue-ID: DCAEGEN2-517
Signed-off-by: ANDRZEJ SZUKUC <andrzej.szukuc@nokia.com>
5 years agoFix build warnings & CLM scan issue 83/65583/3 1.3.1 3.0.0-ONAP
Vijay VK [Mon, 10 Sep 2018 18:04:05 +0000 (19:04 +0100)]
Fix build warnings & CLM scan issue

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>
5 years agoAdd protocols to hosts 11/64311/4
Jakub Zieba [Tue, 4 Sep 2018 05:23:41 +0000 (07:23 +0200)]
Add protocols to hosts

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>
5 years agoMerge "Fix Docker image building misconceptions"
Tony Hansen [Thu, 30 Aug 2018 16:55:08 +0000 (16:55 +0000)]
Merge "Fix Docker image building misconceptions"

5 years agoFix Docker image building misconceptions 07/63307/1
Piotr Bochenski [Tue, 28 Aug 2018 16:59:06 +0000 (18:59 +0200)]
Fix Docker image building misconceptions

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>
5 years agoUse managed guava version 79/62579/2
Gary Wu [Fri, 24 Aug 2018 22:20:50 +0000 (15:20 -0700)]
Use managed guava version

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>
5 years agoVES7.x to 5.x transformation 39/62139/1
PATRACHARI [Thu, 23 Aug 2018 14:08:30 +0000 (10:08 -0400)]
VES7.x to 5.x transformation

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>
5 years agoMerge "Refactor the code base a bit"
Lusheng Ji [Tue, 14 Aug 2018 22:47:58 +0000 (22:47 +0000)]
Merge "Refactor the code base a bit"

5 years agoRefactor the code base a bit 29/59629/4
PawelSzalapski [Wed, 8 Aug 2018 09:01:03 +0000 (11:01 +0200)]
Refactor the code base a bit

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

5 years agoUpdate VES transformation 01/59901/1
PATRACHARI [Thu, 9 Aug 2018 17:47:24 +0000 (13:47 -0400)]
Update VES transformation

Issue-ID: DCAEGEN2-600
Change-Id: Ib47e1e6af3116b8db8c38c76d3138654e0ffe60e
Signed-off-by: PATRACHARI <gp2421@att.com>
5 years agoVES 7.0.1 updates 95/59295/7
Vijay VK [Mon, 6 Aug 2018 23:44:41 +0000 (00:44 +0100)]
VES 7.0.1 updates

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

5 years agoImplement second part of dynamic DMaaP config 17/58617/4
PawelSzalapski [Thu, 2 Aug 2018 08:31:56 +0000 (10:31 +0200)]
Implement second part of dynamic DMaaP config

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

5 years agoMerge "Replace nsaCore library with Spring"
Vijay Venkatesh Kumar [Thu, 2 Aug 2018 03:26:14 +0000 (03:26 +0000)]
Merge "Replace nsaCore library with Spring"

5 years agoReplace nsaCore library with Spring 69/58169/3
PawelSzalapski [Tue, 31 Jul 2018 06:18:03 +0000 (08:18 +0200)]
Replace nsaCore library with Spring

Change-Id: I2227939a67a2cbba2d392136d49ef4419600d186
Issue-ID: DCAEGEN2-602
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
5 years agoMerge "Add INFO.yaml file"
Vijay Venkatesh Kumar [Fri, 27 Jul 2018 21:18:44 +0000 (21:18 +0000)]
Merge "Add INFO.yaml file"

5 years agoAdd INFO.yaml file 55/46055/2
Jessica Wagantall [Fri, 4 May 2018 00:15:27 +0000 (17:15 -0700)]
Add INFO.yaml file

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>
5 years agoMerge "add ps and other tools into docker build"
Tony Hansen [Wed, 25 Jul 2018 02:03:52 +0000 (02:03 +0000)]
Merge "add ps and other tools into docker build"

5 years agoMerge "VES collector application settings provider"
Vijay Venkatesh Kumar [Thu, 19 Jul 2018 22:02:53 +0000 (22:02 +0000)]
Merge "VES collector application settings provider"

5 years agoadd ps and other tools into docker build 39/56639/3
Vijay VK [Tue, 17 Jul 2018 17:12:25 +0000 (18:12 +0100)]
add ps and other tools into docker build

Change-Id: I3e5c4f0600c527febe49f6b97229d756413e2f74
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-623

5 years agoVES collector application settings provider 87/56387/6
Zlatko Murgoski [Fri, 13 Jul 2018 13:56:21 +0000 (15:56 +0200)]
VES collector application settings provider

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

5 years agoClean up .sh scripts 81/56081/14
PawelSzalapski [Tue, 10 Jul 2018 11:25:18 +0000 (13:25 +0200)]
Clean up .sh scripts

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

5 years agoPrepare codebase for dynamic DMaaP configuration 03/55403/13
PawelSzalapski [Tue, 26 Jun 2018 13:16:41 +0000 (15:16 +0200)]
Prepare codebase for dynamic DMaaP configuration

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

5 years agoRemove dead code from VESCollector 79/55179/5
PawelSzalapski [Thu, 21 Jun 2018 10:12:30 +0000 (12:12 +0200)]
Remove dead code from VESCollector

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

5 years agoMerge "Refactor DmaapPropertyReader"
Tony Hansen [Wed, 20 Jun 2018 14:05:07 +0000 (14:05 +0000)]
Merge "Refactor DmaapPropertyReader"

5 years agofix build error for vescollector 39/55039/1
Vijay VK [Mon, 18 Jun 2018 22:40:33 +0000 (23:40 +0100)]
fix build error for vescollector

Change-Id: I6f146ebcae6c439bf4f50d0486791b69006958f3
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-556

5 years agoRefactor DmaapPropertyReader 15/50315/6
koblosz [Tue, 22 May 2018 15:13:35 +0000 (17:13 +0200)]
Refactor DmaapPropertyReader

Issue-ID: DCAEGEN2-522
Signed-off-by: KOBLOSZ SANDRA <sandra.koblosz@nokia.com>
Change-Id: I2d9928ff3ffeda0e204480f13e8c8bf91bddf912

5 years agoMerge "Fix bug about custom exceptions not being used"
Vijay Venkatesh Kumar [Fri, 15 Jun 2018 21:33:21 +0000 (21:33 +0000)]
Merge "Fix bug about custom exceptions not being used"

5 years agoReplace shell build scripts with Maven solution 63/51063/3
Piotr Bochenski [Fri, 8 Jun 2018 15:49:58 +0000 (17:49 +0200)]
Replace shell build scripts with Maven solution

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>
5 years agoMerge "Refactor tests to check actual behavior of methods"
Vijay Venkatesh Kumar [Mon, 11 Jun 2018 17:54:46 +0000 (17:54 +0000)]
Merge "Refactor tests to check actual behavior of methods"

5 years agoFix bug about custom exceptions not being used 01/50301/7
PawelSzalapski [Tue, 5 Jun 2018 08:54:27 +0000 (10:54 +0200)]
Fix bug about custom exceptions not being used

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>
5 years agoFix tests to not create files in repository 41/50641/2
PawelSzalapski [Wed, 6 Jun 2018 10:26:55 +0000 (12:26 +0200)]
Fix tests to not create files in repository

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>
5 years agoRefactor tests to check actual behavior of methods 79/50679/5
PawelSzalapski [Wed, 6 Jun 2018 13:30:06 +0000 (15:30 +0200)]
Refactor tests to check actual behavior of methods

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>
5 years agoMerge "Simplify & remove duplicated testcases"
Vijay Venkatesh Kumar [Fri, 8 Jun 2018 21:30:58 +0000 (21:30 +0000)]
Merge "Simplify & remove duplicated testcases"

5 years agoMerge "Refactored event processor + sonar"
Vijay Venkatesh Kumar [Fri, 8 Jun 2018 21:23:08 +0000 (21:23 +0000)]
Merge "Refactored event processor + sonar"

5 years agoMerge "Refactor tests to check actual behavior of methods"
Vijay Venkatesh Kumar [Fri, 8 Jun 2018 19:03:15 +0000 (19:03 +0000)]
Merge "Refactor tests to check actual behavior of methods"

5 years agoRefactored event processor + sonar 81/49081/3
Krysiak Adam Gabriel [Wed, 23 May 2018 13:34:37 +0000 (15:34 +0200)]
Refactored event processor + sonar

Issue-ID: DCAEGEN2-521

Change-Id: I9290f21701945cd1bb5e7a43a671991417f25491
Signed-off-by: Krysiak Adam Gabriel <adam.krysiak@nokia.com>
5 years agoMerge "Remove tests that do not actually test anything"
Vijay Venkatesh Kumar [Wed, 6 Jun 2018 17:34:29 +0000 (17:34 +0000)]
Merge "Remove tests that do not actually test anything"

5 years agoRemove tests that do not actually test anything 67/50667/2
PawelSzalapski [Wed, 6 Jun 2018 12:30:05 +0000 (14:30 +0200)]
Remove tests that do not actually test anything

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>
5 years agoRefactor tests to check actual behavior of methods 71/50671/2
PawelSzalapski [Wed, 6 Jun 2018 12:39:12 +0000 (14:39 +0200)]
Refactor tests to check actual behavior of methods

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>
5 years agoRefactor DMaaPPropertyReader tests 75/50675/3
PawelSzalapski [Wed, 6 Jun 2018 12:55:12 +0000 (14:55 +0200)]
Refactor DMaaPPropertyReader tests

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>
5 years agoSimplify & remove duplicated testcases 63/50663/2
PawelSzalapski [Wed, 6 Jun 2018 12:05:57 +0000 (14:05 +0200)]
Simplify & remove duplicated testcases

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>
5 years agoMerge "Bumping up compiler source & target version"
Vijay Venkatesh Kumar [Mon, 4 Jun 2018 13:19:02 +0000 (13:19 +0000)]
Merge "Bumping up compiler source & target version"

6 years agoBumping up compiler source & target version 85/50085/1
PawelSzalapski [Mon, 4 Jun 2018 05:44:49 +0000 (07:44 +0200)]
Bumping up compiler source & target version

Change-Id: Ied05f23627119af696eec3eafb15f6847d805ca8
Issue-ID: DCAEGEN2-520
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
6 years agoMerge "Switch base image to 'openjdk' in Dockerfile"
Vijay Venkatesh Kumar [Thu, 31 May 2018 03:33:59 +0000 (03:33 +0000)]
Merge "Switch base image to 'openjdk' in Dockerfile"

6 years agoupgrade version for ves 77/49577/1
Vijay VK [Wed, 30 May 2018 19:56:30 +0000 (20:56 +0100)]
upgrade version for ves

Change-Id: I3e176c0079ad14d044090b03b40f768665a3a834
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-539

6 years agoSwitch base image to 'openjdk' in Dockerfile 05/49405/2
Piotr Bochenski [Tue, 29 May 2018 18:28:07 +0000 (20:28 +0200)]
Switch base image to 'openjdk' in Dockerfile

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>
6 years agoRestructurize & reformat & clean up pom.xml. 83/49083/1 2.0.0-ONAP 2.0.0-ONAP
PawelSzalapski [Fri, 25 May 2018 06:56:03 +0000 (08:56 +0200)]
Restructurize & reformat & clean up pom.xml.

Change-Id: I0781a268850b968ab6fb678f401233063e7c1f85
Issue-ID: DCAEGEN2-523
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
6 years agoMerge "Fixes in ConfigProcessors" beijing v1.2.0
Vijay Venkatesh Kumar [Tue, 24 Apr 2018 14:28:41 +0000 (14:28 +0000)]
Merge "Fixes in ConfigProcessors"

6 years agoFixes in ConfigProcessors 05/43905/2
burdziak [Fri, 20 Apr 2018 12:38:26 +0000 (14:38 +0200)]
Fixes in ConfigProcessors

Change-Id: I1d360fd371520bc34b9c99c667484eb5dad81e81
Issue-ID: DCAEGEN2-460
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
6 years agoMerge "Small Fixes in EventProcessor"
Vijay Venkatesh Kumar [Mon, 23 Apr 2018 15:25:21 +0000 (15:25 +0000)]
Merge "Small Fixes in EventProcessor"

6 years agoSmall Fixes in EventProcessor 01/44101/1
burdziak [Mon, 23 Apr 2018 07:12:55 +0000 (09:12 +0200)]
Small Fixes in EventProcessor

Change-Id: I545c2ab0fc46d6667b403e840bec2a1f0dde25d5
Issue-ID: DCAEGEN2-466
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
6 years agoMerge "upgrade tomcat jar for license issues"
Lusheng Ji [Sat, 21 Apr 2018 20:55:58 +0000 (20:55 +0000)]
Merge "upgrade tomcat jar for license issues"

6 years agoupgrade tomcat jar for license issues 01/44001/1
Vijay VK [Fri, 20 Apr 2018 20:22:20 +0000 (21:22 +0100)]
upgrade tomcat jar for license issues

Change-Id: Icc9c269c3e39e11a646d15046b5a032dc7a8fd90
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-446

6 years agoFixes in DmaapPropertyReader 45/43945/1
burdziak [Fri, 20 Apr 2018 13:28:50 +0000 (15:28 +0200)]
Fixes in DmaapPropertyReader

Change-Id: I12cd5be15e37b5c0fc93f71b8fbde90026b7aaec
Issue-ID: DCAEGEN2-462
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
6 years agoMerge "upgrade version for tomcat dependencies"
Lusheng Ji [Mon, 16 Apr 2018 22:32:59 +0000 (22:32 +0000)]
Merge "upgrade version for tomcat dependencies"

6 years agoupgrade version for tomcat dependencies 75/43075/2
Vijay VK [Mon, 16 Apr 2018 14:44:35 +0000 (15:44 +0100)]
upgrade version for tomcat dependencies

Change-Id: Ife9aa875915c333b687c8f0e6cd32b6aa8928493
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-446

6 years agoMerge "fix license header issues"
Lusheng Ji [Mon, 16 Apr 2018 13:25:38 +0000 (13:25 +0000)]
Merge "fix license header issues"

6 years agofix license header issues 49/42549/1
Vijay VK [Thu, 12 Apr 2018 16:33:10 +0000 (17:33 +0100)]
fix license header issues

Change-Id: I5ae7b2a6d404cc22e90f74d958f7b307da92b9e9
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-358

6 years agoOptimize and refactor EventPublisher class in VES 29/42429/6
Piotr Jaszczyk [Wed, 11 Apr 2018 14:29:30 +0000 (16:29 +0200)]
Optimize and refactor EventPublisher class in VES

* 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>
6 years agoMerge "fix default properties"
Lusheng Ji [Tue, 10 Apr 2018 12:53:23 +0000 (12:53 +0000)]
Merge "fix default properties"

6 years agofix default properties 01/41501/2
Vijay VK [Fri, 6 Apr 2018 21:38:58 +0000 (22:38 +0100)]
fix default properties

Change-Id: Iae00d76ac70d6fc318d54151f99ec58eb8188aac
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-434

6 years agoFix docker tag 07/40607/1
Lusheng Ji [Tue, 3 Apr 2018 01:58:00 +0000 (21:58 -0400)]
Fix docker tag

Follow the docker tagging required by CIMAN.

Issue-ID: DCAEGEN2-206
Change-Id: I013b2b33109e034bb329967198c8fd589c92ff92
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoadd other domain default config for supporting prh 99/37799/1
Vijay VK [Thu, 22 Mar 2018 14:49:33 +0000 (15:49 +0100)]
add other domain default config for supporting prh

Change-Id: I795a19d36e9426da904b891d0ff4188ede04dabf
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-409

6 years agoenables https setting 87/34787/2
Vijay VK [Thu, 8 Mar 2018 15:02:07 +0000 (15:02 +0000)]
enables https setting

Change-Id: I05e988e6e42663bf09cd91cc5dde310cbe71effc
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-388

6 years agosonar complaince updates 27/34627/1
Vijay VK [Thu, 8 Mar 2018 02:15:28 +0000 (02:15 +0000)]
sonar complaince updates

Change-Id: I3f1bee6b9ff072528246186a73ee5133f9a918aa
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-388

6 years agoaddress security issue reported 49/33849/2
Vijay VK [Fri, 2 Mar 2018 20:41:46 +0000 (20:41 +0000)]
address security issue reported

Change-Id: I6ad0916cb2d385b01eaaae5c76e99f1f7e81ea30
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-360

6 years agoaddress clm-security issues 25/33625/1
Vijay VK [Thu, 1 Mar 2018 15:16:47 +0000 (15:16 +0000)]
address clm-security issues

Change-Id: I7bfd3583b16c5f2b914a9b5f3cca2d3a07614895
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-360