summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-04-10added test case to TestRestartServer.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id64f507cb3cb4102c79dfb5c454785ac2814cec5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-21added test case to VmStatuschecker.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id1a3be46235af057c1f3f72cd2afd8ebbe377bc2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-15added test case to TestVmStatusChecker.javaSandeep J1-1/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idf3acce4be6e950524d342466ee523b9b57b5b2c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added test cases to VmStatusChecker.javaSandeep J1-6/+27
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ica373ebc3281c9f66d2c2690af30394b45ea09ea Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-28Added test case for Rebuild ServerLathishbabu Ganesan1-0/+26
Issue-ID: APPC-1502 Change-Id: Idff986e1727e13c5a402184b416365328418c7ab Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-27Added test case for Stack ResourceLathishbabu Ganesan1-0/+51
Increased the coverage from 0% to 100% Issue-ID: APPC-1501 Change-Id: Idb8d7b6efc7831dc0c6ca8094783cbc84ecfd14e Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-27Additional test case to cover Reboot scenarioLathishbabu Ganesan1-0/+22
Issue-ID: APPC-1507 Change-Id: I1afa62d34bec6cc3bb56abd4fa5ffc9a5beee67a Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-26Added test case for Attach volume classLathishbabu Ganesan1-2/+18
Issue-ID: APPC-1467 Change-Id: Ifc902979c955df03ab847b4dd770bf737ff69eb9 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14added test cases to TestTenantCache.javaSandeep J1-5/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic7c8456b375426e831b3ba2f8e6148db9ba59d5f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test case to ProviderOperationFactoryTestSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic6f8fcebd31b111fdfc194e55bc74f8d8ac6f1fa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test case to TestRestartServer.javaSandeep J1-6/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id4297a81cc09b9df9ba5a6c15c0921f68c025864 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-12Test coverage in ServiceCatalogV3Joss Armstrong1-0/+40
Increased coverage from 44% to 94% Issue-ID: APPC-1418 Change-Id: I0e534a5bc20caaae25b28902caa58f0c5d950c31 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-12Test coverage in ServiceCatalogv2Joss Armstrong1-0/+42
Increased coverage from 57% to 91% Issue-ID: APPC-1418 Change-Id: I0f2b77bdb451d973d631f4c785b65de3bb84f02f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Added Junit Class for SnapshotDetails.javaSudarshan Kumar1-0/+53
Added Junit Class for SnapshotDetails.java Issue-ID: APPC-1372 Change-Id: I97b15554ca81c39728f2cf4e963ec8ec4848001f Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-06Volume - Junit Test case addedSudarshan Kumar1-5/+16
Volume - Junit Test case added Issue-ID: APPC-1372 Change-Id: I44a262819ddc3f0f3319e320ef3bf01ef8ca1e13 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05Improve test coverage of rebootJoss Armstrong1-5/+45
Increase line coverage from 20% to 73% Issue-ID: APPC-1374 Change-Id: I219261a228f42df56f6988b2d5dc157e6fb10c42 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Increase coverage of EvacuateServerJoss Armstrong1-0/+61
Increased line coverage of class Issue-ID: APPC-1374 Change-Id: Ica44ff92a446e8b380162675d0f0f79e30ad6e73 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Volume_ - Junit Test case addedSudarshan Kumar1-9/+25
Volume_ - Junit Test case added Issue-ID: APPC-1372 Change-Id: Ie35baff6161aaeecd25e2055ef40f3a6d5b0000b Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05added test case to TestSnapShot.javaSandeep J1-4/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iecc9f217c7f230311daf14ba49e3106ce31d017a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05added test case to TestTemplate.javaSandeep J1-5/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie6fdd33aab4ef6f0395d98375a26e83c750a06ce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-01Add test coverage for AttachVolumeServerJoss Armstrong1-0/+55
New test file to cover success flow in class Issue-ID: APPC-1374 Change-Id: I576f523225e5ac427b972e78a8392496a71b6bfa Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for DetachVolumeServerJoss Armstrong1-0/+100
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: I334d53df87efb6a25a6f76a1660dd43c98d143b3 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for SnapshotStackJoss Armstrong1-0/+70
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: I6323eb60df3f0966bfa78291ffb3d1b277399ef2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for RestoreStackJoss Armstrong1-0/+92
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: Ie180b5a8f10aaa8aa7ea8b83b403a2eab1885818 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01added test file to cover Resources.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I65861398bb166baa8691034a17ecb7da248bbca9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31Parameters - Junit Test case addedSudarshan Kumar1-0/+43
Parameters - Junit Test case added Issue-ID: APPC-1372 Change-Id: I04aa72f49066b214f8294bf7592b203f4d10479c Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-31added test file to cover Resources_.javaSandeep J1-0/+49
to increase code coverage Issue-ID: APPC-1086 Change-Id: I9bc51094d3588adbe50089bf85f6f04cf05f99fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31added test file to cover Resources__.javaSandeep J1-0/+52
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3fedafa767942bb6427407d65b2eaf2cff4fd88f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31Metadata - Junit Test Case AddedSudarshan Kumar1-0/+43
Metadata - Junit Test Case Added Issue-ID: APPC-1372 Change-Id: Iaaefd6161a7657f7997ce0e90558f75866ec006b Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-31added test file for ResourceRegistry.javaSandeep J1-0/+46
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ifa3e0fc4f01293f31ba9ede6cbf6c545da318863 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-30Data-Junit Test Case AddedSudarshan Kumar1-10/+56
Data-Junit Test Case Added Issue-ID: APPC-1372 Change-Id: Ib0a8c0c66d23bedd213df17d517c10add0ee18a9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-30Environment-Junit Test Case AddedSudarshan Kumar1-0/+62
Environment-Junit Test Case Added Issue-ID: APPC-1372 Change-Id: I571f2417eb69e5d7c3ec451ef0b778eb79dde92e Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-14Fix VM Snapshot error during image validationJoss Armstrong1-1/+3
prefix image name with 'in:' and surround with quotes to deal with change to Glance that no longer supports image names including colons passed as plain strings Issue-ID: APPC-869 Change-Id: If81accc3edd7b4805eb965b11f466df9654d6010 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-06-26add support for new openstack rebootaction VM levlModaboina, Kusumakumari (km583p)1-0/+51
Issue-ID: APPC-922 Change-Id: I84941d8a5882b422d4e8365c82b8aaaf4618fa57 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-18Unit test cases for iaas impl packageLathishbabu Ganesan13-773/+1006
Change-Id: Iac6167dca83413b7533cb65a73775a616866589c Issue-ID: APPC-436 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung3-6/+3
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-08Unit Tests for APPC Adaptersroot3-0/+1125
onap/appc/adapter/iaas/provider/operation/impl/base classes New test cases added to increase coverage to 96% Change-Id: Ied377274d4407a3d0f0ccdfca9cbf2e11e46e1c8 Issue-ID: APPC-438 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-06-01More iaas adapter license header changesJohn McClung21-47/+22
Remove ECOMP trademark license header in iaas adapter files. Change-Id: I697b33cefd85aab4496640d9dc1e2d685eb80e53 Issue-ID: APPC-930 Signed-off-by: John McClung <jm1364@att.com>
2018-04-11ODL Upgrade Method 2Patrick Brady1-1/+1
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-04-04Unit test for ProviderOperationFactorykurczews1-0/+195
Change-Id: I239784f5acc6647e1ed4f2962de4504901b62108 Issue-ID: APPC-828 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Add junit tests RequestFailedExceptionTest classMei Su1-0/+123
Add junit-tests RequestFailedExceptionTest class Issue-ID: APPC-825 Change-Id: I54b46f6e3025f89bbd52017248c408641095fe46 Signed-off-by: Mei Su <ms6523@att.com>
2018-03-23Unit test coverageamshegokar1-0/+34
Unit test coverage for Constants.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Futils%2FConstants.java Change-Id: Ied122a1838111897079243f0e444a9eef1b2f162 Issue-ID: APPC-778 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-05Unit Test Coverage Part:2amshegokar5-0/+306
Unit Test Coverage for: 1. Snapshot.java 2. Volume.java 3. Volume_.java 4. Template.java 5. SnapshotRestoreResponse.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fopenstack%2Fheat%2Fmodel Change-Id: I18ecc259973bbd3934f9ccd4cc20d897444d9d76 Issue-ID: APPC-686 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-01Unit Test Coverageshubhada4-0/+223
Unit Test Coverage for: 1. Data.java 2. CreateSnapshotParams.java 3. Properties.java 4. ResourceData.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fopenstack%2Fheat%2Fmodel Change-Id: I0eeef6216f536483c6b7a45d0847688d6d84fd2f Issue-ID: APPC-685 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-14Unit test for iaas provider activatorTaka1-0/+111
Change-Id: I7e7ec6d977625406b9d4dee19d974492e1a5f4cc Issue-ID: APPC-615 Signed-off-by: Taka <tc012c@att.com>
2018-02-02Extraction of nested try catch in migrateServerkjaniak1-4/+33
Try catch block placed in new private method conductServerMigration, UT for class added. Issue-ID: APPC-557 Change-Id: I7f968dbc87ee3be4125da6a8a3e201af99aa420e Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2018-01-17Add/update license text part 3Skip Wonnell12-12/+288
Convert some file formats from dos to unix Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88 Issue-ID: APPC-398 Issue-ID: APPC-305 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-04New iaas unit testsPatrick Brady12-0/+677
Adding new unit tests for the org.onap.appc.adapter.iaas.provider.operation.impl package. Change-Id: I4a2da6ff04b63a88e47d39080cfd8a58703364e0 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-369
2017-12-20Fix Compilation issue in TestServiceCatalogMichal Kabaj1-14/+11
Remove duplicate mockito-core test dependency in appc-iaas-adapter-bundle pom.xml and remove unused imports. Issue-ID: APPC-359 Change-Id: I119460f36ee0cedae0129419e55c134a105a8cd7 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2017-12-13Fourth part of onap renamePatrick Brady1-1/+1
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13