summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java
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-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-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-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-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-12Test coverage in ServiceCatalogV3Joss Armstrong1-2/+8
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-1/+7
Increased coverage from 57% to 91% Issue-ID: APPC-1418 Change-Id: I0f2b77bdb451d973d631f4c785b65de3bb84f02f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Improve test coverage of rebootJoss Armstrong1-12/+4
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-3/+2
Increased line coverage of class Issue-ID: APPC-1374 Change-Id: Ica44ff92a446e8b380162675d0f0f79e30ad6e73 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Add test coverage for AttachVolumeServerJoss Armstrong1-14/+16
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-1/+2
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-3/+2
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: I6323eb60df3f0966bfa78291ffb3d1b277399ef2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.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 Armstrong1-2/+4
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>