aai/champ.git
4 years ago[AAI-2175] Change aai champ container processes to run as non-root on the host 91/97191/1 master
rajeevme [Wed, 16 Oct 2019 12:45:12 +0000 (18:15 +0530)]
[AAI-2175] Change aai champ container processes to run as non-root on the host

Issue-ID: AAI-2175

Change-Id: Ia12e5401a1bc8a5490acf2cb025b9b62ce6bd538

Signed-off-by: rajeevme<rajeev.mehta@amdocs.com>
Change-Id: Icd8fbc0eb9c8d14e0d4a7316eedc0ccf9badd2b7

4 years agoRelease champ:1.6.0 37/95237/2
Jimmy Forsyth [Mon, 9 Sep 2019 14:10:07 +0000 (10:10 -0400)]
Release champ:1.6.0

Issue-ID: AAI-2579
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I54a4f056ed6ed705801c82b8e40813424d54d06c

4 years agoFixed project version parsing 86/92786/5
Dmitry Puzikov [Wed, 24 Jul 2019 09:42:29 +0000 (11:42 +0200)]
Fixed project version parsing

Change-Id: I9192d12bcb6d2f4b93ebd2835cf3d9b7dd1f2ad5
Issue-ID: INT-1151
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
4 years agoMerge "Upversion champ in master"
Steven Blimkie [Thu, 15 Aug 2019 21:01:24 +0000 (21:01 +0000)]
Merge "Upversion champ in master"

4 years agoMerge "Sonar Fix : Added logger"
James Forsyth [Thu, 15 Aug 2019 13:44:40 +0000 (13:44 +0000)]
Merge "Sonar Fix : Added logger"

4 years agoMerge "Sonar Fix - Type Inference"
James Forsyth [Thu, 15 Aug 2019 13:44:03 +0000 (13:44 +0000)]
Merge "Sonar Fix - Type Inference"

4 years agoMerge "Updated champ-lib to use the correct logger"
James Forsyth [Thu, 15 Aug 2019 13:43:24 +0000 (13:43 +0000)]
Merge "Updated champ-lib to use the correct logger"

4 years agoMerge "Added sonar fixes"
James Forsyth [Thu, 15 Aug 2019 13:37:43 +0000 (13:37 +0000)]
Merge "Added sonar fixes"

4 years agoUpversion champ in master 95/93495/1
Jimmy Forsyth [Tue, 13 Aug 2019 22:25:13 +0000 (18:25 -0400)]
Upversion champ in master

Issue-ID: AAI-2579
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: Iab34378a281b6c5d9ff8b5303fb6a2d3dedef665

4 years agoRefactor pom for use with global jjb 55/91555/1
sblimkie [Tue, 16 Jul 2019 17:36:20 +0000 (13:36 -0400)]
Refactor pom for use with global jjb

Change-Id: I45f5617fd7771d442157f6adb5cb72ac616767f0
Issue-ID: AAI-2483
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
4 years agoPrepare champ for global-jjb 27/90627/1 1.5.0
Jimmy Forsyth [Thu, 27 Jun 2019 21:45:36 +0000 (17:45 -0400)]
Prepare champ for global-jjb

Issue-ID: AAI-2483
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I9d5b7576ef008c145ca5aa41b47a4e6819e4acf6

4 years agoSonar Fix : Added logger 18/90218/1
Sudarshan Kumar [Thu, 20 Jun 2019 07:29:07 +0000 (12:59 +0530)]
Sonar Fix : Added logger

Sonar Fix : Added logger

Issue-ID: AAI-2371
Change-Id: I61d43ceb174c848707ab95c84145890d4a707b25
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
4 years agoSonar Fix - Type Inference 47/90147/1
Sudarshan Kumar [Wed, 19 Jun 2019 10:04:10 +0000 (15:34 +0530)]
Sonar Fix - Type Inference

Sonar Fix - Type Inference

Issue-ID: AAI-2371
Change-Id: I88169271581d1b6e8cd5d0b1338eae27c36dd31e
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
4 years agoUpversion for global jjb transition 06/90106/2
Jimmy Forsyth [Tue, 18 Jun 2019 18:15:59 +0000 (14:15 -0400)]
Upversion for global jjb transition

Issue-ID: AAI-2483
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I0936f9559c09d1b6e83aeeb4a75c8db88ae9fe26

4 years agoAdded sonar fixes 88/89988/1
Sudarshan Kumar [Mon, 17 Jun 2019 08:28:48 +0000 (13:58 +0530)]
Added sonar fixes

