aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-11Fix Gizmo Sonar bugsLee, Tian (tl5884)1-2/+7
Change-Id: I8d74270fcf947222f3836ee2821a7bb921f2fff7 Issue-ID: AAI-2231 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-02-13Performance Improvements for Gizmo bulk APIPopescu, Serban10-376/+999
Use bulk operations with Gizmo/Champ to improve performance. Also allows for HA by allowing Champ to operate in stateless mode Change-Id: I63bbbf8d6071cecb4b22110c477d7dc592026200 Issue-ID: AAI-2147 Signed-off-by: Serban Popescu <serban.popescu@amdocs.com>
2019-01-30Remove Multiplicity featureSanchez, Gabriel (gs882h)18-638/+365
The multiplicty feature is not working properly around relantionships and demands more investigation in order to identify the issues. In the future we might add this back. For reference multiplicity was added under AAI-1197 Basically reversing the commit: d10a218c76633374f083f7a2802c198e93a6abae Issue-ID: AAI-2124 Change-Id: I5d27b950841da08b00fbb422fb13136d43f0e3bd Signed-off-by: Sanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>
2019-01-23optionally disable client auth in gizmoBansal, Nitin (nb121v)1-1/+6
optionally disable client auth in gizmo Change-Id: I62ba93ce8ec29c08ee311ce585dae2b16bf405ac Issue-ID: AAI-2116 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-11Fix echo service path in gizmoBansal, Nitin (nb121v)2-2/+2
Fix echo service path in gizmo Change-Id: I921628c815ce9130d257914db089777eb2c84341 Issue-ID: AAI-2071 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-03supporting clear text and obfuscated client certBansal, Nitin (nb121v)2-2/+2
supporting clear text and obfuscated client cert Change-Id: I6a048309982662c6b78b561cb0db18627d6e294f Issue-ID: AAI-2046 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2019-01-03supporting clear text and obfuscated client certBansal, Nitin (nb121v)2-2/+4
supporting clear text and obfuscated client cert pwd Change-Id: I4278490aea41ae7b59fe9c0a0dc8ea1400155f6d Issue-ID: AAI-2046 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2018-12-31set server truststore params optionally in gizmoBansal, Nitin (nb121v)1-1/+15
set server truststore params optionally in Gizmo Change-Id: I4908e44ca70a994c9112816d33714a0d6db61e27 Issue-ID: AAI-2046 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2018-12-20Remove unused filesRavi Geda2-84/+0
Change-Id: Ib47a3a86e37db8ee8d6e733334284b5efd2a9fb7 Issue-ID: AAI-2008 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-12-17Update to use Schema ServiceRavi Geda7-83/+86
The code supports both Schema Service and local schema files. The property schema.translator.list drives which one to use. Change-Id: Idc9c5832d7286e7904ddf0b2637c83b0a3cfa15c Issue-ID: AAI-2008 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-12-13Optionally disable authorization via policyStela Stoykova2-1/+16
Added support for optional config parameter to disable authorization via policy. Change-Id: I79e3decee7ed4c5c02ceafa1e8655282c0e5fd3a Issue-ID: AAI-2005 Signed-off-by: Stela Stoykova <Stela.Stoykova@amdocs.com>
2018-11-29Upgrade version of aai-commonRavi Geda10-794/+337
Update OXM Model Loader and Edge Rules Loader to use the 1810 schema ingestion mechanism. Update tests accordingly. Change-Id: I979951fcdcaf901c508c30d770b83dfa3d52bde4 Issue-ID: AAI-1952 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-11-07 Add swagger docs for gizmo APIsBansal, Nitin (nb121v)7-51/+441
Improve the way node type is resolved from OXM jaxbContext. Issue-ID: AAI-1882 Change-Id: Ia72fea0ac286dc96bb3b29d117b241b58b7eece7 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
2018-10-10Return X-TransactionId header in REST responseMichael Arrastia2-709/+787
If the transaction ID is not provided the reverse-proxy creates it. This ensures that the transaction ID is provided back to the client. Change-Id: I033a23bbb3920e264a51322a81f23ad220e59d34 Issue-ID: AAI-1732 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-08-21Set trust storeIoannis Sotiropoulos1-0/+24
Set required system parameters to specify the correct trust store to use for outgoing HTTPS connections. Change-Id: I455c5c217a976c3b99cc8ff28883f34215caf47c Issue-ID: AAI-1526 Signed-off-by: Ioannis Sotiropoulos <Ioannis.Sotiropoulos@amdocs.com>
2018-08-01Re-enable vertex edges retrieval for bulkmichaere1-23/+8
Following changes to champ to retrieve edges in context of transaction for bulk. This issue was caused as a result of multiplicity rules check. Issue-ID: AAI-1439 Change-Id: If68efa4b531644bf4297b08f566b18b5bd21c2b8 Signed-off-by: michaere <michaere@amdocs.com>
2018-07-19Auto-resolve edge typesblimkie8-61/+178
Auto-resolve edge type based on EdgeRules file. Change-Id: Ic6de47f5172bc410efcdd5f08c1ea5c4f822610e Issue-ID: AAI-1396 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-07-12Fix sonar violationsSotiropoulos, Ioannis (is948x)7-27/+32
Issue-ID: AAI-1190 Change-Id: I72894665b288416069d3c2eb84185fcc303976f7 Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-07-10Increase code coverageSotiropoulos, Ioannis (is948x)5-49/+24
Add tests to increase code coverage above 60 percent. Issue-ID: AAI-1198 Change-Id: I4c2f964ce41d01521cc1313e32e34fb6460d49bf Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-07-09Merge "Fix code architecure in CrudAsyncResponseConsumer"Tian Lee3-77/+105
2018-07-09Fix code architecure in CrudAsyncResponseConsumerBogumil Zebek3-77/+105
- fix code complexity - make code testable - add missing tests Change-Id: I542e7f603a5ffe956ae3fc3f58874b7dd2ce87a1 Issue-ID: AAI-1365 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-07-09Merge "Fix sonar violations"Tian Lee2-6/+23
2018-07-05Fix sonar violationsBogumil Zebek2-6/+23
Change-Id: I0f2b7f58cb2176a017c0adf0bacdea2252d8026b Issue-ID: AAI-1364 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-06-27Merge "Fix sonar issues in crud/logging/LoggingUtil"Tian Lee1-2/+2
2018-06-27Merge "Fix sonar issues in /crud/util/CrudProperties.java"Tian Lee1-11/+1
2018-06-27Merge "Fix sonar issues in /crud/service/CrudRestService"Tian Lee1-2/+5
2018-06-27Apply multiplicity Rule upon Edge creationmichaere19-240/+491
Uses multiplicity type from dbedge rules json to validate whether to and from vertices meet the multiplicity constraint e.g. ONE2MANY. This validation is applied when creating or updating an edge. Issue-ID: AAI-1197 Change-Id: Id6e78635c5cbea66d8a35e6901b7e1b673125e4e Signed-off-by: michaere <michaere@amdocs.com>
2018-06-25Fix sonar issues in /crud/service/CrudRestServiceSwiton Tomasz1-2/+5
Change-Id: Ib221593a6ff9e7fbd355eb4ff97ce6a5d1a5e0e0 Issue-ID: AAI-1241 Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
2018-06-25Fix sonar issues in /crud/util/CrudProperties.javaSwiton Tomasz1-11/+1
Change-Id: Id98e68f70af525adc4894bfe92884a590e32b664 Issue-ID: AAI-1240 Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
2018-06-25Fix sonar issues in crud/logging/LoggingUtilSwiton Tomasz1-2/+2
Change-Id: I539a60204dd6da73a549e2a995b89f6a0febc2fc Issue-ID: AAI-1238 Signed-off-by: Switon Tomasz <tomasz.switon@nokia.com>
2018-06-18Fix Fortify scan violationMichael Arrastia2-92/+3
Change-Id: Ia99b0a9b60b1b4eebfb47640c410f6c684393599 Issue-ID: AAI-1196 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-06-18ETags on resourcesSotiropoulos, Ioannis (is948x)16-387/+683
An etag should be generated (by Champ) when creating a resource (edge or vertex). The Champ microservice should return this etag in the response header. Gizmo should also return the etag in it's response header (Gizmo will receive the etag from Champ). Issue-ID: AAI-1196 Change-Id: Ie16f871eccbceeccde037e73e0de0d96eeba18bd Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-06-13Gizmo to load multiple Db Edge Rules filesShwetank Dave10-310/+325
There is an Edge Rule file for each OXM file. For every OXM version that is loaded, an edge rule file should also be loaded. Issue-ID: AAI-1201 Change-Id: I728e577ea8152623d3c5e2f0e8edf677f0eb9ef4 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-06-12Merge "Fix GET ALL for vertices created asynchronously"Steven Blimkie1-0/+1
2018-06-12Fix GET ALL for vertices created asynchronouslyRavi Geda1-0/+1
Vertices created asynchronously are not being returned in the GET ALL vertices. This commit addresses this problem Change-Id: I83ee7a59dc2005447706fa0a43ba2c9d2f0e4592 Issue-ID: AAI-1223 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-06-11Process multi-OXM filesSotiropoulos, Ioannis (is948x)9-44/+412
Gizmo service uses common OXM consumer to process multi-OXM files Issue-ID: AAI-1196 Change-Id: If6dd50413a914984948272cd6bd98e2eeeaecedb Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-06-06Add tests for X-FromMsIdSotiropoulos, Ioannis (is948x)1-7/+15
Add tests for X-FromMsId header parameter changes Issue-ID: AAI-1198 Change-Id: I6342cf95e5c635b500245bfa90040376ffa1b992 Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-06-06Add validation for request headerSotiropoulos, Ioannis (is948x)1-8/+21
Add validation for inclusion of X-FromAppId and X-TransactionId in request header Issue-ID: AAI-1190 Change-Id: Ie1d2b64a7243c013982992196048e1d6635d5e66 Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-06-04Adding "_reserved_" properties in the query paramsShwetank Dave3-22/+30
Adding "_reserved_version" and "_reserved_aai-type" to the query parameters when making downstream queries. Change-Id: Ibabf671618ac10813740d835d368ce30195f7937 Issue-ID: AAI-1202 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
2018-05-01Migrate to Spring BootRavi Geda8-49/+121
Convert from AJSC to Spring Boot micro service Change-Id: I17bed6d10a00b35dbc63f5dd2b93642b1b3eb7a5 Issue-ID: AAI-1040 Signed-off-by: Ravi Geda <gravik@amdocs.com>
2018-03-29Update published event to include header and bodyMichael Arrastia7-404/+827
Originally, the published event only contained the raw graph request payload. This has now been updated to include the following changes: - encapsulate the graph request in a body property - add new event header with details such as timestamp, request-id, event-type Issue-ID: AAI-954 Change-Id: I780b6f52a01aafdcd7d09156e9d3a99c25be90a3 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
2018-03-27Pass error message through on vertex addDaniel Silverthorn1-1/+1
Change-Id: I55bc4aaa8fdb31900d8a62d846bdd9d70764610c Issue-ID: AAI-945 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-03-22Fix transaction id not being passed to champDaniel Silverthorn1-1/+2
Change-Id: I5752bb5671922d78076781d34e006aa98e4f3a1b Issue-ID: AAI-929 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2018-03-16Allow ingestion of edge schema at deploy timesblimkie1-13/+27
Gizmo to optionally allow a deployer to drop in a custom edge schema at deploy time. Change-Id: I5b7ccca79bc4fdb79629d308f517d4446adeb971 Issue-ID: AAI-889 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-03-15Add junit testssblimkie2-41/+7
Add junit tests Change-Id: Iaa22b0faa206114ef39648d451a5275205d14d9a Issue-ID: AAI-885 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-03-13Update license date and textsblimkie35-245/+140
Update license date and disable license plugin Change-Id: Ieb54f4fe8dc939bf57af88fb7a71fd510bd20509 Issue-ID: AAI-865 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-02-20Revert change for passing paramsGurjeet Bedi1-1/+1
Move logic to downstream to handle params Issue-ID: AAI-482 Change-Id: I25b1170447783fd753c83a619b00681cb4ef481f Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-16Add event client dependencySotiropoulos, Ioannis (is948x)2-3/+3
Change dependencies from SNAPSHOT to RELEASE. Change-Id: If8a46177f294d1129f30e578c31cbe0bb2deeb31 Issue-ID: AAI-780 Signed-off-by: Sotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
2018-02-15Propagate correct error codesGurjeet Bedi1-15/+21
Downstream error codes propagation Issue-ID: AAI-482 Change-Id: I034a8178bf55393a3c0754a3de15bf9a2c82c11c Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>
2018-02-15Support t_k queries from gizmoGurjeet Bedi1-1/+1
Only adding parameters for supported API Issue-ID: AAI-482 Change-Id: I30a22336824f2e3041b1c71857c481b7fcc08273 Signed-off-by: Gurjeet Bedi <gurjeetb@amdocs.com>