summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-20Added test case for Appc Provider clientLathishbabu Ganesan1-0/+54
Increased the coverage from 0% to 100% Issue-ID: APPC-1455 Change-Id: I0e719bd084a985b63110f15681b6a87ec4affb4d Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-20Vulnerabilities Fix - XResponseProcessor.javaSudarshan Kumar1-3/+6
Removed printStacktrace and specified specific exception Issue-ID: APPC-1399 Change-Id: I44c938cdd00a88ff76dfa36dbe49942f91546bb2 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-20Sonar Fix: Removed printStacktraceSudarshan Kumar1-3/+5
Sonar Fix: Removed printStacktrace Issue-ID: APPC-1399 Change-Id: I0d33fac270a2082cc7b284c2df8e47fbf5b139a9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-20Sonar Fixes - AAIResourceNode.javaDriptaroop Das1-12/+7
Sonar Fixes - AAIResourceNode.java Issue-ID: APPC-1459 Change-Id: I19dd99bfc59feaf27b090440b6c1ff03d7fe16c0 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-19Test coverage in EventHandlerImplJoss Armstrong2-7/+42
Added test cases for untested code Issue-ID: APPC-1462 Change-Id: I492721a9c40678bb8700d30782cfa5949c1f22e9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Increase coverage in ControllerImplJoss Armstrong2-3/+67
Coverage increased to 94% Issue-ID: APPC-1462 Change-Id: I7e3af44d7627db7d09069c402e5aa47f518fd490 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Correct line indent spacingPatrick Brady2-150/+150
The indent spacing was incorrectly changed to 2 spaces instead of 4 by https://gerrit.onap.org/r/#/c/78396/ The incorrect spacing change was causing merge conflicts in another commit. Change-Id: I6693b3bfaa5685318c8ada5d7984235c788b9504 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1420
2019-02-19Fix code error in ControllerImpl classJoss Armstrong1-1/+3
Put in correct check for null ListenerClass attribute Issue-ID: APPC-1463 Change-Id: I55cd4327f4718c320e3feaf71db7ac23f59a0986 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Test coverage for CommonMessageJoss Armstrong2-36/+60
Increased coverage from 41% to 95% Issue-ID: APPC-1462 Change-Id: I602a0178617f29ab34f7a4ab4400d6e5c442bd9d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-18Added test case for OutputMessage PluginLathishbabu Ganesan1-0/+57
Increased the code coverage from 0% to 100% Issue-ID: APPC-1431 Change-Id: Ic05b358428745698d0b4871b9c6213c9c8130c7c Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
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>