summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/schema
AgeCommit message (Collapse)AuthorFilesLines
2019-01-30Remove Multiplicity featureSanchez, Gabriel (gs882h)3-169/+6
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 Geda1-1/+6
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 Geda3-3/+16
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-07-19Auto-resolve edge typesblimkie1-0/+62
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-10Increase code coverageSotiropoulos, Ioannis (is948x)3-10/+274
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-06-27Apply multiplicity Rule upon Edge creationmichaere2-8/+165
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-13Gizmo to load multiple Db Edge Rules filesShwetank Dave3-219/+122
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)2-5/+65
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-05-01Migrate to Spring BootRavi Geda1-8/+6
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-16Allow ingestion of edge schema at deploy timesblimkie2-9/+34
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-219/+2
Add junit tests Change-Id: Iaa22b0faa206114ef39648d451a5275205d14d9a Issue-ID: AAI-885 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-03-13Update license date and textsblimkie3-0/+60
Update license date and disable license plugin Change-Id: Ieb54f4fe8dc939bf57af88fb7a71fd510bd20509 Issue-ID: AAI-865 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-02-20Gizmo to use latest schemasblimkie1-2/+2
Update Gizmo to use the latest version of the aai-schema and aai relationships Change-Id: I2a8b408b2e55f1bd13ee8800a0d78bdf2c59ecb8 Issue-ID: AAI-482 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-02-20Fix junit testSotiropoulos, Ioannis (is948x)1-1/+1
The relation type wasn't present in the DbEdgeRules file. Issue-ID: AAI-780 Change-Id: I1fbcc2b53d9df62b0339605d94ba628f4abd7146 Signed-off-by: Sotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
2017-11-20Refactor to move from openecomp to onapBansal, Nitin (nb121v)3-0/+404
Refactor to move from openecomp to onap IssueID: AAI-486 Change-Id: I1d5634739514acf11d5fbdf5e2c7865aaccd864e Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>