aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-11-27Upgrade mockito to v2; drop incompatible powermockStern, Ittay (is9613)24-244/+148
Note that anyString() is not matching null values, therefore replaced with any() where relevant. Change-Id: If64944e1edc62013953e41b2645a2b78c578bbe8 Issue-ID: VID-359 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-15Get subscribers rewritten to new rest clientgolabek5-109/+157
Should be merged after: I561f8a5d95ec35fdddc648b24965dd9dac03c9a4 It contains cherry-picked changes from that review Change-Id: I22a9e9ce709ae4dd3abcf7a9cda6354a4f656b00 Issue-ID: VID-269 Signed-off-by: golabek <tomasz.golabek@nokia.com>
2018-11-11Merge "Nodes query rewritten to generic rest client"Ofir Sonsino3-2/+323
2018-11-06Merge "Fix reading entity"Ofir Sonsino1-27/+54
2018-11-06Merge "HealthCheckController/test refactor"Ofir Sonsino3-120/+126
2018-11-06Fix reading entityWojciech Sliwka1-27/+54
ensure that response is read only once Change-Id: Id456263f58f8d69ad1a484f26352db62b74a4f08 Issue-ID: VID-227 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-11-04Merge "Add VidController junits"Ofir Sonsino1-187/+208
2018-10-31Merge "Fix and improvement for MsoBusinessLogic tests"Ofir Sonsino3-187/+229
2018-10-29StackOverflowError in CategoryParameterJoanna Jeremicz1-2/+3
Change-Id: Ic07d296f4ef16032d2c363f10c824c7b3db018f4 Issue-ID: VID-339 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-10-29Merge "Add request to delete body Issue-ID: VID-336"Ofir Sonsino1-1/+6
2018-10-29Merge "Add MaintenanceController JUnits"Ofir Sonsino1-39/+313
2018-10-29Add MaintenanceController JUnitsJoanna Jeremicz1-39/+313
Issue-ID: VID-319 Change-Id: Iad41d31547ee7ce3f921eeaa4418e45c70ebe43a Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-10-29Add request to delete bodyWojciech Sliwka1-1/+6
Issue-ID: VID-336 Change-Id: I1d619628f6251c6a62fcd1770f2e8539355c413f Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-10-23Fix and improvement for MsoBusinessLogic testsMichal Kabaj3-187/+229
- Merged two test classes into one Moved unit tests from MsoBusinessLogic to MsoBusinessLogicImpl - unified unit test framework - using junit instead of testng - Fixed issue with broken unit tests when run in IDE - improved readability of unit tests - Fixed commented/ignored unit tests - RequestDetailsWrapper encapsulation fix Change-Id: I7f589b36757b09f41b3568d8aa8a932bd914ac0d Issue-ID: VID-283 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-10-22Merge "new tests for job dir"Ofir Sonsino4-0/+531
2018-10-22new tests for job dirWojciech Sliwka4-0/+531
Add new tests for job directory to increase code coverage in vid Issue-ID: VID-310 Change-Id: Idbdeb1e9037c2b8c7359cf34b3893e1fc2e858d2 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-10-21Merge "Increase tests coverage in backend"Ofir Sonsino5-67/+600
2018-10-18Add VidController junitsJoanna Jeremicz1-187/+208
Change-Id: If6ebce08142e6fc53748f33b47081f055db9d47a Issue-ID: VID-322 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-10-18Merge "Added scaleOut to dashboard orchestrationRequests"Ofir Sonsino3-8/+321
2018-10-15Update system properties in testSonsino, Ofir (os0695)1-14/+6
Change-Id: Idc1f27b65104e5bbeabd23cb21c2d70e3803014f Issue-ID: VID-327 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-10-12Added scaleOut to dashboard orchestrationRequestskoblosz3-8/+321
Change-Id: Ib4862e5f151f8f231022109ee65997e83bdcff7b Issue-ID: VID-326 Signed-off-by: Sandra Koblosz <sandra.koblosz@nokia.com>
2018-10-09Correct flow for ScaleOutWojciech Sliwka6-98/+295
Change-Id: I347fec1e15526fa9b43ab57612235b55dee3eeba Issue-ID: VID-321 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-10-01Fix service instantiation errorWojciech Sliwka2-2/+0
Fix error during service instantiation (unknown field during call to SO) Fix endpoit used durign creating vf module instance Add separate endpoint for scale out Issue-ID: VID-317 Change-Id: I34c25ae9d1ee1afe71ac340ef71c2572686bee2b Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-09-28HealthCheckController/test refactorJoanna Jeremicz3-120/+126
Issue-ID: VID-312 Change-Id: Iabdb91c9b4940ff7a173656819ad5fa807a734e9 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-09-26Merge "Changed VF creation to new MSO scaleout API"Amichai Hemli4-2/+4
2018-09-26Nodes query rewritten to generic rest clientgolabek3-2/+323
Added AAI Rest Client based on new generic client Change-Id: I561f8a5d95ec35fdddc648b24965dd9dac03c9a4 Issue-ID: VID-269 Signed-off-by: golabek <tomasz.golabek@nokia.com>
2018-09-25Add junits to commit info endpointJoanna Jeremicz2-9/+31
Change-Id: I0a904ba7259bee2c10cde0a3c6be0552b03cfeb2 Issue-ID: VID-311 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-09-24Changed VF creation to new MSO scaleout APIkoblosz4-2/+4
Change-Id: Ie3cf99adc9a441d03bd31884ea46c94e9b62db74 Issue-ID: VID-248 Signed-off-by: Koblosz, Sandra (koblosz) <sandra.koblosz@nokia.com>
2018-09-21Increase tests coverage in backendPiotr Darosz5-67/+600
Increase unit tests coverage in org.onap.vid.services package classes Change-Id: I15f2a2ae0553dda161dc50cfcf12fdcdb2ebcb6d Issue-ID: VID-315 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-09-05Upgrade portal SDK to 2.4Sonsino, Ofir (os0695)9-23/+7
Change-Id: Idc9f16d3ee5aa546a6d7154d9e2190d6b96f314e Issue-ID: VID-299 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-08-30Merge "Using Generic client in SchedulerRestInterface"Ofir Sonsino3-96/+71
2018-08-30Merge "Replace SO client"Ofir Sonsino5-187/+381
2018-08-30Merge "Replace sdc client"Ofir Sonsino6-96/+323
2018-08-29Using Generic client in SchedulerRestInterfacekoblosz3-96/+71
Change-Id: I69603792016a091037d8767bec0f3d25641af86e Issue-ID: VID-270 Signed-off-by: koblosz <sandra.koblosz@nokia.com>
2018-08-27Change url to AAIWojciech Sliwka1-0/+1
Change-Id: I7dbaee5df1233362cc6d60aeb80037446771e9e0 Issue-ID: VID-295 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-08-24Replace SO clientPiotr Darosz5-187/+381
Make SO client use Generic Rest Client Change-Id: I8d0fdf4683f577e0c968f5175dbf42a42c041357 Issue-ID: VID-267 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-08-24Replace sdc clientWojciech Sliwka6-96/+323
Replace old SDC client to use genericRestClient Change-Id: I9b3b567871ac3f319742fca9457e42b6d4db0a8a Issue-ID: VID-268 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-08-23Generic REST client for external servicesgolabek3-0/+463
Initial commit for generic REST client for requests to another components APIs Change-Id: I4af29ab1e45fd805403622e60585a351f3ef5d20 Issue-ID: VID-266 Signed-off-by: tgolabek <tomasz.golabek@nokia.com>
2018-08-21VID-266 added stub server for testingkoblosz2-0/+248
Change-Id: I39b8fca2df4c45123e2308142dfbb43c737f7707 Issue-ID: VID-266 Signed-off-by: Koblosz, Sandra <sandra.koblosz@nokia.com>
2018-08-06Merge "Refactor of an AAIRestInterface"Ofir Sonsino8-23/+641
2018-08-06Refactor of an AAIRestInterfacetgolabek8-23/+641
Refactor and some additional tests added (cherry picked from commit 6d8fa7d179b8de802ae386b317ddd1214eac1c47) Change-Id: Ibe7583353499352aa81d100b9995b9c74133c447 Issue-ID: VID-229 Signed-off-by: Stern, Ittay (is9613) <is9613@att.com> [Added proper headers to modified and created files] Signed-off-by: golabek <tomasz.golabek@nokia.com>
2018-07-31Test coveragee vid-common-appArindam Mondal1-0/+114
Issue-ID: VID-277 Change-Id: I4c55fe275a8ee7f86434d91fcecff68df22c2927 Signed-off-by: arindamm <arind.mondal@samsung.com>
2018-07-10Merge 1806 code of vid-commonSonsino, Ofir (os0695)68-2655/+6264
Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-06-18Merge "Getter/setter tests inside the aai model"Ofir Sonsino20-1126/+146
2018-06-11Getter/setter tests inside the aai modeltgolabek20-1126/+146
Refactor of a tests of aai model for getters/setters using google matchers Issue-ID: VID-228 Change-Id: I5e7912bbcc4bd605002278b50b63d976a2dc55cc Signed-off-by: tgolabek <tomasz.golabek@nokia.com>
2018-05-23Scale out fixesSonsino, Ofir (os0695)1-4/+6
Change-Id: I189e563641d267fa082ccab726c9df7d0402c112 Issue-ID: VID-188 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-05-06VoLTE supportSonsino, Ofir (os0695)1-1/+1
Change-Id: I593b9c92bf9330c2d28f2ccbd59c0651b67fe94a Issue-ID: VID-189 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-04-15Change ASDC to SDC everywhere in VID UISonsino, Ofir (os0695)1-10/+7
Change-Id: I5149e2a3751370c9757c2b6a2bbff2984cc979b8 Issue-ID: VID-211 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-04-11Fix license issuesSonsino, Ofir (os0695)1-9/+4
Change-Id: Ic3eadf65b920a610b77c18317b0daad57e06b647 Issue-ID: VID-198 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-03-19Unit testsSonsino, Ofir (os0695)8-112/+1288
Change-Id: I0834a2b68d61664a82492c8465fa82aee6c0f017 Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>