aboutsummaryrefslogtreecommitdiffstats
path: root/champ-service/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15Merge "Updated champ-lib to use the correct logger"James Forsyth2-0/+9
2019-06-17Added sonar fixesSudarshan Kumar3-8/+18
Added sonar fixes Issue-ID: AAI-2371 Change-Id: Ife82e7816a32a361eb79d75acb8f20fa60e0cae4 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-05-27Updated champ-lib to use the correct loggerStela Stoykova2-0/+9
Issue-ID: AAI-2462 Signed-off-by: Stela Stoykova <Stela.Stoykova@amdocs.com> Change-Id: I4a8e544c6eb44c6a3db295787b37f8787eabd50f
2019-03-15Create vertex and edge indicies on startupDaniel Silverthorn3-18/+96
Change-Id: I3ee538796e21a0667df4b4dbbdfec40f5b4ca30d Issue-ID: AAI-2265 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2019-02-12Performance Improvements for Gizmo bulk APISerban Popescu7-27/+593
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>
2019-01-24optionally disable client authBansal, Nitin (nb121v)1-0/+8
optionally disable client auth Change-Id: Ic81a1cbc4c7140696662388e120d6dcaadc2588a Issue-ID: AAI-2116 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-03set server truststore params optionally in champDaniel Silverthorn1-1/+11
Change-Id: I20f63834d8bfb3d715d244869e5c1fc4ee9811c9 Issue-ID: AAI-2046 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-09-10Correct spelling mistakeIoannis Sotiropoulos1-1/+1
The word received is spelled incorrectly. Change-Id: Ib3f2ad7df98766b5d6bd242edacc9db60277694f Issue-ID: AAI-1584 Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
2018-08-24Merge "Create champ key index on startup"Steven Blimkie1-0/+10
2018-08-23Create champ key index on startupDaniel Silverthorn1-0/+10
Change-Id: Ia664d61783606785dcc307845ad2c0b3ce17bbee Issue-ID: AAI-1539 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-08-23Update application class to handle httpsMichael Reece1-0/+24
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>
2018-08-16Update to stop exception for null transaction idMichael Reece1-1/+1
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>
2018-08-06Merge "Ensure transaction id utilised for endpoint"Tian Lee1-1/+10
2018-08-06Ensure transaction id utilised for endpointmichaere1-1/+10
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>
2018-08-02Merge "Fix potential null pointers"James Forsyth2-39/+38
2018-07-30Fix potential null pointersBogumil Zebek2-39/+38
Change-Id: I309010480012cc66ac8d44d6be65f5897174ec3f Issue-ID: AAI-1430 Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
2018-07-30Fix sonar violationBogumil Zebek1-2/+2
- "condition always evaluate to true" Change-Id: I9e1b7a47d0bff1d8cf7067f1a57aa22232fbd0ea Issue-ID: AAI-1429 Signed-off-by: bogumil_zebek <bogumil.zebek@nokia.com>
2018-07-11Fix sonar violationBogumil Zebek3-160/+153
Fix potential places where NullPointerException could be thrown. Change-Id: I84c3dc7b5c1a1f39dcf7d432adac8c507fbc5e3b Issue-ID: AAI-1369 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-07-05Fix asynchronous patch requestsRavi Geda2-5/+22
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>
2018-06-25Fix serialization of the "key" propertyMichael Arrastia3-9/+235
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-08Add validation of request headersMichael Arrastia2-10/+80
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>
2018-06-06Return ETag in response headerMichael Arrastia3-22/+202
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>
2018-06-05Update payload format for update notificationMichael Arrastia4-287/+10
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-06-04Ignore reserved query paramsShwetank Dave1-2/+17
Change-Id: I3eadc1e238a6f73d2dee1b6ced9b1d6033ded85e Issue-ID: AAI-1203 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-05-01Replace AJSC with Spring Boot 1.5.12.RELEASEMichael Arrastia3-5/+83
Updates include: Remove AJSC references Use PropertiesLoader (loader.path) to allow loading external janus or titan deps Fix dependency conflicts between janus/titan deps and Spring Boot deps Use Jetty container Use Jersey registration of Champ REST interface Change-Id: Ic33b886b0b039cce0366c0f0910cc5a3fe5bfd9b Issue-ID: AAI-1041 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-03-28Update to consume and publish events in new formatMichael Arrastia4-247/+573
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-0/+8
2018-03-28Catch IllegalArgumentException for error messageDaniel Silverthorn1-0/+8
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-19Update license date and textSanchez, Gabriel (gs882h)20-81/+60
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-09Add Spotify and License pluginsMichaelArrastia14-84/+188
The champ-service module pom requires additional plugins: 1. Spotify: to allow ONAP Jenkins docker job to complete 2. License: to generate license headers in Java files Issue-ID: AAI-850 Change-Id: Ie5b82d36773c32cb1bba428c0effb8b04fbb7859 Signed-off-by: MichaelArrastia <MArrasti@amdocs.com>
2018-03-07Port champ-microservice project restructuremichaere20-0/+2956
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>