Added sonar fixes

Issue-ID: AAI-2371
Change-Id: Ife82e7816a32a361eb79d75acb8f20fa60e0cae4
Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
4 years agoUpdated champ-lib to use the correct logger 71/88571/1
Stela Stoykova [Mon, 27 May 2019 18:57:34 +0000 (14:57 -0400)]
Updated champ-lib to use the correct logger

Issue-ID: AAI-2462

Signed-off-by: Stela Stoykova <Stela.Stoykova@amdocs.com>
Change-Id: I4a8e544c6eb44c6a3db295787b37f8787eabd50f

4 years agoUpversion champ 52/87352/1
Jimmy Forsyth [Thu, 9 May 2019 11:53:51 +0000 (07:53 -0400)]
Upversion champ

Issue-ID: AAI-2403
Change-Id: I08a533e5d3f61e98b8ff51f938f11850c25dc9fd
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
4 years agoFix the class not found exception issue 36/86636/1 1.4.0 4.0.0-ONAP
Harish Venkata Kajur [Tue, 30 Apr 2019 15:02:48 +0000 (11:02 -0400)]
Fix the class not found exception issue

Add the guava dependency 19.0 to
fix the java.lang.NoClassDefFoundError:
com/google/common/util/concurrent/FutureFallback

Issue-ID: AAI-2388
Change-Id: I9c2f763ad5aa1dce97d6dbc4f264bfc0a550fd98
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
5 years agoRoll back springboot upgrade 42/85342/1
Jimmy Forsyth [Mon, 15 Apr 2019 15:47:49 +0000 (11:47 -0400)]
Roll back springboot upgrade

Issue-ID: AAI-2380
Change-Id: I884f89a0c83328fe3f8376ea3a5b01da2039cf7d
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoRemove event-client snapshot dep 67/84867/1
Jimmy Forsyth [Wed, 10 Apr 2019 12:46:00 +0000 (08:46 -0400)]
Remove event-client snapshot dep

Issue-ID: AAI-2353
Change-Id: I8e83c9376a4f7b1384a0f806c0c99aa2920ed7fe
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpgrade to springboot 1.5.20.RELEASE 00/84700/1
Jimmy Forsyth [Tue, 9 Apr 2019 15:38:41 +0000 (11:38 -0400)]
Upgrade to springboot 1.5.20.RELEASE

Issue-ID: AAI-2349
Change-Id: I273ec38a36f95a35231682d57f222257fe0d9d07
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoAdd cql driver support for champ 93/83993/1
Kajur, Harish (vk250x) [Tue, 2 Apr 2019 18:04:19 +0000 (14:04 -0400)]
Add cql driver support for champ

Issue-ID: AAI-2308
Change-Id: I0a610eecb6b6dffe8df8f6458ee2184a763d343a
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
5 years agoEnforce minimum Jacoco line coverage 55/83855/2
Ravi Geda [Mon, 1 Apr 2019 12:27:57 +0000 (13:27 +0100)]
Enforce minimum Jacoco line coverage

Change-Id: I27e1cf95384ebe5213f4a0f082a1a4360af2675c
Issue-ID: AAI-2305
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoUpgrade Spring Boot to version 1.5.19 57/83757/1
Ravi Geda [Fri, 29 Mar 2019 16:53:11 +0000 (16:53 +0000)]
Upgrade Spring Boot to version 1.5.19

Change-Id: Ia2e5dcf399243866b8074bb3f9494b3b3f0cb944
Issue-ID: AAI-2304
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoAdd unit test coverage 23/83523/1
sblimkie [Wed, 27 Mar 2019 20:12:54 +0000 (16:12 -0400)]
Add unit test coverage

Change-Id: Ifb73766522765d41819259aa17d299b594e1a75b
Issue-ID: AAI-2219
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
5 years agoCreate vertex and edge indicies on startup 76/82476/1
Daniel Silverthorn [Fri, 15 Mar 2019 18:20:53 +0000 (14:20 -0400)]
Create vertex and edge indicies on startup

Change-Id: I3ee538796e21a0667df4b4dbbdfec40f5b4ca30d
Issue-ID: AAI-2265
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
5 years agoMerge "Add missing INFO.yaml blocks"
James Forsyth [Tue, 12 Mar 2019 02:44:23 +0000 (02:44 +0000)]
Merge "Add missing INFO.yaml blocks"

5 years agoRemove unneeded dependency causing Sonar bug 52/81952/1
Lee, Tian (tl5884) [Mon, 11 Mar 2019 15:22:59 +0000 (15:22 +0000)]
Remove unneeded dependency causing Sonar bug

