summaryrefslogtreecommitdiffstats
path: root/champ-service/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27Add unit test coveragesblimkie1-0/+166
Change-Id: Ifb73766522765d41819259aa17d299b594e1a75b Issue-ID: AAI-2219 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2019-01-21Unit test for ChampDataService.javaDriptaroop Das1-0/+75
Unit test for ChampDataService.java Issue-ID: AAI-2094 Change-Id: I49736e3e691836688a085a0456c49c6bf967f0a7 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2018-07-05Fix asynchronous patch requestsRavi Geda1-0/+45
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-08Add validation of request headersMichael Arrastia2-0/+175
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 Arrastia1-0/+352
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-05-01Replace AJSC with Spring Boot 1.5.12.RELEASEMichael Arrastia2-19/+59
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 Arrastia2-0/+76
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>