summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle
AgeCommit message (Collapse)AuthorFilesLines
2019-07-31Release appc1.6.0jenkins-releng1-1/+1
2019-07-31Sonar Fix- RestoreStack.javadinesha1-7/+7
Fixed Sonar issues accross the file Issue-ID: APPC-1669 Change-Id: Icd598fa6c9954c22d4bfd7ab0155823e8b946638 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-07-30Major- Unused "context" local variable.anushadasari1-1/+0
If a local variable is declared but not used, it is dead code and should be removed. Doing so will improve maintainability because developers will not wonder what the variable is used for. Issue-ID: APPC-1675 Change-Id: I9cccd6fd529591cbbe7095cce9d5687a712f42d9 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-29AAPC-1659 removing unused importThugutla Sailakshmi1-1/+0
removing unused import Issue-ID: APPC-1659 Change-Id: Ib7696e4e0fbefe329eda4eb56feb24701f17c4e6 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-29SonarFix- MigrateServer.javaanushadasari1-2/+0
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer. Unused and useless imports should not occur if that is the case. Leaving them in reduces the code's readability, since their presence can be confusing. Change-Id: Ic0af785e3d3863f4555ab9614d7a8b3b0f2150b3 Issue-ID: APPC-1670 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-26AAPC-1658 removing unused importThugutla Sailakshmi1-1/+0
removing unused import Issue-ID: APPC-1658 Change-Id: I3eb674031487937b461d045c31d4aa9108b38de6 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-26SonarFix-Remove declaration of thrown exceptionanushadasari1-1/+1
Remove the declaration of thrown exception 'org.onap.appc.exceptions.APPCException', as it cannot be thrown from method's body. Issue-ID: APPC-1664 Change-Id: I0c66da105d735b4ac97ee35d1e6bea122be80722 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-24AAPC-1661-remove unused import 'java.util.TimeZone'Thugutla Sailakshmi1-1/+0
remove unused import 'java.util.TimeZone' Issue-ID: APPC-1661 Change-Id: I94d4c39a83fb815343fd373557a7d36b3e1213b8 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-23APPC -1653anushadasari1-1/+0
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer. Unused and useless imports should not occur if that is the case. Leaving them in reduces the code's readability, since their presence can be confusing. Issue-ID: APPC-1653 Change-Id: I9e3e3b7994cb689e14b70aab73d5dfea54fa4a1f Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-23APPC-1652- Removing Duplicate importanushadasari1-1/+1
Unused and useless imports should not occur if that is the case. Leaving them in reduces the code's readability, since their presence can be confusing. Issue-ID: APPC-1652 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Dasari Anusha <danush10@in.ibm.com> Signed-off-by: anushadasari <danush10@in.ibm.com> Change-Id: I1ddafa429afb23a0eb6cb120a20a774ff9a032b8
2019-07-23APPC-1654anushadasari1-1/+1
Remove the declaration of thrown exception 'org.onap.appc.exceptions.APPCException', as it cannot be thrown from method's body. Issue-ID: APPC-1654 Change-Id: Ib08561aaecf8dea445e0f5ceb3a6d35795dfd8bd Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-15Sonar Fix - Removed unnecessary cast to DateSudarshan Kumar1-1/+3
Sonar Fix - Removed unnecessary cast to Date Issue-ID: APPC-1629 Change-Id: Ie37c511ac63abd71708700b376a836e4ed03e92f Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-07-11Sonar Fix - String comparisonSudarshan Kumar1-2/+2
Sonar Fix - String comparison Issue-ID: APPC-1629 Change-Id: I8ea38dfaf629c2be624552a1cf0b0f0e877117cb Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-07-11Sonar Fix - String ComparisonSudarshan Kumar1-1/+1
Sonar Fix - String Comparison Issue-ID: APPC-1629 Change-Id: Ia13da99f101d479aba7009ba4dffc201aa9a3ffe Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-07-10Adhered serializable class contractsjegadeeshbabu11-1/+3
Marked member transient Issue-ID: APPC-1634 Change-Id: I7bbbf941e692c2755122f3d40a7ca79c59f21749 Signed-off-by: jegadeeshbabu1 <jegabab1@in.ibm.com>
2019-07-09Sonar Fix- Removed Unused private fieldSudarshan Kumar1-1/+0
Sonar Fix- Removed Unused private field Issue-ID: APPC-1629 Change-Id: Iaab259140e29200473147097c552f75783e5cd0d Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-05-20Update parent versionPatrick Brady1-1/+1
Update the parent version to match the new 2.* parent versioning. Change-Id: I77280d8cf12de1de20c01249491dc85243f5d655 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1601
2019-04-26Increment snapshot versionPatrick Brady1-1/+1
Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare for next development cycle. Change-Id: I187785ab4b11a37815289d20ba802c48e86cee7f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1585
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-04-03RequestContext.java - sonar fixesDriptaroop Das1-1/+2
RequestContext.java - sonar fixes Issue-ID: APPC-1564 Change-Id: I334c1f07403cf246efb3413639fdb26cc08556af Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-03-26Added constant to replace dup literalsJegadeesh Babu1-6/+9
Sonar fix Issue-ID: APPC-1558 Change-Id: I98e36669f5d247a8fe8a9c38d6e5724e76284487 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-22Potential Null pointer exception avoidedJegadeesh Babu1-4/+3
Sonar fix Issue-ID: APPC-1552 Change-Id: I8f5e6386bd96a136f49ba651aed8fb209bed9435 Signed-off-by: Jegadeesh Babu <jegabab1@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-21Replaced equals with equalsIgnoreCase methodJegadeesh Babu1-1/+1
Sonar fix Issue-ID: APPC-1546 Change-Id: I27ca1efc97240419f206502860b63d8e625c0bf8 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady1-10/+0
Fasterxml databind is being brought in to karaf by opendaylight and trying to force a different version for the appc components is causing class errors. This reverts commit 52cf1a81d591efb2b1ee4b8c5a70b137dfb6c212. Change-Id: I6d0da2ed081e4abd4b83e8b11935ba43bee0e1aa Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1533
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-13upgrade databind artifactTaka Cho1-0/+10
upgrade jackson's databind from 2.8.11.2 to 2.8.11.3 Change-Id: I9bf3ab8021f91f6ed36bdffdacbaeeac78d2e87c Issue-ID: APPC-1533 Signed-off-by: Taka Cho <takamune.cho@att.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-03-08Sonar Fix- NullPointer & removed unused variablesSudarshan Kumar1-8/+15
Sonar Fix- Handling NullPointerException and removed unused variables Issue-ID: APPC-1399 Change-Id: Iac61f72e7c1547ee7cf5aeab82a621a380e109fa Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-05added skip hpervisor check and other adapterchangeModaboina, Kusumakumari (km583p)7-100/+225
Issue-ID: APPC-1378 Change-Id: Ia8db114af1347a9523676034fce56640f523e523 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.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-25Changes for new odl versionPatrick Brady1-1/+7
Changes required to update to latest opendaylight version. Some powermock tests have been temporarily removed due to an powermock incompatibility. They will be fixed and re-added. Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1370
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>