Change-Id: I881e829a08c34f503bb8ce5360a84c9be58f76fe
Issue-ID: AAI-2230
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoIncrease code coverage to 55% for Dublin 27/81927/1
Sanchez, Gabriel (gs882h) [Mon, 11 Mar 2019 11:11:30 +0000 (11:11 +0000)]
Increase code coverage to 55% for Dublin

Moving the perf main test class to test package will decrease
code lines to coverage which consequently will increase code coverage

Issue-ID: AAI-2219

Change-Id: I5b49f16a8fb8d7240a926c805533e2a116a8652f
Signed-off-by: Sanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>
5 years agoAdd missing INFO.yaml blocks 40/79540/1
Jessica Wagantall [Sat, 2 Mar 2019 02:45:09 +0000 (18:45 -0800)]
Add missing INFO.yaml blocks

Add missing information so that the new verify
job passes.

Change-Id: I1b20082b805ab050c6f053c1236556ae17a2d021
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoMerge "Unit test for ChampDataService.java"
Steven Blimkie [Wed, 20 Feb 2019 16:46:42 +0000 (16:46 +0000)]
Merge "Unit test for ChampDataService.java"

5 years agoMerge "bugfix: hashcode() implementation"
Steven Blimkie [Wed, 20 Feb 2019 16:36:29 +0000 (16:36 +0000)]
Merge "bugfix: hashcode() implementation"

5 years agoPerformance Improvements for Gizmo bulk API 27/78327/1
Serban Popescu [Tue, 12 Feb 2019 18:08:53 +0000 (13:08 -0500)]
Performance Improvements for Gizmo bulk API

Use bulk operations with Gizmo/Champ to improve performance.
Also allows for HA by allowing Champ to operate in stateless mode

Issue-ID: AAI-2147
Change-Id: If5bf6a053ea9540f54d0f79a95c8def3765b8e16
Signed-off-by: Serban Popescu <serban.popescu@amdocs.com>
5 years agooptionally disable client auth 19/76319/1
Bansal, Nitin (nb121v) [Thu, 24 Jan 2019 21:55:10 +0000 (16:55 -0500)]
optionally disable client auth

optionally disable client auth

Change-Id: Ic81a1cbc4c7140696662388e120d6dcaadc2588a
Issue-ID: AAI-2116
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
5 years agoUnit test for ChampDataService.java 58/76058/2
Driptaroop Das [Mon, 21 Jan 2019 09:37:45 +0000 (15:07 +0530)]
Unit test for ChampDataService.java

Unit test for ChampDataService.java

Issue-ID: AAI-2094
Change-Id: I49736e3e691836688a085a0456c49c6bf967f0a7
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agobugfix: hashcode() implementation 57/76057/1
Driptaroop Das [Mon, 21 Jan 2019 09:01:32 +0000 (14:31 +0530)]
bugfix: hashcode() implementation

Implemented hashCode() as equals() is already implemented

Issue-ID: AAI-2093
Change-Id: Ib393a339fd69a7c2e161f36339ccce5d627e4ab4
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
5 years agoset server truststore params optionally in champ 24/75224/1
Daniel Silverthorn [Thu, 3 Jan 2019 14:17:09 +0000 (09:17 -0500)]
set server truststore params optionally in champ

Change-Id: I20f63834d8bfb3d715d244869e5c1fc4ee9811c9
Issue-ID: AAI-2046
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
5 years agoExclude tomcat from jersey starter 20/75020/4
jimmy [Thu, 20 Dec 2018 19:52:32 +0000 (14:52 -0500)]
Exclude tomcat from jersey starter

Issue-ID: AAI-2033
Change-Id: Id379bfe8c26168cbc0b1905d842fc9cc31638430
Signed-off-by: jimmy <jf2512@att.com>
5 years agoUpdate to springboot 1.5.18 65/74765/1
jimmy [Mon, 17 Dec 2018 21:15:03 +0000 (16:15 -0500)]
Update to springboot 1.5.18

Change-Id: I0d921260b65b98f206e70dfcae3bab4c72181397
Issue-ID: AAI-2014
Signed-off-by: jimmy <jf2512@att.com>
5 years agoupgrade to new event client 90/73090/1
Bansal, Nitin (nb121v) [Mon, 19 Nov 2018 21:12:48 +0000 (16:12 -0500)]
upgrade to new event client

