dcaegen2/collectors/ves.git
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 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

6 years agofix CLM issue + logging updates 57/33457/1
VENKATESH KUMAR [Wed, 28 Feb 2018 19:12:50 +0000 (14:12 -0500)]
fix CLM issue + logging updates

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

6 years agoMisc updates to collector 25/33225/1
Vijay VK [Tue, 27 Feb 2018 18:12:41 +0000 (18:12 +0000)]
Misc updates to collector

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

6 years agoadditional coverage 67/32467/1
Vijay VK [Wed, 21 Feb 2018 23:16:22 +0000 (23:16 +0000)]
additional coverage

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

6 years agofix sonar issue and additional test 21/32421/1
Vijay VK [Wed, 21 Feb 2018 16:52:31 +0000 (16:52 +0000)]
fix sonar issue and additional test

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

6 years agoChange default DMaaP hostname 05/32305/1
Lusheng Ji [Tue, 20 Feb 2018 19:42:49 +0000 (14:42 -0500)]
Change default DMaaP hostname

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

6 years agooptimization and sonar fixes 55/32255/1
Vijay VK [Tue, 20 Feb 2018 14:30:54 +0000 (14:30 +0000)]
optimization and sonar fixes

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

6 years agoadditional testcase 35/32035/1
Vijay VK [Sun, 18 Feb 2018 06:17:21 +0000 (06:17 +0000)]
additional testcase

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

6 years agoFix keystore alais config and TC 49/31749/1
VENKATESH KUMAR [Wed, 14 Feb 2018 17:45:04 +0000 (17:45 +0000)]
Fix keystore alais config and TC

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

6 years agoUpdate license text 69/31469/1
Lusheng Ji [Mon, 12 Feb 2018 16:03:47 +0000 (11:03 -0500)]
Update license text

Change-Id: I2c6da3d590caed0b847a3dca90e5013951689788
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-325

6 years agoOptimize collector publish mechanism 21/28821/1
vagrant [Sat, 20 Jan 2018 14:55:43 +0000 (14:55 +0000)]
Optimize collector publish mechanism

Change-Id: I6d5fb2ad45257831e8e0ff62812df1fd1401464d
Issue-ID: DCAEGEN2-281
Signed-off-by: Vijay VK <vv770d@att.com>
6 years agoModifier corrections for instance variables 99/27499/1
libujacob [Fri, 5 Jan 2018 05:51:45 +0000 (11:21 +0530)]
Modifier corrections for instance variables

Removed toString() method for string datatypes

Issue-ID: DCAEGEN2-207

Change-Id: I24d45fa312808333df7c42b85c277baa708bfa35
Signed-off-by: libujacob <libu.jacob@huawei.com>
6 years agomove data format spec to dpo 89/25789/1
VENKATESH KUMAR [Thu, 7 Dec 2017 16:41:35 +0000 (16:41 +0000)]
move data format spec to dpo

Issue-ID: DCAEGEN2-212
Change-Id: Ie6c946a96de276574d9e2d6b20af38661f84130a
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
6 years agocode sync-up updates 83/25783/1
VENKATESH KUMAR [Thu, 7 Dec 2017 15:30:01 +0000 (15:30 +0000)]
code sync-up updates

Issue-ID: DCAEGEN2-212
Change-Id: Id72d2b1851ff4457295088609c355e19d19e3d73
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
6 years agocode syncup with ECOMP updates 91/25491/1
vagrant [Tue, 28 Nov 2017 13:36:38 +0000 (13:36 +0000)]
code syncup with ECOMP updates

Issue-ID: DCAEGEN2-212
Change-Id: Id388f26be57d2a12250a6845ed5678d0cebceed6
Signed-off-by: Vijay Venkatesh Kumar<vv770d@att.com>
6 years agoupdate versioning 53/25253/1
vagrant [Sat, 25 Nov 2017 06:59:40 +0000 (06:59 +0000)]
update versioning

Change-Id: I8814ad45e3479c048d8277bd595701839b4df63a
Issue-ID: DCAEGEN2-211
Signed-off-by: vagrant <vv770d@att.com>
6 years agoBump minor version 49/24149/1
Jessica Wagantall [Fri, 17 Nov 2017 19:44:32 +0000 (11:44 -0800)]
Bump minor version

Bump minor version in preparation for Amsterdam
branching.

