summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-21Modified code to avoid Null pointer excJegadeesh Babu1-1/+1
Sonar fix Issue-ID: APPC-1547 Change-Id: Ie242256130f255a05366774516cf503c2a3d47cc Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-21Fix for incorrect handling of SQL resultsJoss Armstrong1-1/+2
Corrected handling of SQL COUNT query Issue-ID: APPC-1545 Change-Id: I8c246b97c8ed8b483e79ae0e3b2cb51f8b4b62be Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-21Change identifier in database queryJoss Armstrong1-2/+2
Future release of MariaDB adds a keyword currently used as an identifier Issue-ID: APPC-1548 Change-Id: I4ced052e6acb816797024f5581f14f5f969d357f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-20Suppression of long logs in GraphExecutorJoss Armstrong1-1/+13
Logging full configuration files to info log was causing failures and timeouts on configuration operations in APPC. Some were removed already under this JIRA but this one was missed. Issue-ID: APPC-1489 Change-Id: I619f2d1140095859092d6ceff6c7cb44855fb2e1 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-19added test cases to TestAppcProvider.javaSandeep J1-2/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iff273f586c3d6ac9fa3809ef605013f11d3d2178 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-19added file to test VServerInfo.javaSandeep J1-0/+66
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id430a90d0a186c9a065f514efd316af300f690a0 Signed-off-by: Sandeep J <sandeejh@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 Brady6-70/+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 Brady118-1300/+19
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-15added test case to CapabilityModelTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I111df5be541166b00e8eefe292bcd41191df27c3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-15added file to test Input.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0878084535f77d1be78c82248d597660bb57ddaa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14databind upgrade artifactTaka Cho4-3/+26
databine upgrade 2.8.11.3 Change-Id: Ide510410a3ce0727f3b74053cd915cbb655ce07d Issue-ID: APPC-1533 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-14added test case to cover Parameters.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: Icf7850c8fa43a5d6e5128b00bf708f551c57d1f7 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to VmTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I21c87ab20f6c3faee200fcf2d25120175f58e2c5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14added test case to TunableParametersTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ad33fb62276caeb91e08cd1d0aef7a2e2c39864 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-14upgrade h2databaseTaka Cho1-1/+1
upgrade to 199 version Change-Id: Icc5086f50d275bd70fae0264390d93b2b7972cfa Issue-ID: APPC-1530 Signed-off-by: Taka Cho <takamune.cho@att.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>
2019-03-13Multiple Sonar FixesDriptaroop Das5-28/+28
Multiple Sonar Fixes Issue-ID: APPC-1525 Change-Id: I58b8adc0e53a00c6d3de05c921dafdd3dd9fe118 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-03-13Added Junit Class for ParamsHandlerActivatorSudarshan Kumar1-0/+85
Added Junit Class for ParamsHandlerActivator Issue-ID: APPC-1372 Change-Id: I1198cd62354e8781f4fe9e07676ad64fc7f3ccf9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-13upgrade databind artifactTaka Cho118-19/+1300
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-13Adding DistributeTrafficCheck LCM APIosinstom8-8/+341
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2019-03-12upgrade mapper-aslTaka Cho6-4/+70
move to 1.9.3 for mapper-asl for securilty vulnerability Change-Id: I9189a59ad96af9a9cd761941ed64ed9eae77743f Issue-ID: APPC-1531 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-12added file to test CapabilityModel.javaSandeep J1-0/+58
to increase code coverage Issue-ID: APPC-1086 Change-Id: I47987b8d304db6447fc34ce869f5b16f10c6c6e9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-12added file to test SDCArtifact.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id50d1ae6dd6323a6f3f0cb5a225cb141f143019c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-12added missing licence to CapabilityModel.javaSandeep J1-0/+21
added missing licence Issue-ID: APPC-1086 Change-Id: I8062927427b4d61b9e96051facb7316c2be25233 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-12Handled exceptionJegadeesh Babu1-1/+2
Sonar fix Issue-ID: APPC-1526 Change-Id: I04e8425625a4dd2a5561c80d4e685b32a21b6a70 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-12Added logger statementsJegadeesh Babu1-1/+7
Sonar fix Issue-ID: APPC-1529 Change-Id: Ibb3dd50ad85232f7c5474c075045523aac531899 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-12upgrade to 197 for h2databaseTaka Cho1-2/+2
In order to remove the security vulnerability for h2database the version is going to use 197. Change-Id: Ib761b986ccbed89854d7922a9336a47c3a8d368f Issue-ID: APPC-1530 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-12Added loggerJegadeesh Babu1-0/+4
Sonar fix Issue-ID: APPC-1527 Change-Id: Ic2708d67b6f2740ddabe834e56b09c11389b8894 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-12Added loggerJegadeesh Babu1-0/+3
Sonar fix Issue-ID: APPC-1532 Change-Id: I6c1ca46e0fb95d4eb41c3b6fd6a8e640ca047a00 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-11Added Junit For VNFResolverDataReaderSudarshan Kumar1-0/+46
Added Junit Class for VNFResolverDataReader Issue-ID: APPC-1372 Change-Id: I8236c89f95ffe6ffb61954456a7bab09082e47b2 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-11added file to test EnvVariables.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ccef8fe411dec8a699152d7710ac83683c5cb72 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08Added test case for Metric builderLathishbabu Ganesan1-0/+46
Issue-ID: APPC-1456 Change-Id: I814d1cdceaecc0e248ee2a0c9946069358ebbb06 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.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-08added test case to TestDGGeneralDBService.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idfc3aa674b566f5e4e04e29396dd9c08607854b6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added file to test FqdnList.javaSandeep J1-0/+67
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic2028fa37825facb1e8999a8328c0773eb41abcc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added file to test Parameters.javaSandeep J1-0/+84
to increase code coverage Issue-ID: APPC-1086 Change-Id: I046d1154ce19801cbc18883799f71ec401baa1cb 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-07added test cases to TimeTest.javaSandeep J1-25/+30
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie6bc65d604ee673964507858ae68b7438f314841 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-07Update appc-dispatcher for >1 ansible serversDunietz, Irwin14-133/+381
Change Transaction record update logic to handle null instance entry. Issue-ID: APPC-1516 Change-Id: Ia87e08fbb61d4d0be38802e3e81b45773b1d9498 Signed-off-by: Dunietz, Irwin <irwin.dunietz@att.com>
2019-03-07added test cases to TestStructuredPropertyTestHelpSandeep J1-7/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4b1afa01afabf9bdd95ea6b80f3af335523155b4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-07Test coverage in RequestValidatorJoss Armstrong1-0/+72
Increased coverage from 61% to 79% Issue-ID: APPC-1436 Change-Id: I4a372d40b5593f32685b09c5240654dab0aee968 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-06Test coverage in ArtifactHandlerClientJoss Armstrong5-85/+63
Increase coverage from 34% to 83% Fix for Sonar major issue on branch coverage Issue-ID: APPC-1436 Change-Id: Ie26e2cb71c833e4f086da2a238bd6f956bd85f33 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>