Change-Id: Idc04d2241287076bb9b19d01c1120575bcd9b817
Issue-ID: AAI-1929
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
5 years agoUpgrade Hadoop dependency (NexusIQ scan) 40/73040/1
Sanchez, Gabriel (gs882h) [Mon, 19 Nov 2018 14:37:27 +0000 (14:37 +0000)]
Upgrade Hadoop dependency (NexusIQ scan)

Upgrade Hadoop dependency to avoid security
vulnerabilities highlighted by NexusIQ scan

Issue-ID: AAI-1887

Change-Id: I884b667599ed36358cdbd808f74449333aa85d8a
Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
5 years agoUpversion spring boot to 1.5.17 13/72913/1
Sanchez, Gabriel (gs882h) [Fri, 16 Nov 2018 14:18:23 +0000 (14:18 +0000)]
Upversion spring boot to 1.5.17

Fix nexusIQ vulnerabilities

Issue-ID: AAI-1893

Change-Id: I3ff53488b070fc9abd43dcd9371c467a31fd0eeb
Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
5 years agoUpdating even-client to 1.3.1 - RMQ support 25/72125/1
Shwetank Dave [Mon, 22 Oct 2018 16:20:09 +0000 (12:20 -0400)]
Updating even-client to 1.3.1 - RMQ support

Issue-ID: AAI-1795
Change-Id: Ibfba91df6cb56a409165d6641ff81477a8c252e8
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
5 years agoUpversion to 1.4.0 - Dublin branch 62/71862/2
Sanchez, Gabriel (gs882h) [Mon, 5 Nov 2018 15:41:47 +0000 (15:41 +0000)]
Upversion to 1.4.0 - Dublin branch

Upversion to 1.4.0 in all child poms

Issue-ID: AAI-1849

Change-Id: I29782be08a4f308ce1f0ff93f24ec42de7617c39
Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
5 years agoUpdate champ version to 1.3.1-SNAPSHOT 65/70665/1
Michael Reece [Wed, 17 Oct 2018 15:32:33 +0000 (16:32 +0100)]
Update champ version to 1.3.1-SNAPSHOT

Update the patch_version in the version.properties file

Issue-ID: AAI-1741

Change-Id: I974c6a429346cce82426378687688e00b2ec027e
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoRevert jackson-mapper-asl dependency changes 37/69137/1 1.3.0 3.0.0-ONAP
Michael Reece [Wed, 26 Sep 2018 15:29:32 +0000 (16:29 +0100)]
Revert jackson-mapper-asl dependency changes

Downgrading to version 1.4.5 caused compatability issues with other
dependencies requiring 1.9.2, so previous changes have been reverted and
exemption saught for known security vunerability for this version

Issue-ID: AAI-1677

Change-Id: I86eee45ce0256f56b0a970135a465846b749c686
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoAdd jackson-mapper-asl dependency version 1.4.5 39/68839/1
Michael Reece [Tue, 25 Sep 2018 11:04:40 +0000 (12:04 +0100)]
Add jackson-mapper-asl dependency version 1.4.5

Previously removed as a NexusIQ security vunerability, but required and
reinstated to its clean version

Issue-ID: AAI-1673

Change-Id: I1ce64819c880293bfb4bac218395c2d612fb7d06
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoExclude dom4j dep causing security vunerability 75/67775/2
Michael Reece [Wed, 19 Sep 2018 15:33:16 +0000 (16:33 +0100)]
Exclude dom4j dep causing security vunerability

Also update event-client dependency to 1.3.0 and reinstate
event-client-kafka dependency

Issue-ID: AAI-1614

Change-Id: Ia2e84c0b05c927afe2387c34113ebbdb5f0dd85f
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoFix NexusIQ security vunerabilities 79/67679/1
Michael Reece [Wed, 19 Sep 2018 10:52:59 +0000 (11:52 +0100)]
Fix NexusIQ security vunerabilities

Additional fixes to exclude dom4j and commons-httpclient dependencies

Issue-ID: AAI-1614

Change-Id: Ic9b450140899069f66c30f320cba3b853c1013db
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoFix for NexusIQ security vunerabilities 83/67083/1
Michael Reece [Mon, 17 Sep 2018 19:06:37 +0000 (20:06 +0100)]
Fix for NexusIQ security vunerabilities

Update and exclude dependencies causing security vunerabilities

Issue-ID: AAI-1614

Change-Id: I301c270f739e1fa97cb63794f5519bceb086f747
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoMerge "Upgrade to Spring Boot 1.5.15"
James Forsyth [Tue, 11 Sep 2018 12:44:14 +0000 (12:44 +0000)]
Merge "Upgrade to Spring Boot 1.5.15"

