aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18Test coverage in design-services-providerJoss Armstrong4-92/+144
Add test cases to ArtifactHandlerClient Issue-ID: APPC-1436 Change-Id: I0893526b6f3a532ec422b998bb9cc266850a52a7 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-18Test coverage for DesignServiceProviderJoss Armstrong1-0/+54
Add 100% coverage for class Issue-ID: APPC-1436 Change-Id: I7e20fa92e5d6b16f7b3c791538464575024fefc5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-18Added test case for License Data AccessLathishbabu Ganesan1-0/+76
Increased code coverage from 0% to 98% Issue-ID: APPC-1450 Change-Id: I6fbf7ef905bac06ec5a8245eeb1bfb3d5b263b9f Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-18Test coverage for SecureRestClientTMJoss Armstrong1-0/+41
Added 100% coverage for class Issue-ID: APPC-1436 Change-Id: I5522672d32720028744f03078287436eed8f2ce5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-18Added test case for DbService utilLathishbabu Ganesan1-0/+80
Increased the coverage from 22% to 82% Issue-ID: APPC-1448 Change-Id: I478367d6f5aac4a453b6d711a81c0ee5cefcdd36 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.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 test case for RestClient InvokerLathishbabu Ganesan2-101/+138
Increased the coverage from 0% to 92% Issue-ID: APPC-1439 Change-Id: Icb1d51c3b62570e4f4294021b7ea92b325c085ee Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-18Added test case for Legacy Util classLathishbabu Ganesan1-0/+49
Increased the test coverage from 0% to 97% Issue-ID: APPC-1430 Change-Id: Id9045c3fc1c107e877a0e8bd7e977f6e271111ea Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-18Added test case for Flow Controller ActivatorLathishbabu Ganesan1-0/+87
Increased the code coverage from 0% to 97% Issue-ID: APPC-1429 Change-Id: Iada494daad7939b00c76fead73be864c6b40e045 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-16Junit class TestSliAuditActivator.java addedSudarshan Kumar1-0/+87
Junit class TestSliAuditActivator.java added Issue-ID: APPC-1372 Change-Id: I9c34fdf596970be4554959f98c19534897792718 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-16Added Junit for RequestValidationException.JavaSudarshan Kumar1-0/+34
Added Junit for RequestValidationException.Java Issue-ID: APPC-1372 Change-Id: Ie56b6ff0dc1a3c0fafbd954f658a08965b006519 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-15Support multiple Ansible serversSonali Das3-107/+320
Issue-ID: APPC-1364 Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa Signed-off-by: Sonali Das <sd394g@att.com> Review Comment update Issue-ID: APPC-1364 Change-Id: I03fa97d60c6497218c14b53531c2dea69c7fba34 Signed-off-by: Sonali Das <sd394g@att.com> Review Comment update Issue-ID: APPC-1364 Change-Id: I03fa97d60c6497218c14b53531c2dea69c7fba34 Signed-off-by: Sonali Das <sd394g@att.com> Support multiple Ansible servers Issue-ID: APPC-1364 Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa Signed-off-by: Sonali Das <sd394g@att.com> Support multiple Ansible servers Issue-ID: APPC-1364 Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa Signed-off-by: Sonali Das <sd394g@att.com>
2019-02-15Added fix for potential Multiplication overflowJegadeesh Babu1-2/+3
Sonar bug fix Issue-ID: APPC-1438 Change-Id: I5d68c3b9659d8e538bd4a7a6a23aa77c293510f6 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-15Added Test case for General Data ServiceLathishbabu Ganesan1-0/+75
Increased the coverage from 0% to 92% Issue-ID: APPC-1427 Change-Id: I868993463f162da3ea81d9681db109afafb6c90c Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-15Added Junit for DBException.javaSudarshan Kumar1-0/+40
Added Junit for DBException.java Issue-ID: APPC-1372 Change-Id: Ie5637f33c6a2bc6f51d51f0f94fb780699b3880c Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-15Added test case for Config GeneratorLathishbabu Ganesan1-0/+63
Increased the coverage from 0% to 97% Issue-ID: APPC-1426 Change-Id: I667845ef9b36a85e5be51fd624028063b0f2ea77 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Added test cases for DME2 ClientLathishbabu Ganesan3-22/+142
Increased the coverage from 0% to 90% Issue-ID: APPC-1395 Change-Id: I9651ab4326e500559e5bd9b99abdff84d93cfa1d Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Test coverage in XInterfaceServiceJoss Armstrong2-25/+104
Increased coverage from 68% to 100% Issue-ID: APPC-1436 Change-Id: If9f1670ba9955325bf938d7edf3d7d67bb48088c Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-14Test coverage for XResponseProcessorJoss Armstrong1-0/+58
Increased coverage from 0% to 81% Issue-ID: APPC-1436 Change-Id: I6b9805d2e048247759861ebcd65d74507c99aeb0 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-14Check vm-capabilites on vnf-level OS requestsLori Keighron59-1429/+3094
New per-vm capabilities checking is introduced for vnf-level OpenStack actions Additional changes per initial review. Additional changes in TestVnfc.java per second review. Change-Id: Idd1d834df076c1e525f596b788b69ed63ba9e66b Issue-ID: APPC-1380 Signed-off-by: Lori Keighron <lk2924@att.com>
2019-02-14Added test case for DgResolver PluginLathishbabu Ganesan2-0/+101
Increased the coverage from 0% to 94% Issue-ID: APPC-1421 Change-Id: Ide813344cc2a00444bfd97fdeb9cbbe5a15eef08 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Added interrupt method to notify caller methodJegadeesh Babu1-1/+4
Called interrupt method on current thread Issue-ID: APPC-1437 Change-Id: I0dbb8cf01f285c01f96fe4f1c0396999e3361373 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-14Test coverage in ArtifactHandlerClientJoss Armstrong1-0/+39
Added partial test coverage Issue-ID: APPC-1436 Change-Id: Ic2520603b33f735cf1bd816544696c3fa29f0303 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.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-14Junit for AppcAaiClientActivatorDriptaroop Das1-0/+77
Junit for AppcAaiClientActivator Issue-ID: APPC-1410 Change-Id: I680a2790ed2d516a04f7fdbe138f4b88ec5ea91c Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-14Code block added to avoid Null pointer ExceptionJegadeesh Babu1-0/+3
Added condition to avoid NullPointer Exception Issue-ID: APPC-1425 Change-Id: I166633ccfcf51a8fcc8d4082aa8d2afa4b299398 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.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 for DesignServiceImpl ClassLathishbabu Ganesan4-80/+241
Increased the coverage from 0% to 97.5% Issue-ID: APPC-1420 Change-Id: Iea12e07e91f6d84645dbbc060518c26c1695fd40 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Junit for ArtifactHandlerInternalExceptionDriptaroop Das1-0/+36
Junit for ArtifactHandlerInternalException Issue-ID: APPC-1412 Change-Id: Ib37177052fea56a31ed486772f0204931e2c9a34 Signed-off-by: Driptaroop Das <driptaroop.das@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-14Junit for AppcDataServiceActivatorDriptaroop Das1-0/+77
Junit for AppcDataServiceActivator Issue-ID: APPC-1411 Change-Id: Iddccff7afd8960d82e2dec8217d385810a4b80c3 Signed-off-by: Driptaroop Das <driptaroop.das@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-13Added test case for Flow control NodeLathishbabu Ganesan1-9/+59
Increased the test coverage from 0% to 77% Issue-ID: APPC-1414 Change-Id: Ib65618e67af478bf577b103a27ebf0aa34f8bec3 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
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>