summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-08-07Increment version to 1.6.2Patrick Brady52-53/+53
Change-Id: If6610d1addd323c1ad0f902a0841b979f017adc9 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-03Increment versions after releasePatrick Brady52-53/+53
Change-Id: I83b000b7c4ac94b5eba396b5e1856a970fa90623 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-07-31Sonar Fix- AnsibleServerEmulator.javadinesha2-6/+6
Fixed Sonar issues accross the file Issue-ID: APPC-1669 Change-Id: I49db3c6c23f5cf61fe8d898662abaeb14f7c4422 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-26APPC-1663anushadasari1-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-1663 Change-Id: I98a98f59847a4cdea298f82531530db4048b65b0 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-1655anushadasari1-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. Issue-ID: APPC-1655 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Dasari Anusha <danush10@in.ibm.com> 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-12Sonar Fix - Removed unused Variable Utils.javaSudarshan Kumar1-1/+0
Sonar Fix - Removed unused Variable Utils.java Issue-ID: APPC-1629 Change-Id: I557c065ff835834f5eed5eb80bd7136e182217f5 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-10Marked field transientjegadeeshbabu11-1/+3
Handled non-serializable fields Issue-ID: APPC-1637 Change-Id: I3398620e396c3f8bc1504eca8d312bc35d3bbbfd Signed-off-by: jegadeeshbabu1 <jegabab1@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-28InventoryNames in ansible adapter fixedLukasz Rajewski1-1/+1
This change fixes support for InventoryNames parameter in LCM request going to Ansible server. Also ansible adapter DG has been modified to consider new parameter added Change-Id: I68aa8efa34b79ef2f669d81563510fea7bb0a730 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: APPC-1612 (cherry picked from commit 7155b808084ff6e49f6eef01ac7defd9a7754a3a)
2019-05-22Fix for support of InventoryNamesLukasz Rajewski1-0/+2
This change addes support for InventoryNames parameter in LCM request going to Ansible server Change-Id: I9aea0b5407460d5dc0b2691e73ba795f8fe2af15 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: APPC-1612
2019-05-20Update parent versionPatrick Brady51-52/+52
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-05-08Change rest healthcheck to use appc parent pomsPatrick Brady7-152/+184
Change appc-rest-healthcheck over to the new style of features using the org.onap.appc.parent pom files as parents. Change-Id: I781754f3ad5c31a937d17449ff46320d60db4975 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1586
2019-04-26Increment snapshot versionPatrick Brady50-55/+55
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-24remove commons-codec hardcodedTaka Cho1-5/+0
remove 1.9 version commons-codec Change-Id: I8ea5ca9c017b2d2b8917e38e2666996c5227d40b Issue-ID: APPC-1579 Signed-off-by: Taka Cho <takamune.cho@att.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-09added test case to TestConnectionBuilder.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie7d84cc28ebd112c2ce224cd6c544939ef376ed1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-07Removed unused importsJegadeesh Babu1-2/+1
Sonar fix Issue-ID: APPC-1567 Change-Id: Iec6ce8b197e958e69e108708c056f00cca3b9c66 Signed-off-by: Jegadeesh Babu <jegabab1@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-04-02Used constants to avoid dup of literalsJegadeesh Babu1-5/+7
Sonar fix Issue-ID: APPC-1562 Change-Id: Ic9d14b32f4deac975b46154a2ac8e4664ec11c52 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-04-02Reordered the modifier as per java standardJegadeesh Babu1-2/+4
Sonar fix Issue-ID: APPC-1563 Change-Id: I9a4b82ca67b5c7f5184457b95c347089de728658 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-27Used constants in the place of dup literalsJegadeesh Babu1-4/+5
Sonar fix Issue-ID: APPC-1557 Change-Id: I4b52b9febabd0fae8aa098004aeba0ef9a085710 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-27Used constants to replace duplicated literalsJegadeesh Babu1-7/+11
Sonar Fix Issue-ID: APPC-1555 Change-Id: I3943003c7fa37aed95e138f03a3fe4b8f48b75ce Signed-off-by: Jegadeesh Babu <jegabab1@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-23Add back bundlesPatrick Brady1-0/+8
The newest ccsdk update removed some bundles that were required by appc. This adds bundle entries to bring up those bundles. Change-Id: I5ff802ee4837d1a5a6bcaffcb0805e41d95d6918 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: CCSDK-1156
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-19SshConnectionSshd - Sonar FixDriptaroop Das1-13/+7
SshConnectionSshd - Sonar Fix Issue-ID: APPC-1543 Change-Id: Id02cd65f4dfeebb43c4eb637d50b649c684397c7 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-03-18Revert "upgrade mapper-asl"Patrick Brady5-59/+4
The old version is a newer version of the dependency. This reverts commit 651430451d2134d14daab15ebae29eccc878b52b. Change-Id: I410e9debc0207c12ffa024ff48a69b5f482006de Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1531
2019-03-18Replaced hardcoded value with constant definedJegadeesh Babu1-2/+4
Sonar fix Issue-ID: APPC-1539 Change-Id: Id3891e50bdf89799d1310b37c80ca920d7bdc02c Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-18Replaced hardcoded with const variableJegadeesh Babu1-4/+5
Sonar fix Issue-ID: APPC-1544 Change-Id: I19c7f33d4e7d1070fa84a33e4f997923c9c1f8e1 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady24-292/+2
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-15upgrade async-http-client versionTaka Cho1-106/+0
The installation dependencies can be removed because they are not being used anymore. Removing the async-http-client from being packaged into the installer will remove the security vulnerability. Change-Id: I555d083365a87753b6a406b0abf863c689d65449 Issue-ID: APPC-1538 Signed-off-by: Taka Cho <takamune.cho@att.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-14Refactored local var which hides class variableJegadeesh Babu1-15/+15
Sonar fix Issue-ID: APPC-1536 Change-Id: I2aa494d4fb13f6422382232cb05c94c333650f85 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-14Handle exceptionJegadeesh Babu1-0/+2
Sonar fix Issue-ID: APPC-1535 Change-Id: Ic980f53362a87cc8674252d6a8c4cb0cc50035c3 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>