5 years agoUpgrade to Spring Boot 1.5.15 83/65783/2
Michael Arrastia [Tue, 11 Sep 2018 09:59:05 +0000 (10:59 +0100)]
Upgrade to Spring Boot 1.5.15

Change-Id: I0af75fb0f4896cd0f78a5d1f174828f80bb82a9d
Issue-ID: AAI-1507
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoCorrect spelling mistake 71/65571/1
Ioannis Sotiropoulos [Mon, 10 Sep 2018 15:42:14 +0000 (16:42 +0100)]
Correct spelling mistake

The word received is spelled incorrectly.

Change-Id: Ib3f2ad7df98766b5d6bd242edacc9db60277694f
Issue-ID: AAI-1584
Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
5 years agoMerge "Create champ key index on startup"
Steven Blimkie [Fri, 24 Aug 2018 12:55:12 +0000 (12:55 +0000)]
Merge "Create champ key index on startup"

5 years agoCreate champ key index on startup 75/62175/1
Daniel Silverthorn [Thu, 23 Aug 2018 17:52:54 +0000 (13:52 -0400)]
Create champ key index on startup

Change-Id: Ia664d61783606785dcc307845ad2c0b3ce17bbee
Issue-ID: AAI-1539
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
5 years agoUpdate application class to handle https 49/62149/1
Michael Reece [Thu, 23 Aug 2018 14:53:04 +0000 (15:53 +0100)]
Update application class to handle https

Provide a secure connection to the event client for async flow

Issue-ID: AAI-1527

Change-Id: Iddbf87f78c3712688dff54fa796df72fee950ac5
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoUpdate to stop exception for null transaction id 05/60905/1
Michael Reece [Thu, 16 Aug 2018 12:03:16 +0000 (13:03 +0100)]
Update to stop exception for null transaction id

Fixed issue on endpoint objects/relationships/ to prevent exception
being thrown when transaction id passed to GET request is null

Issue-ID: AAI-1439

Change-Id: Ib2a77063391612851149174a8bcfe356135d06ce
Signed-off-by: Michael Reece <michaere@amdocs.com>
5 years agoSpecifying a logging config for champ 45/60545/1
Shwetank Dave [Tue, 14 Aug 2018 13:22:50 +0000 (09:22 -0400)]
Specifying a logging config for champ

Adding a logging.config property to the start.sh file so champ uses
an external logging config instead of one bundled in.

Issue-ID: AAI-1476
Change-Id: I1cb6003447a50a46682e9b0584a80880da376045
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
5 years agoFixing the achtype variable name 51/60351/1
Arul.Nambi [Mon, 13 Aug 2018 16:11:38 +0000 (12:11 -0400)]
Fixing the achtype variable name

Issue-ID: AAI-1449
Change-Id: I45bda483cef7aaf45be2f5941bf5b3f4401b8135
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
5 years agoFixing the docker jenkins job 25/60325/1
Arul.Nambi [Mon, 13 Aug 2018 14:43:06 +0000 (10:43 -0400)]
Fixing the docker jenkins job

Issue-ID: AAI-1449
Change-Id: I11e3636d0999d27935d09ef1ca2ba6270dcd7f20
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
5 years agoMerge "Ensure transaction id utilised for endpoint"
Tian Lee [Mon, 6 Aug 2018 15:40:42 +0000 (15:40 +0000)]
Merge "Ensure transaction id utilised for endpoint"

5 years agoEnsure transaction id utilised for endpoint 53/58453/3
michaere [Wed, 1 Aug 2018 16:20:16 +0000 (17:20 +0100)]
Ensure transaction id utilised for endpoint

Transaction id is now handled for the end point objects/relationships/
in champ to ensure that edges are retrieved within the context of the
transaction

Issue-ID: AAI-1439

Change-Id: I5c9e4c3cf99b4e8316701cba41670a17faea381f
Signed-off-by: michaere <michaere@amdocs.com>
5 years agoMerge "Fix potential null pointers"
James Forsyth [Thu, 2 Aug 2018 18:27:46 +0000 (18:27 +0000)]
Merge "Fix potential null pointers"

5 years agoFix potential null pointers 11/58011/1
Bogumil Zebek [Mon, 30 Jul 2018 10:53:48 +0000 (12:53 +0200)]
Fix potential null pointers

