aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2019-02-21Sonar Fixes - ProviderStackOperation.javaDriptaroop Das1-2/+6
Sonar Fixes - ProviderStackOperation.java Issue-ID: APPC-1461 Change-Id: I31aef2c7328f1c3970e18a30530a9848bd5b6466 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-18Added thread interrupt flagJegadeesh Babu1-0/+3
Handled Interrupted exception Issue-ID: APPC-1452 Change-Id: Ide8f4b37db52937932d08db7ce429a52b1bfe433 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.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 Armstrong2-2/+48
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 Armstrong2-1/+49
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 Armstrong2-17/+49
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 Armstrong2-3/+63
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 Armstrong2-14/+71
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 Armstrong2-1/+102
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 Armstrong2-3/+72
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-30Multiple Sonar FixesDriptaroop Das3-13/+10
Multiple Sonar Fixes Issue-ID: APPC-1353 Change-Id: I5bdf2119e886a58606bf6192b97c9ae43e4e0069 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-14Fix VM Snapshot error during image validationJoss Armstrong2-3/+7
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>
2019-01-11Fixed sonar issue in ProviderAdapterImplezhil1-5/+2
Change-Id: I0a2e6f4ad94ad3c172ca15b0111892d38b188a55 Issue-ID: APPC-1299 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-02Fixed sonar issues in CreateSapshot.javaezhil1-2/+2
Change-Id: Ib3c1e84cdbec3e2698f55b13c038afdf9e51d294 Issue-ID: APPC-1298 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-19Sonar fix: ServiceCatalogV3.javaArundathi Patil1-2/+2
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1281 Change-Id: I118fe3da8ae3ac3c46ad5f2128353e332387086c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar fix: ProviderAdapter.javaArundathi Patil1-1/+2
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1280 Change-Id: I168acf475095b7ef1a40cc1662d844470f045a5d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-17Fix for OOM-1538Joss Armstrong1-1/+3
This is APPC code change, values.yaml in OOM project also requires update. This is using EncryptionTool class already present in APPC for decryption of password. Alternative may be to use the CryptoUtils class from SO to have common encrypted string? Issue-ID: OOM-1538 Change-Id: I8201dd2587604c19ac584c7af1a9281ab96340d2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-09-11bugfix to allow reboot even VM is at error stateModaboina, Kusumakumari (km583p)1-5/+0
Issue-ID: APPC-1198 Change-Id: I12cb5b2807a026b7bc55f16109fbca852b2b41fb Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-07Misleading err msg failed to rebuild for snapshot.Modaboina, Kusumakumari (km583p)1-1/+1
Issue-ID: APPC-1196 Change-Id: I017528097939c89794afb8753db429886269c7c8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-04Fixed error message for rebuildBalaji, Ramya (rb111y)1-4/+14
Corrected code to ensure that all errors in retrieving images do not result in a misleading error message attributed to bootable volumes. Instead, a generic error message processing has been added. Issue-ID: APPC-1189 Change-Id: Ic4dc917e86429a3ab7bce4432796083f0741c637 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-07-10null ptr checkKrishnajinka2-14/+23
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-06-26add support for new openstack rebootaction VM levlModaboina, Kusumakumari (km583p)6-1/+251
Issue-ID: APPC-922 Change-Id: I84941d8a5882b422d4e8365c82b8aaaf4618fa57 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-22enchance rebuildaction to make snapshotid OptionalModaboina, Kusumakumari (km583p)11-590/+515
Issue-ID: APPC-1011 Change-Id: I58d71df2c71a2964cd5957119e3967e35912ac6b Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-18Unit test cases for iaas impl packageLathishbabu Ganesan17-818/+1050
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 McClung5-10/+5
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-01Continue removing ECOMP trademark from lic header.John McClung12-27/+14
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01More iaas adapter license header changesJohn McClung41-87/+42
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-05-25Modify iaas adapter provider files license headersJohn McClung24-46/+22
Remove ECOMP trademark license header in iaas adapter provider files. Change-Id: I04de8480f1d04bf17c36eae876cb00d91379f3e3 Issue-ID: APPC-928 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-22Corrected condition to pick regionBalaji, Ramya (rb111y)1-1/+1
Fixed condition so that region can be determined correctly Issue-ID: APPC-776 Change-Id: Iaf57a4face50d99a56cd4b85c0a318d34632a1e8 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>