summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
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-19Added test case for TestSshAdapterMock.javaSudarshan Kumar1-1/+13
Added additional test case for TestSshAdapterMock.java Issue-ID: APPC-1372 Change-Id: Ib2b6051cb8a47cc133b378d4fed6de326d37c4e5 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-18Added test case for RestActivatorLathishbabu Ganesan1-0/+59
Increased the coverage from 0% to 100% Issue-ID: APPC-1428 Change-Id: Ic33666f14f4cefddf7b6216653229371607b4573 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.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-14Test coverage DmaapMessageAdapterFactoryImplJoss Armstrong1-0/+58
Increased coverage from 0% to 100% Issue-ID: APPC-1422 Change-Id: I61e0af9d676749d2b36d7765de92ddc9b1df3396 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-14Test coverage DmaapMessageAdapterFactoryActivatorJoss Armstrong3-14/+67
Increased coverage from 0% to 100% Issue-ID: APPC-1422 Change-Id: I246ddffe3d84682ddb37ca5e94abd0c7f5c7c312 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-14added test case to TestAnsibleMessageParser.javaSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic0546d8cff108551d32bb7db71238e1c968d0bef Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test cases to TestTenantCache.javaSandeep J1-5/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic7c8456b375426e831b3ba2f8e6148db9ba59d5f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test case to ProviderOperationFactoryTestSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic6f8fcebd31b111fdfc194e55bc74f8d8ac6f1fa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test case to TestRestartServer.javaSandeep J1-6/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id4297a81cc09b9df9ba5a6c15c0921f68c025864 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test file to cover AnsibleResult.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4c148c9b74177ebc455652ff37edba184e279b1c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-13modified existing test case to increase coverageSandeep J1-1/+3
changing constructor argument from 0 to 1 increases code coverage Issue-ID: APPC-1086 Change-Id: Ic5f2d61bd96ef862c0b20d91c7b9af3f7ca1a081 Signed-off-by: Sandeep J <sandeejh@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-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-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-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-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-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 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-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-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-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-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)10-119/+163
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-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-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 Brady1-16/+16
Change-Id: If5d860a37a87ac0feb6452173cf147bbafa079b3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1381
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>
2019-01-31added test file to cover Resources_.javaSandeep J1-0/+49
to increase code coverage Issue-ID: APPC-1086 Change-Id: I9bc51094d3588adbe50089bf85f6f04cf05f99fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>