Change-Id: I309010480012cc66ac8d44d6be65f5897174ec3f
Issue-ID: AAI-1430
Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
5 years agoFix sonar violation 05/58005/1
Bogumil Zebek [Mon, 30 Jul 2018 10:27:20 +0000 (12:27 +0200)]
Fix sonar violation

 - "condition always evaluate to true"

Change-Id: I9e1b7a47d0bff1d8cf7067f1a57aa22232fbd0ea
Issue-ID: AAI-1429
Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
5 years agoMerge "Fix equals and hashCode methods"
Steven Blimkie [Thu, 26 Jul 2018 12:45:34 +0000 (12:45 +0000)]
Merge "Fix equals and hashCode methods"

5 years agoMerge "Fix sonar violation"
Venkata Harish Kajur [Wed, 25 Jul 2018 16:50:58 +0000 (16:50 +0000)]
Merge "Fix sonar violation"

5 years agoFix equals and hashCode methods 83/56383/1
Bogumil Zebek [Fri, 13 Jul 2018 12:28:17 +0000 (14:28 +0200)]
Fix equals and hashCode methods

Change-Id: I3e3ebcd1ba29bc20a41c138ec071f137ccd6cf18
Issue-ID: AAI-1375
Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
5 years agoMerge "Fix handling of InterruptedException in AAI-Champ"
Tian Lee [Wed, 11 Jul 2018 12:59:43 +0000 (12:59 +0000)]
Merge "Fix handling of InterruptedException in AAI-Champ"

5 years agoFix sonar violation 75/56175/2
Bogumil Zebek [Wed, 11 Jul 2018 10:50:07 +0000 (12:50 +0200)]
Fix sonar violation

Fix potential places where NullPointerException could be thrown.

Change-Id: I84c3dc7b5c1a1f39dcf7d432adac8c507fbc5e3b
Issue-ID: AAI-1369
Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
5 years agoMerge "change order in class for java convention"
James Forsyth [Tue, 10 Jul 2018 13:26:03 +0000 (13:26 +0000)]
Merge "change order in class for java convention"

5 years agoFix handling of InterruptedException in AAI-Champ 21/56021/1
Wiktor Garbarek [Mon, 9 Jul 2018 13:18:19 +0000 (15:18 +0200)]
Fix handling of InterruptedException in AAI-Champ

Added thread interrupts

Change-Id: Ic5b7eef71354efd02736e88a1e6716aa84169898
Issue-ID: AAI-1367
Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
5 years agoFix asynchronous patch requests 71/55871/1
Ravi Geda [Thu, 5 Jul 2018 10:11:55 +0000 (11:11 +0100)]
Fix asynchronous patch requests

Async flow uses gson to de-serialize the event to a ChampObject which is
causing inconsistencies for timestamp property values. Fix is to use
jackson which the sync flow also uses.

Change-Id: Ic766d34a8c04b9d076d7cadb53cb9dcb180186b6
Issue-ID: AAI-1363
Signed-off-by: Ravi Geda <GRaviK@amdocs.com>
5 years agochange order in class for java convention 69/55569/1
Justyna Czestochowska [Fri, 29 Jun 2018 13:17:32 +0000 (15:17 +0200)]
change order in class for java convention

Change-Id: I45b681aae0bd09909a5ae1bb6f546ae32d1a8821
Issue-ID: AAI-1346
Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
5 years agoMerge "Refactor of NoOpTinkerPopTransaction"
Tian Lee [Tue, 26 Jun 2018 14:40:56 +0000 (14:40 +0000)]
Merge "Refactor of NoOpTinkerPopTransaction"

5 years agoRefactor of NoOpTinkerPopTransaction 11/55411/1
Wiktor Garbarek [Tue, 26 Jun 2018 14:04:54 +0000 (16:04 +0200)]
Refactor of NoOpTinkerPopTransaction

Removed unused logger; added method annotation

Change-Id: Ie1bc4754042189cf231e08445c53f34e8efb06ad
Issue-ID: AAI-1247
Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
5 years agoMerge "Refactor code smell AbstractValidatingChampGraph"
Tian Lee [Tue, 26 Jun 2018 08:57:56 +0000 (08:57 +0000)]
Merge "Refactor code smell AbstractValidatingChampGraph"

5 years agoFix serialization of the "key" property 31/55331/1
Michael Arrastia [Mon, 25 Jun 2018 14:55:54 +0000 (15:55 +0100)]
Fix serialization of the "key" property

The introduction of a payload envelope to the update notification event
issued by champ-core caused the incorrect serialization of the "key"
property as a JSON object instead of a String.
This caused Spike to fail when parsing the notification event from
Champ as it expects "key" to be a String.

