summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-09-27test case to check the singleton instanceasgar1-0/+40
Change-Id: I9c6472923df7ec6a250e3b81c6b5f833b53d5c29 Issue-ID: AAI-1646 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-19Merge "Test cases added for RequestError.java"James Forsyth1-0/+53
2018-09-19Merge "Added unit test for PolicyException.java"James Forsyth1-0/+68
2018-09-17Test cases added for RequestError.javaasgar1-0/+53
Change-Id: I16d1fbe7ca03ecd6659161ae9bfbf3d4bd5c59be Issue-ID: AAI-1610 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-17Added unit test for PolicyException.javaasgar1-0/+68
Change-Id: I76ecc0d4e4193be1343afae2906fb179768dbbdb Issue-ID: AAI-1607 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-12Test case coverage for MapperUtil.javaasgar1-33/+52
Change-Id: I60628cd098911f945042f731b779ec9d49f84ecb Issue-ID: AAI-1594 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-08-23Fix sonar issuesParshad Patel1-1/+2
Fix use try-with-resources issues Issue-ID: AAI-1368 Change-Id: I267df61915ac1596cc8645c62ccf43eb04fd7ac5 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-08-12Integrate aai-schema-ingest library into aai-coreKajur, Harish (vk250x)139-3937/+13132
Integrate the aai-core into using the aai-schema-ingest library to be agnostic to the schema changes Remove any references to aai-schema dependency in aai-core Reorder the components so the aai-schema-ingest is first installed Moved the edge rules to the aai-schema as they are linked to schema Rework the generation of the aai-schema to using aai-schema-ingest library Also remove the yaml and html folders as they get generated on the fly So when maven pushes the aai-schema jar, the jar contains the generated yaml, html and xsd files at runtime due to the gerrit limit of filesize Issue-ID: AAI-1455 Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-07-12Fix component creationBogumil Zebek1-0/+70
Change-Id: I08606ec83b53cd87005f7d52301e0fe8792d744e Issue-ID: AAI-1236 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-03-28Add to aai-common query builder get parent stepMaharajh, Robby (rx2202)4-1/+73
Issue-ID: AAI-962 Change-Id: Ib4aa4ec3453f2c7099e1d7191917b44b323f2bb6 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2018-03-27Update from titan to using janusgraphKajur, Harish (vk250x)21-208/+832
Issue-ID: AAI-949 Change-Id: I70029806d3c96f7732778d27a8c7ff75dc5059de Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-26Add plugin to check coverageKajur, Harish (vk250x)43-542/+4671
Get line coverage to 50% and ensure it doesn't go down Issue-ID: AAI-498 Change-Id: Ib466b7e2b7cb6d2f888e3b58c2073bb02ab6f809 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-22Update the license for 2017-2018 licenseKajur, Harish (vk250x)80-248/+91
Issue-ID: AAI-856 Change-Id: I6711ff48314133abd7d03ea4b73a4f55606442bb Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-03-13Testing for HpaCapabilities objectDileep Ranganathan8-35122/+677
Fixed Schema - mismatch in the java attributes and xml attributes Added dependentOn for HpaFeatureAtrributes Added unit test for HPASchema Added sample payload for HPACapabilities inside flavor Issue-ID: AAI-742 Change-Id: I3525376886f10bee99aa0ce3f0a6b2a5efbaa9b1 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-27Update the files for ajsc 6 changesVenkata Harish K Kajur9-86/+9
Issue-ID: AAI-33 Change-Id: I897566e79eb7505232b692e551f6347e69fafed6 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-02-20Add the v13 xml schema and version updateVenkata Harish K Kajur1-0/+6668
Issue-ID: AAI-536 Change-Id: I2ea654af0be91d233cc6cd5d50ee0186ef3a9a89 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-18Sync the latest code changesVenkata Harish K Kajur70-23848/+20482
Issue-ID: AAI-493 Change-Id: I5f39ce9bb19cfb9607b659bed82066cae7569ecc Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-15Add utilites and unit tests to help coverageVenkata Harish K Kajur10-3/+1441
Issue-ID: AAI-649 Change-Id: Ia855abe83692d86f4243f98ca75737c991da8976 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2018-01-02Add new query format count andMaharajh, Robby (rx2202)4-16/+344
support for path/tree Issue-ID: AAI-602 Change-Id: I3e1bac256e679c0466fc3eceb52d440095b272d8 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-12-04Added v12 swagger with bulk add api'sMaharajh, Robby (rx2202)2-4/+4
Issue-ID: AAI-540 Change-Id: I1aaadbba1236921901e6d5859f0263786e9ab2ae Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-12-01Added support for Multiple EdgesMaharajh, Robby (rx2202)12-64/+2065
Issue-ID: AAI-524 Change-Id: I33dd31315992e2efb2d6d390ffc523655b55a84c Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-11-28contains-other-v no longer implies delete-other-vThreefoot, Jane (jt6620)3-2/+110
Deletion of other vertices is now only determined by the delete-other-v property. For containment relationships, this property is now explicitly set instead of being implied by the containment property. ie Deletion now only checks delete-other-v not containment, and containment relationships have been updated to still function the same as before. Issue-ID: AAI-517 Change-Id: I808752c286c621f82b521590b1a51cf996031557 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2017-11-27Add v12 api changes for the new release codeVenkata Harish K Kajur1-0/+6710
Update the pom to use 1.2.0-SNAPSHOT and add v12 oxm and json and ensure the esr stuff is properly included Issue-ID: AAI-514 Change-Id: I96ceb7dbaa6de7650d55a79e2d1b18f5d1815f06 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-07Fix it if the transaction id is missingVenkata Harish K Kajur1-1/+1
alert the client that they need to specify header Issue-ID: AAI-454 Change-Id: I2032163172bbb987c060b41dcffc494d18c58b13 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-28Change openecomp to onap and update licenseVenkata Harish K Kajur57-1210/+1335
Issue-ID: AAI-61 AAI-82 Change-Id: Iae98d4bf4c693c0a3203158bff98c3c5e739f453 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-26Add the remaining tests from internal codeVenkata Harish K Kajur1-0/+162
Issue-ID: AAI-215 Change-Id: I28de8cb09513d7f08e9d608bed25f0bee1ecec85 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-19Remove any remaining db edge rules referencesVenkata Harish K Kajur1-2/+2
Issue-ID: AAI-309 Change-Id: I58a3b66ce34b49e51245a279fcaf3dee11f5a86e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-19Add ability to apply configurations to vnfVenkata Harish K Kajur3-2/+85
Issue-ID: AAI-326 Change-Id: Id5480d020f66a6b8d83310d85eb0678f6b504e7a Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-15Fix the db serializer test failing half the timeVenkata Harish K Kajur3-59/+63
One of the tests in db serializer is failing since it is expecting the resource version to be updated and resource version uses current timestamp and the unit test is running so fast sometimes as it is failing due to that so we put sleep Issue-ID: AAI-215 Change-Id: I3c0f43dd999cbf518a8b5561f5f2c41540d6544c Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-15Increase the coverage to 35% for aai-commonVenkata Harish K Kajur4-4/+311
Issue-ID: AAI-215 Change-Id: I783fc2207aa782a1b8bb55a730a341fa89b4c094 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-15Increase code coverage for aai-common repo to 30%Venkata Harish K Kajur11-132/+201
Issue-ID: AAI-215 Change-Id: Ied7d885274d83fa183880ca683a2c440818e66dc Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-08EdgeRules throws descriptive error on invalid ruleThreefoot, Jane (jt6620)63-11572/+4894
Also added test coverage, including refactoring of test resources to simplify test suites. Issue-ID: AAI-277 Change-Id: Ibfdc81342a139d121740f10bccc66a7420b61945 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2017-09-06Merge the schema of external-system.lizi001643312-0/+38
Add the schema of external-system, delete the auth-info-item which will not in use. Locally test passed. Change-Id: I9d65201cd8b222421c8f15fcb9eb421636588b33 Issue-ID: AAI-204 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
2017-09-01Added until and simplePath to QueryBuilderThreefoot, Jane (jt6620)4-2/+201
Issue-ID: AAI-253 Change-Id: I0ad83d37bb15260b72e8f1745dc40ecd8df98229 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2017-08-31Check in vhnf modified bandwith codeur326r1-11/+12
Issue-ID: AAI-239 Change-Id: I9ab5b8651798a9db648e52edd8e1a720fdbaf703 Signed-off-by: ur326r <ur326r@att.com>
2017-08-28[AAI-217 Amsterdam] Remove the att references inVenkata Harish K Kajur7-264/+15
the schema and core files Change-Id: Id1b3469ba298b2137665e8ad16b4d74121d434a2 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-18Add hook to delete temporary json file on exitDileep Ranganathan1-1/+4
Change-Id: I1f5cbcec04d66cd47ee39f14a2cc00e48c9aa6f5 Issue-Id: AAI-197 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2017-08-18[AAI-191 Amsterdam] Refactor import statementsVenkata Harish K Kajur7-43/+36
Also regenerate the xsd, yaml and html files Change-Id: Ie7c6418c811d5ef70b8be5435b84eb5f31f3b31c Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-16[AAI-178 Amsterdam] Make Edge Properties to beMaharajh, Robby (rx2202)4-8/+29
declared by direction Change-Id: I8eacd870980c558e8c1f92b72f73c6f86aabc890 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-08-16[AAI-176 Amsterdam] Check in related link changesVenkata Harish K Kajur1-0/+85
Change-Id: Ie72ccd9aa2fb3b214f6b8b1ca6280d5dd08b10a7 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-15[AAI-171 Amsterdam] Move rest.db to aai-commonVenkata Harish K Kajur7-4/+10
Change-Id: I7d0c8b64e5e3249128b158353a98d4fb482d92db Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-15[AAI-169 Amsterdam] Add ability for older versionsVenkata Harish K Kajur1-1/+14
Change-Id: Ica6c4962e9cc7d98634606c010c3555e5a0a2f67 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-08-14[AAI-149 Amsterdam] migrate vpeLin, Jerry (jl319x)5-680/+95
Change-Id: I6189a8175425f4b7301659fce96f4c359dc6473a Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
2017-08-14[AAI-168 Amsterdam] Check in sourceur326r2-0/+236
Change-Id: I9b7169c5cd346254990118df15792454f9455f95 Signed-off-by: ur326r <ur326r@att.com>
2017-08-11[AAI-154 Amsterdam] Check in titan refactorMuller, Andrew (am8383)3-34/+35
Change-Id: I277417cfa608228f107ac94e0253a83667602040 Signed-off-by: Muller, Andrew (am8383) <am8383@us.att.com>
2017-08-07[AAI-133 Amsterdam] Subnet delete rule fixVenkata Harish K Kajur12-37/+201
Change-Id: I0837371aab38bbe159d472ac0ed4c84c57cdc81d Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-07-31[AAI-100 Amsterdam] refactored dbedgerulesThreefoot, Jane (jt6620)4-5450/+5591
Change-Id: I778a56f525cba0ebd39d24d366fc9f0935be71f2 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
2017-07-21[AAI-61 Amsterdam] Change the namespace openecompVenkata Harish K Kajur2-5776/+5756
Change the namespace openecomp to onap Also change the package names Change-Id: I1f3c25dfa7b5218aeba19930a905701476894542 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-07-14[AAI-50] Add support for v11 version APIsMaharajh, Robby (rx2202)2-0/+11447
updated swagger html generation to generate v11 Added to introspection version v11. Update latest aaipropertes to v11 Created v10 versioned edge rules.java Created v11 oxm using the v10 oxm Change-Id: Ic56e86b15b8b18fa1ac70dfba5f7e08f58df843f Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
2017-06-27[AAI-12] Add the swagger documentation for onapVenkata Harish K Kajur3-5/+10
Change-Id: If2ebc7acd38c3a268c1461b05f1b7ff1bc0c8548 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>