summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-02-05Test coverage in rest-healthcheck-adapterJoss Armstrong2-94/+92
Increased coverage Issue-ID: APPC-1387 Change-Id: Idafa0d7dbd5cb740728197bc3b4c232bdbef0821 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Improve test coverage of rebootJoss Armstrong2-17/+49
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 Armstrong2-3/+63
Increased line coverage of class Issue-ID: APPC-1374 Change-Id: Ica44ff92a446e8b380162675d0f0f79e30ad6e73 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Add coverage for seqgen-providerJoss Armstrong4-77/+204
Added coverage for untested package Issue-ID: APPC-1386 Change-Id: I6b6d74c54982dd327176a2e1e5f3c873be9dbb89 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Additional test case added ResponseContext.javaSudarshan Kumar1-15/+30
Additional junit test case added for ResponseContext.java Issue-ID: APPC-1372 Change-Id: Iaa9455d80e84c46c39ffce066abe3aedfb56a58d Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05Encryption tool changes for multiple ansibleserverGeorge, Lina (lg941u)12-28/+799
Issue-ID: APPC-1342 Change-Id: Ib1ff7845ad65cf13c06a96d6dcce023b06064dfa Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2019-02-05Junit test class added for TemplateException.javaSudarshan Kumar1-0/+50
Junit test class added for TemplateException.java Issue-ID: APPC-1372 Change-Id: I94d97e4b173c51a34a0320f3e24761582fc39101 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05made changes to existing test caseSandeep J1-6/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I72df9d78b439ff5d8b610d87a5295f5dce3fba59 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05Volume_ - Junit Test case addedSudarshan Kumar1-9/+25
Volume_ - Junit Test case added Issue-ID: APPC-1372 Change-Id: Ie35baff6161aaeecd25e2055ef40f3a6d5b0000b Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05listener bundle change for multiple ansibleBalaji, Ramya (rb111y)15-151/+324
Changes to event listener and dependent bundles Issue-ID: APPC-1376 Change-Id: I26e9f6f39caa2a0b0ad46a3a61d21db9f0c05d47 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2019-02-05Sdc Listener Platform hardening changesBalaji, Ramya (rb111y)3-9/+29
Issue-ID: APPC-1382 Change-Id: Ib4928843a8f169d856aaa1afa49fcfa127ba4990 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2019-02-05Added Junit class for ProtocolException.javaSudarshan Kumar1-0/+70
Added Junit class for ProtocolException.java Issue-ID: APPC-1372 Change-Id: I695c7dca1cf92c2aa9354c6738042b20f949a215 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05added test case to TestSshConnectionMock.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: Icbfd25c82b28783ea2afb7c6cd0411d72f6db12b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05added test file to cover TemplateException.javaSandeep J1-0/+34
to increase code coverage Issue-ID: APPC-1086 Change-Id: I21877b15110502d75b05fa57eb179fb462e1e755 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05Test coverage in netconf-oldconnectorJoss Armstrong6-38/+261
Increased coverage from 0% to 92% for package Issue-ID: APPC-1388 Change-Id: I9f332f799f67937a40c09bdf724701ef80bbad89 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05added test case to TestSnapShot.javaSandeep J1-4/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iecc9f217c7f230311daf14ba49e3106ce31d017a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05added test case to TestTemplate.javaSandeep J1-5/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie6fdd33aab4ef6f0395d98375a26e83c750a06ce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05added test file to cover VnfType.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia85fd2a0fab0de8b5fbf770ce58b4f308a1e5d74 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-04modified existing test case to increase coverageSandeep J1-24/+29
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic028f65e2d62529a91de069050aec11db09b6014 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-01Add test coverage for AttachVolumeServerJoss Armstrong2-14/+71
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 Armstrong2-1/+102
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 Armstrong2-3/+72
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: I6323eb60df3f0966bfa78291ffb3d1b277399ef2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for RestoreStackJoss Armstrong1-0/+92
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: Ie180b5a8f10aaa8aa7ea8b83b403a2eab1885818 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Update rest return parametersPatrick Brady2-20/+20
Change-Id: If5d860a37a87ac0feb6452173cf147bbafa079b3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1381
2019-02-01Docs add restconf use instructionsPatrick Brady1-1/+49
Add usage instructions for rest adapter to the user guide. Change-Id: I3fe1b9661c82ff789969987ddc18d7687fd41107 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1274
2019-02-01added test file to cover Resources.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I65861398bb166baa8691034a17ecb7da248bbca9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31Parameters - Junit Test case addedSudarshan Kumar1-0/+43
Parameters - Junit Test case added Issue-ID: APPC-1372 Change-Id: I04aa72f49066b214f8294bf7592b203f4d10479c Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>