A previous fix attempt incorrectly addressed this problem. As the issue
originated from the inconsistent use of both Jackson and Gson JSON
libraries with the envelope using Gson but the contained objects
using Jackson annotations. This fix primarily involves updates to
champ-core to ensure that the envelope generation uses Jackson
instead of Gson and respects the original Jackson serialization of
the "key" property as a String.

Change-Id: I2a12732c9ff3970c3db9de5f0039304e68cb3556
Issue-ID: AAI-1243
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoRefactor code smell AbstractValidatingChampGraph 17/55317/1
Justyna Czestochowska [Mon, 25 Jun 2018 10:26:41 +0000 (12:26 +0200)]
Refactor code smell AbstractValidatingChampGraph

Change-Id: I6e76af608a326866de54acd8c5398a04267143ae
Issue-ID: AAI-1237
Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
5 years agoFix serialization of update notification payload 69/51169/1
Michael Arrastia [Mon, 11 Jun 2018 21:02:33 +0000 (22:02 +0100)]
Fix serialization of update notification payload

Fix Gson serialization of ChampEventEnvelope:
- serialize key as primitive.
  Currently output as object ({}) with a "value" property.
  This is due to Optional object declaration and misalignment between
  Gson serializer and Jackson annotations in ChampObject
- serialize transactionId as transaction-id
- serialize dbTransactionId as db-transaction-id

Change-Id: I3a9824ad376ca8189ba31cc9442cb42bb06a9d70
Issue-ID: AAI-1218
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoAdd validation of request headers 33/51033/1
Michael Arrastia [Fri, 8 Jun 2018 09:40:54 +0000 (10:40 +0100)]
Add validation of request headers

Enforces presence of X-FromAppId and X-TransactionId headers
in REST requests.

Change-Id: I539e863049e4d5a985d9e952ee7dcbf3fd97f7b3
Issue-ID: AAI-1194
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoReturn ETag in response header 83/50683/1
Michael Arrastia [Wed, 6 Jun 2018 13:55:59 +0000 (14:55 +0100)]
Return ETag in response header

This update generates a unique hash for the payload and returns it
as an etag header.

Change-Id: I471dc1e74e8096d4fdb4f4db7f22e08ef4842ace
Issue-ID: AAI-1208
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoFix Fortify scan vulnerabilities 77/50677/1
Michael Arrastia [Wed, 6 Jun 2018 12:27:52 +0000 (13:27 +0100)]
Fix Fortify scan vulnerabilities

Change-Id: I9a402ca1bb1755cf5ff9fc04eba781ed7f2b4a1c
Issue-ID: AAI-1193
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpdate payload format for update notification 29/50329/1
Michael Arrastia [Tue, 5 Jun 2018 12:19:45 +0000 (13:19 +0100)]
Update payload format for update notification

The update notification event is now aligned with the format of the
response event.  Both response and update notification events issued
by Champ now include top level header and body properties.

Change-Id: I00f9971cdbab4944def66c25f5939d5cc4de71bd
Issue-ID: AAI-1195
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoIgnore reserved query params 89/50189/1
Shwetank Dave [Mon, 4 Jun 2018 18:42:53 +0000 (14:42 -0400)]
Ignore reserved query params

Change-Id: I3eadc1e238a6f73d2dee1b6ced9b1d6033ded85e
Issue-ID: AAI-1203
Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
5 years agoMake champ run as root 13/49013/1
Daniel Silverthorn [Thu, 24 May 2018 19:36:21 +0000 (15:36 -0400)]
Make champ run as root

Change-Id: I769540fd4982641e92fdcad87df91d532bbed565
Issue-ID: AAI-1175
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
5 years agoMerge "Dynamically determine image architecture"
James Forsyth [Wed, 23 May 2018 20:50:14 +0000 (20:50 +0000)]
Merge "Dynamically determine image architecture"

5 years agoDynamically determine image architecture 73/43173/2
Mohammed Naser [Mon, 16 Apr 2018 20:30:42 +0000 (13:30 -0700)]
Dynamically determine image architecture

The image architecture is currently hardcoded, this patch removes
that hardcoded value to allow for ARM64 builds to go through.

Change-Id: I576949e2f09261007f79efc238cde249426c77e6
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
5 years agoPin jnr-unixsocket for Docker plugin to 0.13 71/43171/2
Mohammed Naser [Mon, 16 Apr 2018 20:30:08 +0000 (13:30 -0700)]
Pin jnr-unixsocket for Docker plugin to 0.13

