aboutsummaryrefslogtreecommitdiffstats
path: root/champ-lib
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-03-23Add maven deploy and nexus staging pluginsMichaelArrastia1-17/+39
Fix merge job which is failing with authorisation error. Issue-ID: AAI-927 Change-Id: Ibbf969de8d4d9d8238f8385a0c3d074887ef56dc Signed-off-by: MichaelArrastia <MArrasti@amdocs.com>
2018-03-22Support maven deploy and docker build targetsMichaelArrastia1-0/+6
This commit principally includes the following pom updates: 1. Add distributionManagement to fix jobs that run maven deploy. 2. Update way in which champ-service gets the graph-deps. This change specifically supports the docker build. Issue-ID: AAI-927 Change-Id: I5920de3c010b810a802f95ac82da89ea3989e7d9 Signed-off-by: MichaelArrastia <MArrasti@amdocs.com>
2018-03-19Update license date and textSanchez, Gabriel (gs882h)157-462/+396
Update license date and disable license plugi:n Issue-ID: AAI-862 Change-Id: Ic46fee4917bde48298acfc1d76eef9083986113e Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
2018-03-08Remove DistributionManagement section from pommichaere1-20/+0
Updates to champ-lib pom also include the removal of scm tags, which were pointing to specific repositories. This will be handled by the settings.xml and build job Issue-ID: AAI-848 Change-Id: I3bca4cc05748388fb806b81474d26776bc1b677b Signed-off-by: michaere <michaere@amdocs.com>
2018-03-07Port champ-microservice project restructuremichaere158-0/+17311
Includes project restructure and introduction of a parent pom. The original source folder and core functionality is now held within champ-lib, with champ-service forming the ajsc microservice from which it injects champ-lib core functionality. Issue-ID: AAI-813 Change-Id: I2ce0c4a70e485665276e7955572de23969deb706 Signed-off-by: michaere <michaere@amdocs.com>