aboutsummaryrefslogtreecommitdiffstats
path: root/champ-service
AgeCommit message (Collapse)AuthorFilesLines
2019-10-16[AAI-2175] Change aai champ container processes to run as non-root on the hostHEADmasterrajeevme2-1/+54
Issue-ID: AAI-2175 Change-Id: Ia12e5401a1bc8a5490acf2cb025b9b62ce6bd538 Signed-off-by: rajeevme<rajeev.mehta@amdocs.com> Change-Id: Icd8fbc0eb9c8d14e0d4a7316eedc0ccf9badd2b7
2019-08-29Fixed project version parsingDmitry Puzikov3-72/+171
Change-Id: I9192d12bcb6d2f4b93ebd2835cf3d9b7dd1f2ad5 Issue-ID: INT-1151 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-08-15Merge "Upversion champ in master"Steven Blimkie1-2/+2
2019-08-15Merge "Updated champ-lib to use the correct logger"James Forsyth2-0/+9
2019-08-15Merge "Added sonar fixes"James Forsyth3-8/+18
2019-08-13Upversion champ in masterJimmy Forsyth1-2/+2
Issue-ID: AAI-2579 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Iab34378a281b6c5d9ff8b5303fb6a2d3dedef665
2019-07-16Refactor pom for use with global jjbsblimkie1-17/+36
Change-Id: I45f5617fd7771d442157f6adb5cb72ac616767f0 Issue-ID: AAI-2483 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2019-06-27Prepare champ for global-jjb1.5.0Jimmy Forsyth1-6/+0
Issue-ID: AAI-2483 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I9d5b7576ef008c145ca5aa41b47a4e6819e4acf6
2019-06-18Upversion for global jjb transitionJimmy Forsyth1-1/+1
Issue-ID: AAI-2483 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I0936f9559c09d1b6e83aeeb4a75c8db88ae9fe26
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-05-09Upversion champJimmy Forsyth1-1/+1
Issue-ID: AAI-2403 Change-Id: I08a533e5d3f61e98b8ff51f938f11850c25dc9fd Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-15Roll back springboot upgradeJimmy Forsyth1-1/+1
Issue-ID: AAI-2380 Change-Id: I884f89a0c83328fe3f8376ea3a5b01da2039cf7d Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-09Upgrade to springboot 1.5.20.RELEASEJimmy Forsyth1-1/+1
Issue-ID: AAI-2349 Change-Id: I273ec38a36f95a35231682d57f222257fe0d9d07 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-01Enforce minimum Jacoco line coverageRavi Geda1-0/+3
Change-Id: I27e1cf95384ebe5213f4a0f082a1a4360af2675c Issue-ID: AAI-2305 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2019-03-29Upgrade Spring Boot to version 1.5.19Ravi Geda1-1/+1
Change-Id: Ia2e5dcf399243866b8074bb3f9494b3b3f0cb944 Issue-ID: AAI-2304 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2019-03-27Add unit test coveragesblimkie1-0/+166
Change-Id: Ifb73766522765d41819259aa17d299b594e1a75b Issue-ID: AAI-2219 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
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-20Merge "Unit test for ChampDataService.java"Steven Blimkie2-0/+107
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)2-1/+8
optionally disable client auth Change-Id: Ic81a1cbc4c7140696662388e120d6dcaadc2588a Issue-ID: AAI-2116 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-21Unit test for ChampDataService.javaDriptaroop Das2-0/+107
Unit test for ChampDataService.java Issue-ID: AAI-2094 Change-Id: I49736e3e691836688a085a0456c49c6bf967f0a7 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-03set server truststore params optionally in champDaniel Silverthorn2-1/+20
Change-Id: I20f63834d8bfb3d715d244869e5c1fc4ee9811c9 Issue-ID: AAI-2046 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-12-20Exclude tomcat from jersey starterjimmy1-0/+6
Issue-ID: AAI-2033 Change-Id: Id379bfe8c26168cbc0b1905d842fc9cc31638430 Signed-off-by: jimmy <jf2512@att.com>
2018-12-17Update to springboot 1.5.18jimmy1-1/+1
Change-Id: I0d921260b65b98f206e70dfcae3bab4c72181397 Issue-ID: AAI-2014 Signed-off-by: jimmy <jf2512@att.com>
2018-11-16Upversion spring boot to 1.5.17Sanchez, Gabriel (gs882h)1-1/+1
Fix nexusIQ vulnerabilities Issue-ID: AAI-1893 Change-Id: I3ff53488b070fc9abd43dcd9371c467a31fd0eeb Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
2018-11-05Upversion to 1.4.0 - Dublin branchSanchez, Gabriel (gs882h)1-1/+1
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 Reece1-1/+1
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-19Fix NexusIQ security vunerabilitiesMichael Reece1-7/+0
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 Reece1-2/+0
Update and exclude dependencies causing security vunerabilities Issue-ID: AAI-1614 Change-Id: I301c270f739e1fa97cb63794f5519bceb086f747 Signed-off-by: Michael Reece <michaere@amdocs.com>
2018-09-11Merge "Upgrade to Spring Boot 1.5.15"James Forsyth1-1/+1
2018-09-11Upgrade to Spring Boot 1.5.15Michael Arrastia1-1/+1
Change-Id: I0af75fb0f4896cd0f78a5d1f174828f80bb82a9d Issue-ID: AAI-1507 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-09-10Correct spelling mistakeIoannis Sotiropoulos2-2/+2
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 Reece2-1/+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-14Specifying a logging config for champShwetank Dave2-0/+1
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>
2018-08-13Fixing the achtype variable nameArul.Nambi1-1/+1
Issue-ID: AAI-1449 Change-Id: I45bda483cef7aaf45be2f5941bf5b3f4401b8135 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2018-08-13Fixing the docker jenkins jobArul.Nambi2-8/+1
Issue-ID: AAI-1449 Change-Id: I11e3636d0999d27935d09ef1ca2ba6270dcd7f20 Signed-off-by: Arul.Nambi <arul.nambi@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 Geda3-5/+67
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 Arrastia4-10/+255
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 Arrastia4-22/+554
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>