aboutsummaryrefslogtreecommitdiffstats
path: root/champ-lib
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15Merge "Upversion champ in master"Steven Blimkie4-4/+4
2019-08-15Merge "Sonar Fix : Added logger"James Forsyth1-10/+14
2019-08-15Merge "Sonar Fix - Type Inference"James Forsyth1-4/+5
2019-08-15Merge "Updated champ-lib to use the correct logger"James Forsyth17-105/+597
2019-08-13Upversion champ in masterJimmy Forsyth4-4/+4
Issue-ID: AAI-2579 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Iab34378a281b6c5d9ff8b5303fb6a2d3dedef665
2019-06-27Prepare champ for global-jjb1.5.0Jimmy Forsyth4-12/+0
Issue-ID: AAI-2483 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I9d5b7576ef008c145ca5aa41b47a4e6819e4acf6
2019-06-20Sonar Fix : Added loggerSudarshan Kumar1-10/+14
Sonar Fix : Added logger Issue-ID: AAI-2371 Change-Id: I61d43ceb174c848707ab95c84145890d4a707b25 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-06-19Sonar Fix - Type InferenceSudarshan Kumar1-4/+5
Sonar Fix - Type Inference Issue-ID: AAI-2371 Change-Id: I88169271581d1b6e8cd5d0b1338eae27c36dd31e Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-06-18Upversion for global jjb transitionJimmy Forsyth4-4/+4
Issue-ID: AAI-2483 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I0936f9559c09d1b6e83aeeb4a75c8db88ae9fe26
2019-05-27Updated champ-lib to use the correct loggerStela Stoykova17-105/+597
Issue-ID: AAI-2462 Signed-off-by: Stela Stoykova <Stela.Stoykova@amdocs.com> Change-Id: I4a8e544c6eb44c6a3db295787b37f8787eabd50f
2019-05-09Upversion champJimmy Forsyth4-4/+4
Issue-ID: AAI-2403 Change-Id: I08a533e5d3f61e98b8ff51f938f11850c25dc9fd Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-02Add cql driver support for champKajur, Harish (vk250x)2-2/+33
Issue-ID: AAI-2308 Change-Id: I0a610eecb6b6dffe8df8f6458ee2184a763d343a Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2019-04-01Enforce minimum Jacoco line coverageRavi Geda4-218/+15
Change-Id: I27e1cf95384ebe5213f4a0f082a1a4360af2675c Issue-ID: AAI-2305 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2019-03-15Create vertex and edge indicies on startupDaniel Silverthorn13-56/+222
Change-Id: I3ee538796e21a0667df4b4dbbdfec40f5b4ca30d Issue-ID: AAI-2265 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2019-03-11Remove unneeded dependency causing Sonar bugLee, Tian (tl5884)1-7/+0
Change-Id: I881e829a08c34f503bb8ce5360a84c9be58f76fe Issue-ID: AAI-2230 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-03-11Increase code coverage to 55% for DublinSanchez, Gabriel (gs882h)1-0/+0
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>
2019-01-21bugfix: hashcode() implementationDriptaroop Das1-0/+7
Implemented hashCode() as equals() is already implemented Issue-ID: AAI-2093 Change-Id: Ib393a339fd69a7c2e161f36339ccce5d627e4ab4 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2018-11-07Updating even-client to 1.3.1 - RMQ supportShwetank Dave1-0/+4
Issue-ID: AAI-1795 Change-Id: Ibfba91df6cb56a409165d6641ff81477a8c252e8 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-11-05Upversion to 1.4.0 - Dublin branchSanchez, Gabriel (gs882h)4-4/+4
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>
2018-10-17Update champ version to 1.3.1-SNAPSHOTMichael Reece4-4/+4
Update the patch_version in the version.properties file Issue-ID: AAI-1741 Change-Id: I974c6a429346cce82426378687688e00b2ec027e Signed-off-by: Michael Reece <michaere@amdocs.com>
2018-09-26Revert jackson-mapper-asl dependency changes3.0.0-ONAP1.3.0Michael Reece2-14/+0
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>
2018-09-25Add jackson-mapper-asl dependency version 1.4.5Michael Reece1-0/+6
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>
2018-09-19Exclude dom4j dep causing security vunerabilityMichael Reece1-0/+5
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>
2018-09-19Fix NexusIQ security vunerabilitiesMichael Reece3-0/+12
Additional fixes to exclude dom4j and commons-httpclient dependencies Issue-ID: AAI-1614 Change-Id: Ic9b450140899069f66c30f320cba3b853c1013db Signed-off-by: Michael Reece <michaere@amdocs.com>
2018-09-17Fix for NexusIQ security vunerabilitiesMichael Reece2-5/+28
Update and exclude dependencies causing security vunerabilities Issue-ID: AAI-1614 Change-Id: I301c270f739e1fa97cb63794f5519bceb086f747 Signed-off-by: Michael Reece <michaere@amdocs.com>
2018-07-13Fix equals and hashCode methodsBogumil Zebek10-9/+244
Change-Id: I3e3ebcd1ba29bc20a41c138ec071f137ccd6cf18 Issue-ID: AAI-1375 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-07-11Merge "Fix handling of InterruptedException in AAI-Champ"Tian Lee4-3/+12
2018-07-09Fix handling of InterruptedException in AAI-ChampWiktor Garbarek4-3/+12
Added thread interrupts Change-Id: Ic5b7eef71354efd02736e88a1e6716aa84169898 Issue-ID: AAI-1367 Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
2018-06-29change order in class for java conventionJustyna Czestochowska1-75/+69
Change-Id: I45b681aae0bd09909a5ae1bb6f546ae32d1a8821 Issue-ID: AAI-1346 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-06-26Merge "Refactor of NoOpTinkerPopTransaction"Tian Lee1-6/+3
2018-06-26Refactor of NoOpTinkerPopTransactionWiktor Garbarek1-6/+3
Removed unused logger; added method annotation Change-Id: Ie1bc4754042189cf231e08445c53f34e8efb06ad Issue-ID: AAI-1247 Signed-off-by: Wiktor Garbarek <wiktor.garbarek@nokia.com>
2018-06-26Merge "Refactor code smell AbstractValidatingChampGraph"Tian Lee1-61/+71
2018-06-25Fix serialization of the "key" propertyMichael Arrastia10-209/+129
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>
2018-06-25Refactor code smell AbstractValidatingChampGraphJustyna Czestochowska1-61/+71
Change-Id: I6e76af608a326866de54acd8c5398a04267143ae Issue-ID: AAI-1237 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-06-11Fix serialization of update notification payloadMichael Arrastia7-10/+169
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>
2018-06-06Fix Fortify scan vulnerabilitiesMichael Arrastia4-43/+43
Change-Id: I9a402ca1bb1755cf5ff9fc04eba781ed7f2b4a1c Issue-ID: AAI-1193 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-06-05Update payload format for update notificationMichael Arrastia8-403/+891
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>
2018-05-23Upversion for CasablancaJimmy Forsyth4-4/+4
Issue-ID: AAI-1169 Change-Id: I640156e35b5de1b509fac5abaabeddd6917c00bb Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-05-22Upversion poms and version.properties to 1.2.3v1.2.3v1.2.22.0.0-ONAPbeijing2.0.0-ONAPMichael Arrastia4-4/+4
Change-Id: I2956bf79f9aaedfa3f3cd5fc7caf6f794e7f02a1 Issue-ID: AAI-1154 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-05-22Upversion to 1.2.2 for Beijing releaseMichael Arrastia4-4/+4
Change-Id: I3113bdda31f2a702e1a8f7a5446fefba1f843db6 Issue-ID: AAI-1153 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-05-18Organise pom structure into corrected hierarchyMichael Arrastia4-11/+15
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>
2018-05-15Update version to 1.2.1-SNAPSHOTRavi Geda4-8/+8
Change-Id: I46cad4df0a03b5114c08efad2b04c2a19573a4b5 Issue-ID: AAI-1138 Signed-off-by: Ravi Geda <GRaviK@amdocs.com>
2018-05-04Address security vulnerabilities (fix 2)Michael Arrastia1-2/+0
Fixes previously missed dependencies: - jackson-databind: version 2.8.11.1 - httpclient: version 4.5.3 - jackson-mapper: version 1.9.2 Change-Id: Iae2013bf164a90e910ec1d2cd4ad1185a01bacad Issue-ID: AAI-1117 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-05-03Address security vulnerabilitiesMichael Arrastia4-88/+50
This includes version upgrades for: - logback-classic, logback-core - commons-collections - hadoop-common - hbase-client: settled on version 1.0.2 as container would not start with later versions - httpclient - netty, netty-all - zookeeper - jackson-core Also should resolve presence of flux-examples. Change-Id: Ifb55f5d6676a9971d1d9a46c695dc78eb1b99843 Issue-ID: AAI-1117 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-04-19Upgrade to janus 0.2.0Daniel Silverthorn1-2/+2
Change-Id: I47de44fed3113817096127eb4e849ede259eaad8 Issue-ID: AAI-1082 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-04-10Fix jdk tools system dependency in champ-libMichael Arrastia1-1/+1
Update jdk tools systempath definition to use java.home property. Issue-ID: AAI-1017 Change-Id: Iec7ad7bb42908b9844df875f74c4d9a65244afe9 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-03-28Update to consume and publish events in new formatMichael Arrastia4-4/+4
The new format includes: - the graph request/response encapsulated in a body property - new event header with details such as timestamp, request-id, event-type Issue-ID: AAI-960 Change-Id: Ib84ddd54352ca95c3968d2d2936f6348951c2d2c Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-03-28Merge "Catch IllegalArgumentException for error message"Steven Blimkie1-1/+1
2018-03-28Catch IllegalArgumentException for error messageDaniel Silverthorn1-1/+1
Also had to upversion event client library Change-Id: I4dbbf8f35630d93cca9e5d8971e7fde8a65b0811 Issue-ID: AAI-945 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-03-23Update module poms to skip maven deployMichael Arrastia4-23/+29
The rationale for this change is that the only deployable artifact is the champ microservice as a docker component. The intention is to allow the failing Jenkins merge job to complete. Issue-ID: AAI-927 Change-Id: Ib73470697cd79d12b8d1d47df9afa930f4768d8f Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>