summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-13Replaced prinstacktrace with loggerJegadeesh Babu1-1/+1
Replaced printStackTrace with logger Issue-ID: APPC-1424 Change-Id: I582b497fe3f483ec14abf6b61f488204c02238b8 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-13Fix broken unit test in DmaapProducerImplJoss Armstrong3-82/+17
Puts tests back to prior to commit Ie4817c5bdf514d4fe7f68b73812bbc2383c8cbbe Issue-ID: APPC-1423 Change-Id: I2165c9a2ce83db1f9d185f083d41d6e5d7bce269 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-12Test Coverage in DmaapConsumerImplJoss Armstrong3-59/+139
Increased coverage Issue-ID: APPC-1415 Change-Id: I29e2d0883914aeec652a47436c86c6ea8e5ab7a5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-12Test coverage in DmaapProducerImplJoss Armstrong3-14/+79
Increased coverage to 80% Issue-ID: APPC-1415 Change-Id: Ie4817c5bdf514d4fe7f68b73812bbc2383c8cbbe Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-12Added unit test case for ProviderOperationsLathishbabu Ganesan3-103/+259
Increased the coverage from 0% to 86% Issue-ID: APPC-1404 Change-Id: Ic9fdfe59c4dc60e57bdca1a501ac99a9207eb539 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.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-12Added test coverage for GraphExecutorJoss Armstrong3-10/+143
Increased coverage to 97% Issue-ID: APPC-1419 Change-Id: I3d505d53a95f4f8605041b21bf6c868b8652d7a5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-12Test coverage in SshdDataAccessServiceJoss Armstrong2-83/+43
Increase coverage from 45% to 93% Issue-ID: APPC-1416 Change-Id: Icd9560f279b6dcd3986fcf28b16796a68b2ccb4f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Removed PrintStackTrace SshJcraftWrapper.javaSudarshan Kumar1-7/+6
Removed PrintStackTrace SshJcraftWrapper.java Issue-ID: APPC-1399 Change-Id: Ice16de4fd8d997643d4dea73a4ebacc75f2b2d49 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.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-11Test coverage in ssh adapterJoss Armstrong2-26/+60
Increased coverage of sshadaptersshd and sshconnection classes Issue-ID: APPC-1416 Change-Id: I706f942f87d4497f35b2584c1360d571b43eba6c Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Test coverage in EventSenderDmaapImplJoss Armstrong2-8/+123
Coverage increased from 10% to 92% Issue-ID: APPC-1415 Change-Id: I846a24364bda29e754fa53ed518de92bf00693e6 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Test coverage in EncryptionToolDGWrapperJoss Armstrong2-1/+249
Increased coverage from 28% to 100% Issue-ID: APPC-1409 Change-Id: I8e91c3cd58feaa795be86233147553ad137b8f4e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Test coverage for ParseAdminArtifactJoss Armstrong2-8/+62
Increased coverage from 65% to 85% Issue-ID: APPC-1409 Change-Id: If39c07b3edbcaad6d618e54b27483323848410fe Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Test coverage in wrapperEncryptionToolJoss Armstrong2-2/+79
Increased coverage from 0% to 81% Issue-ID: APPC-1409 Change-Id: I1b4d285eff9fad8a60e855a97ff843078d628862 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-11Test coverage in encryptiontool packageJoss Armstrong3-13/+71
Increased coverage to 100% Issue-ID: APPC-1409 Change-Id: Iff09cf04cbdb1cb4f7ad640102f8885a571f5ae0 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-08Add junit coverage to MetadataCacheFactory classZihmin Hoover1-6/+14
Add more test runs to MetadataCacheFactoryTest class Change-Id: I52871dfb876be91bd4600390af3bfee9d356e121 Issue-ID: APPC-1047 Signed-off-by: Zihmin Hoover <zh4590@att.com>
2019-02-08Test coverage in workflow-implJoss Armstrong2-8/+49
Increased package coverage to 83% Issue-ID: APPC-1408 Change-Id: I24b634ee7926bac2a196256cd20362d2f7b93b76 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-08Changes to config bundle for vnf level enhancementGeorge, Lina (lg941u)12-636/+731
Issue-ID: APPC-1380 Change-Id: Icfdc202a4763b7e708007573505e5b3be9d1454e Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2019-02-08Added Junit Class for CallableConsumer.javaSudarshan Kumar1-0/+73
Added Junit Class for CallableConsumer.java Issue-ID: APPC-1372 Change-Id: I3bdf3b66cf3c54835a9bf74076c47767ed03c1b0 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-08ansible adapter changes for multiple ansible servsModaboina, Kusumakumari (km583p)7-233/+429
Issue-ID: APPC-1365 Change-Id: Ie3d102d9efcef7ba98b1fb5920a73a6c64b01897 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2019-02-08Test coverage in transaction-recorderJoss Armstrong3-20/+146
Increased coverage from 64% to 96% Issue-ID: APPC-1403 Change-Id: Idbb94d5e8933ac65bfc68cec6996c5ac039e8748 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-08Increase coverage in workflow.activator packageJoss Armstrong3-1/+149
From 32% to 85% Issue-ID: APPC-1408 Change-Id: I52447e5df9fd3a6ebdb257dbba9a83013bad6f05 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-08Junit Class Added for AuthenticationException.javaSudarshan Kumar1-0/+35
Junit Class Added for AuthenticationException.java Issue-ID: APPC-1372 Change-Id: If8473d5eef4cabb52f72c1debe84c22b99998aa5 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-07Added unit test cases for Worker classLathishbabu Ganesan1-0/+85
Increased coverage from 0% to 100% Issue-ID: APPC-1402 Change-Id: I2a0a05a29cce79004581f21fd56138485b631f78 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-07Added test coverage aaiinterfaceruleshandlerLathishbabu Ganesan1-0/+150
Increase from 31% to 87% Issue-ID: APPC-1366 Change-Id: Ib9d643c128e3dd76f658577fd8d25763e8d8dd25 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-07Coverage in lock-managerJoss Armstrong2-0/+94
Increased package coverage to 93% Issue-ID: APPC-1400 Change-Id: I4ff2a02466fc7a178c4d411ca4647b1c3877b405 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07Vulnerabilities Fix - ParamsHandlerActivator.javaSudarshan Kumar1-2/+9
Removed printStackTrace and put logger Issue-ID: APPC-1399 Change-Id: I0217b530cde6b6d22b09210eeb65697006d60795 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-07Vulnerabilities Fix - ParamsHandlerConstant.javaSudarshan Kumar1-19/+21
Vulnerabilities Fix - Added final to all the constant variables Issue-ID: APPC-1399 Change-Id: I20ce67627f3d1752c4896cfa42e0f4cb88bf8059 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-07Coverage for lockmanager.sql.optimistic packageJoss Armstrong2-15/+219
Increased coverage from 54% to 95% Issue-ID: APPC-1400 Change-Id: Ic71a090ff9e292a9d9856f50561f348a77653e4f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07Test coverage in lockmanager.sql.pessimisticJoss Armstrong2-11/+252
Increased package coverage from 52% to 98% Issue-ID: APPC-1400 Change-Id: Iabce54c1004f4c5f1729d11b2ae40003d202625e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07New test class for QueueManagerJoss Armstrong2-19/+81
Increase test coverage from 8% to 84% Issue-ID: APPC-1396 Change-Id: I82fa20559e37fa387dbc7efa0bc24ba93139a973 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07Added unit test cases for Instar client classLathishbabu Ganesan1-0/+70
Increased Test coverage from 0% to 100% Issue-ID: APPC-1401 Change-Id: I4b1151d63b2aadf9a98cb147ec9fb4725e817ca2 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-07added test case to TestDataTool.javaSandeep J1-1/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1602078de42c9815fe81b76425939752610446aa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-07added test cases to TestSshConnectionMock.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iea79d58378564cb0ab847a9ff55a30b8d20833c7 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-07added test file to cover ResponseKey.javaSandeep J1-0/+51
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7408e9eeda6f52f6ba3aae437ca75c3647d97de0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-06Add coverage for executionqueue helper packageJoss Armstrong2-3/+113
New test file giving 100% coverage Issue-ID: APPC-1396 Change-Id: I597a778e4c128f745335ad243c0fa8cc8b0b1e45 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Improve testing in ExecutionQueueServiceImplJoss Armstrong2-8/+23
Increased coverage to 100% Issue-ID: APPC-1396 Change-Id: Ie9c2bd14d83f43e4fc41dacfd45a596ec46b1d95 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Add coverage for untested DBHelper classJoss Armstrong1-0/+89
Added tests and provided coverage of 95% Issue-ID: APPC-1394 Change-Id: Id63e78a72fe49d3a36af786192dc2359f3d3e334 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Test coverage for DBConnectionPoolJoss Armstrong2-3/+42
Increased class coverage to 100% Issue-ID: APPC-1394 Change-Id: I7c8adb081b7342a5a18d3a2ca0238625317c6b4d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Increase coverage in AppcDatabaseConnectionPoolJoss Armstrong2-24/+39
Add test cases and increase coverage to 94% Issue-ID: APPC-1394 Change-Id: I7ec2b0cb4fe5a22ebd8020eb7f5636075e1c5ac5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Reduce unit test duration from 40s to 4sJoss Armstrong2-7/+10
Mocked retry delay value to a lower value to reduce test time Issue-ID: APPC-1393 Change-Id: I98ea66b4cd0cc47d1861544bb70ec4c0e665e394 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06fix bug for readResource in AAINeha Sood3-8/+10
fix bug for readResource in AaiService Change-Id: I20a6564f3bbc16ab5deb3e0e40a75a105343965d Issue-ID: APPC-1379 Signed-off-by: Neha Sood <ns189k@att.com>
2019-02-06Test coverage for AppcNetconfAdapterActivatorJoss Armstrong3-7/+51
Added 100% coverage for untested class. Moved other test file to correct package. Issue-ID: APPC-1389 Change-Id: I73e768f21d5cda8865f891c63b9ad3f3ea2cce80 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06added test case to ConfigResourceNodeTestSandeep J1-0/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: I69a92c10c3c2543a45ebf333e708286ffb6ac454 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-06added test case to TestDGGeneralDBService.javaSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5c88e11546158129ff0e97ced38ebd23635535e2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-06Improve testing and coverage of netconf classJoss Armstrong2-19/+7
Test now covers main success flows and increased coverage Issue-ID: APPC-1390 Change-Id: I951d5ac3426ae6d6aa3567c80aef5a5bb95fa1c7 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06add test file for VNFOperationalStateValidatorImplSandeep J1-0/+52
to increase code coverage Issue-ID: APPC-1086 Change-Id: I65861398bb166baa8689934a23ecb7da248bbca6 Signed-off-by: Sandeep J <sandeejh@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>