summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/crud
AgeCommit message (Collapse)AuthorFilesLines
2019-08-27Fix docker image generation and taggingJimmy Forsyth1-82/+84
Issue-ID: AAI-2579 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I749e22447b48c92cf4f2ee0f991ff39146f7b45d
2019-08-15Upversion gizmo on elaltoJimmy Forsyth1-10/+13
Issue-ID: AAI-2579 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I47659681d25d8d5a4715ae96d17fc85cdf3f26dd
2019-02-13Performance Improvements for Gizmo bulk APIPopescu, Serban5-0/+360
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)5-134/+2
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>
2018-12-17Update to use Schema ServiceRavi Geda3-147/+154
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-11-29Upgrade version of aai-commonRavi Geda8-505/+105
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)1-1/+1
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-07-19Auto-resolve edge typesblimkie4-18/+34
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)1-2/+2
Issue-ID: AAI-1190 Change-Id: I72894665b288416069d3c2eb84185fcc303976f7 Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
2018-07-10Increase code coverageSotiropoulos, Ioannis (is948x)9-15/+1951
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-09Fix code architecure in CrudAsyncResponseConsumerBogumil Zebek1-0/+115
- 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-06-27Apply multiplicity Rule upon Edge creationmichaere5-72/+200
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-18ETags on resourcesSotiropoulos, Ioannis (is948x)3-48/+266
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 Dave1-4/+2
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-11Process multi-OXM filesSotiropoulos, Ioannis (is948x)1-6/+51
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)10-9/+130
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)2-10/+60
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-05-01Migrate to Spring BootRavi Geda3-0/+60
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 Arrastia3-0/+117
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-15Add junit testssblimkie8-0/+1552
Add junit tests Change-Id: Iaa22b0faa206114ef39648d451a5275205d14d9a Issue-ID: AAI-885 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2017-12-04Gizmo uses Champ the microservicesblimkie1-624/+0
Gizmo modified to use the Champ ms REST API instead of the Champ library Issue-ID: AAI-525 Change-Id: Ifc5d0302eebfe4eccbe805ecf6cfd059fb6e700b Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2017-11-20Refactor to move from openecomp to onapBansal, Nitin (nb121v)1-0/+624
Refactor to move from openecomp to onap IssueID: AAI-486 Change-Id: I1d5634739514acf11d5fbdf5e2c7865aaccd864e Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>