The current verison of jnr-unixsocket is 0.12 from the Docker
plugin however in order to be able the images for ARM64, it needs
the newer version which has support for it.

There is work upstream to switch the version to 0.18[0] however
it seems that this is still pending, so we can pin it for now until
that merges.

[0]: https://github.com/spotify/docker-maven-plugin/pull/379

Change-Id: Ieb1b5c6e43d3dc1425b2ab63f2fd161e452e5a57
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
5 years agoMerge "Remove broken not used code"
James Forsyth [Wed, 23 May 2018 20:22:24 +0000 (20:22 +0000)]
Merge "Remove broken not used code"

5 years agoUpversion for Casablanca 55/48755/2
Jimmy Forsyth [Wed, 23 May 2018 17:31:30 +0000 (13:31 -0400)]
Upversion for Casablanca

Issue-ID: AAI-1169
Change-Id: I640156e35b5de1b509fac5abaabeddd6917c00bb
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpversion poms and version.properties to 1.2.3 21/48521/1 2.0.0-ONAP beijing 2.0.0-ONAP v1.2.2 v1.2.3
Michael Arrastia [Tue, 22 May 2018 15:46:40 +0000 (16:46 +0100)]
Upversion poms and version.properties to 1.2.3

Change-Id: I2956bf79f9aaedfa3f3cd5fc7caf6f794e7f02a1
Issue-ID: AAI-1154
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpversion to 1.2.2 for Beijing release 91/48491/1
Michael Arrastia [Tue, 22 May 2018 13:03:35 +0000 (14:03 +0100)]
Upversion to 1.2.2 for Beijing release

Change-Id: I3113bdda31f2a702e1a8f7a5446fefba1f843db6
Issue-ID: AAI-1153
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoOrganise pom structure into corrected hierarchy 03/48203/1
Michael Arrastia [Fri, 18 May 2018 16:56:34 +0000 (17:56 +0100)]
Organise pom structure into corrected hierarchy

All child modules are now properly grouped under each parent.
This should allow the Jenkins update version plugin to update
the version of all child modules and allow the staging deployment
of the champ-service releasable artifact.

Change-Id: I6ecae622654e736f65691d9fa4357d27e606c801
Issue-ID: AAI-1146
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpdate champ-service pom to force staging 67/48167/1
Michael Arrastia [Fri, 18 May 2018 12:26:48 +0000 (13:26 +0100)]
Update champ-service pom to force staging

This is an attempt to force the autorelease staging.

Change-Id: I203c9e27fc41d4d4a61ba9a25a07479d50e162c9
Issue-ID: AAI-1146
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpdate champ-service pom to correct groupId 83/48083/1
Michael Arrastia [Thu, 17 May 2018 17:18:05 +0000 (18:18 +0100)]
Update champ-service pom to correct groupId

This is a further attempt to fix the release-version-java-daily job.

Change-Id: I0df7889eaf040baea5a2d8791fc9d5f2361b5690
Issue-ID: AAI-1146
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpdate poms to upload champ-service jar 73/48073/1
Michael Arrastia [Thu, 17 May 2018 16:52:08 +0000 (17:52 +0100)]
Update poms to upload champ-service jar

The intention is to additionally resolve the build of the
release-version-java-daily job.

Change-Id: I39af216e187245a845cc1f4921a02c21b4728884
Issue-ID: AAI-1146
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
5 years agoUpversion to 1.2.1-SNAPSHOT 65/47965/1
Jimmy Forsyth [Thu, 17 May 2018 03:44:52 +0000 (23:44 -0400)]
Upversion to 1.2.1-SNAPSHOT

Issue-ID: AAI-1138
Change-Id: Ia5f8ce5b51f994b4418c673b5ee3bffe049c8446
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoRemove duplicate dependency 17/47717/1
Jimmy Forsyth [Tue, 15 May 2018 20:53:07 +0000 (16:53 -0400)]
Remove duplicate dependency

Issue-ID: AAI-1141
Change-Id: I8d470492d4e55f82b70f82ee8d54ea4bde662c83
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
5 years agoUpdate version to 1.2.1-SNAPSHOT 75/47675/1
Ravi Geda [Tue, 15 May 2018 18:13:44 +0000 (19:13 +0100)]
Update version to 1.2.1-SNAPSHOT

Change-Id: I46cad4df0a03b5114c08efad2b04c2a19573a4b5
Issue-ID: AAI-1138
Signed-off-by: Ravi Geda <GRaviK@amdocs.com>