Change-Id: Ib03586a19b351cf65bd06c6abd0a09caa463fced
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agofix memory leak for vescollector 81/22781/1 1.0.0-Amsterdam 1.0.0-ONAP v1.1.0 v1.1.4
Vijay [Wed, 8 Nov 2017 13:12:26 +0000 (13:12 +0000)]
fix memory leak for vescollector

Issue-ID: DCAEGEN2-198
Change-Id: I09296ae4d13a0ad442bc139e69c13d19e4be0916
Signed-off-by: Vijay <vv770d@att.com>
6 years agoremove dual port mapping 17/20617/1
Vijay [Wed, 25 Oct 2017 20:23:08 +0000 (20:23 +0000)]
remove dual port mapping

Change-Id: Ia620f4a51dc6c0ffb16a85e0ea7587c49603f16b
Issue-ID:DCAEGEN2-128
Signed-off-by: Vijay <vv770d@att.com>
6 years agoFix swagger spec 03/18403/1
Lusheng Ji [Thu, 12 Oct 2017 02:10:10 +0000 (02:10 +0000)]
Fix swagger spec

Issue-Id: DCAEGEN2-128
Change-Id: I0d909ea8358876d0652b6283032fbbab09d87533
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoupdate parent to oparent 95/18295/1
Vijay [Wed, 11 Oct 2017 15:21:32 +0000 (15:21 +0000)]
update parent to oparent

Change-Id: I548437356612dd3a3f710a5392fc6ba0ace02b66
Issue-ID:DCAEGEN2-128
Signed-off-by: Vijay <vv770d@att.com>
6 years agoIncluding IntelliJ files in .gitignore 87/17687/1
Konstantinos Kanonakis [Fri, 6 Oct 2017 16:46:09 +0000 (11:46 -0500)]
Including IntelliJ files in .gitignore

Issue-Id: DCAEGEN2-141
Change-Id: Id35dcf49191158b4c457c4574cf098db06acb8a1
Signed-off-by: Konstantinos Kanonakis <konstantinos.kanonakis@huawei.com>
6 years agoMerge "Prettifying DMaaP config JSON file"
Vijay Venkatesh Kumar [Fri, 6 Oct 2017 21:14:47 +0000 (21:14 +0000)]
Merge "Prettifying DMaaP config JSON file"

6 years agoPrettifying DMaaP config JSON file 73/17473/1
Konstantinos Kanonakis [Fri, 6 Oct 2017 15:17:14 +0000 (10:17 -0500)]
Prettifying DMaaP config JSON file

Issue-Id: DCAEGEN2-129
Change-Id: I29d2d6b33bb09a1159cb00a8005f5f2982a167da
Signed-off-by: Konstantinos Kanonakis <konstantinos.kanonakis@huawei.com>
6 years agoUsing multi-catch statements in EventPublisher 67/17467/1
Konstantinos Kanonakis [Fri, 6 Oct 2017 14:49:22 +0000 (09:49 -0500)]
Using multi-catch statements in EventPublisher

Issue-Id: DCAEGEN2-129
Change-Id: I501334e555e8c83a48525a5f1a059634c266f837
Signed-off-by: Konstantinos Kanonakis <konstantinos.kanonakis@huawei.com>
6 years agofix typo on parent artifact 37/17137/1
Vijay [Tue, 3 Oct 2017 22:34:22 +0000 (22:34 +0000)]
fix typo on parent artifact

Issue-Id:DCAEGEN2-82
Change-Id: I0910589120f0163619d46c1e84b8bbdc02611729
Signed-off-by: Vijay <vv770d@att.com>
6 years agoreadme updates and logger change 47/16047/1
Vijay [Wed, 27 Sep 2017 16:57:17 +0000 (16:57 +0000)]
readme updates and logger change

Issue-Id:DCAEGEN2-82
Change-Id: I3c04a814576c6a758ff4489f13951374491e4c66
Signed-off-by: Vijay <vv770d@att.com>
6 years agofix merge error n sonar items 01/15201/1
Vijay [Mon, 25 Sep 2017 20:32:23 +0000 (20:32 +0000)]
fix merge error n sonar items

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>
6 years agoMerge "Handled logs when exception is occured"
Vijay Venkatesh Kumar [Mon, 25 Sep 2017 12:34:51 +0000 (12:34 +0000)]
Merge "Handled logs when exception is occured"