summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04Rename the fields to match the regular expressionRupinder1-52/+52
Issue-ID: APPC-1859 Change-Id: Ia8ab60d61f2f077e87b9c9eb165637acf8746403 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-04Rename the fields to match the regular expressionRupinder3-21/+21
Issue-ID: APPC-1859 Change-Id: Id60e1a8df6cf03c1956904bbcf3a5802501ec5fb Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-04lowered code smellsRupinder4-29/+29
Issue-ID: APPC-1859 Change-Id: I4ec9adbc3070ca3371c948e4a01c7c869e1fd24a Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-28sonarFixes. reduce code smellMamtha2-5/+4
Issue-ID: APPC-1858 Change-Id: I5cfdba67456b0fcbd566117584471e6616e888e7 Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2020-04-06improved code structureRupinder1-3/+0
Removed code smells Issue-ID: APPC-1859 Change-Id: I241ac80a75fdebfb9048349ae993a891a7a9642d Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2019-12-16Fix inconsistent use of encrypt methodPatrick Brady1-3/+3
The appc Configuration class handles decryption of encrypted passwords with no additional method calls needed. This change removes the incorrect call the the EncryptionTool encrypt method. Change-Id: I3b9664911d087da25919ae96db038008b8427e24 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1766
2019-10-01Sonar Fix: TerminateStack.javaArundathi Patil1-2/+1
Fixed sonar issues in this file Issue-ID: APPC-1745 Change-Id: I1e750cfa8f7d4628fca0c9af0051fdfa69778977 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-10-01Sonar Fix: MigrateServer.javaArundathi Patil1-15/+13
Fixed sonar issues across this file Issue-ID: APPC-1740 Change-Id: I8c2377a99a5de9e9926bc96288e51dfe438d0fa0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-10-01Sonar Fix: LookupServer.javaArundathi Patil1-5/+5
Fixed sonar issues across this file Issue-ID: APPC-1739 Change-Id: Iabbaada720d8b3f2ee3916a0d663b90f8fe23bcb Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-10-01Sonar Fix: CreateSnapshot.javaArundathi Patil1-15/+15
Fixed sonar issues across this file Issue-ID: APPC-1738 Change-Id: Iba43b24d4ae4c14197eed2e5159a4a00dfcfe00b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-09-17Sonar Fix: APPC-1716Arundathi Patil2-5/+10
Fixed sonar issues across this file Issue-ID: APPC-1716 Change-Id: Ic9d8d1c0ff22c9d0cc9831793d1e3550e5f62897 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-09-17Sonar fix: APPC-1717Arundathi Patil2-7/+10
Fixed sonar issues across these files Issue-ID: APPC-1717 Change-Id: I25fc139344e88d389e24b91a7d6796fea6f251c2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-08-19APPC-1681 -Rename this local variable to match the regular expression ↵Thugutla Sailakshmi1-6/+8
'^[a-z][a-zA-Z0-9]*$'. APPC-1681 -Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'. Issue-ID: APPC-1681 Change-Id: I7f6926bfa1a4f57d99d6732492281b36f041922f Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-08-13Sonar Fix- ProviderOperation.javadinesha1-3/+4
Fixed Sonar Issues accross the file Issue-ID: APPC-1669 Change-Id: Idccc7e133a93f0af8d2352473d95f755f39f1ae7 Signed-off-by: dinesha <dineshgs@in.ibm.com>
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-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-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-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-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>