summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-12Added loggerJegadeesh Babu1-0/+3
Sonar fix Issue-ID: APPC-1532 Change-Id: I6c1ca46e0fb95d4eb41c3b6fd6a8e640ca047a00 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-11Added Junit For VNFResolverDataReaderSudarshan Kumar1-0/+46
Added Junit Class for VNFResolverDataReader Issue-ID: APPC-1372 Change-Id: I8236c89f95ffe6ffb61954456a7bab09082e47b2 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-11added file to test EnvVariables.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I0ccef8fe411dec8a699152d7710ac83683c5cb72 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08Added test case for Metric builderLathishbabu Ganesan1-0/+46
Issue-ID: APPC-1456 Change-Id: I814d1cdceaecc0e248ee2a0c9946069358ebbb06 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-03-08added test cases to VmStatusChecker.javaSandeep J1-6/+27
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ica373ebc3281c9f66d2c2690af30394b45ea09ea Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added test case to TestDGGeneralDBService.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idfc3aa674b566f5e4e04e29396dd9c08607854b6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added file to test FqdnList.javaSandeep J1-0/+67
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic2028fa37825facb1e8999a8328c0773eb41abcc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08added file to test Parameters.javaSandeep J1-0/+84
to increase code coverage Issue-ID: APPC-1086 Change-Id: I046d1154ce19801cbc18883799f71ec401baa1cb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-08Sonar Fix- NullPointer & removed unused variablesSudarshan Kumar1-8/+15
Sonar Fix- Handling NullPointerException and removed unused variables Issue-ID: APPC-1399 Change-Id: Iac61f72e7c1547ee7cf5aeab82a621a380e109fa Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-07added test cases to TimeTest.javaSandeep J1-25/+30
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie6bc65d604ee673964507858ae68b7438f314841 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-07Update appc-dispatcher for >1 ansible serversDunietz, Irwin14-133/+381
Change Transaction record update logic to handle null instance entry. Issue-ID: APPC-1516 Change-Id: Ia87e08fbb61d4d0be38802e3e81b45773b1d9498 Signed-off-by: Dunietz, Irwin <irwin.dunietz@att.com>
2019-03-07added test cases to TestStructuredPropertyTestHelpSandeep J1-7/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4b1afa01afabf9bdd95ea6b80f3af335523155b4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-07Test coverage in RequestValidatorJoss Armstrong1-0/+72
Increased coverage from 61% to 79% Issue-ID: APPC-1436 Change-Id: I4a372d40b5593f32685b09c5240654dab0aee968 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-06Test coverage in ArtifactHandlerClientJoss Armstrong5-85/+63
Increase coverage from 34% to 83% Fix for Sonar major issue on branch coverage Issue-ID: APPC-1436 Change-Id: Ie26e2cb71c833e4f086da2a238bd6f956bd85f33 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-06Test coverage in ArtifactHandlerProviderJoss Armstrong1-29/+20
Increase coverage from 51% to 96% Fix assertions and Sonar major branch coverage problem Issue-ID: APPC-1335 Change-Id: I1edb662db199dda46972fdf37820aa1de1ad46fc Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-06added file to test EscapeUtils.javaSandeep J1-0/+36
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3c98deea811048097be6f87449d0f58b43b29be6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-06added file to test Vnfcslist.javaSandeep J1-0/+58
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id574d909b674b1bdad8b96663d3fdb66cc276ecd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-05added skip hpervisor check and other adapterchangeModaboina, Kusumakumari (km583p)7-100/+225
Issue-ID: APPC-1378 Change-Id: Ia8db114af1347a9523676034fce56640f523e523 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2019-03-05Added test case for Metric ActivatorLathishbabu Ganesan1-0/+51
Increased coverage from 0% to 100% Issue-ID: APPC-1522 Change-Id: Ie8936926ccb5556fffd15467039ad27f8b99f27e Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-03-05added file to test Vm.javaSandeep J1-0/+55
to increase code coverage Issue-ID: APPC-1086 Change-Id: I251cbcaa1566ad405198a8b8f6669f783aef260e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-05added file to test TunableParameters.javaSandeep J1-0/+54
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7844c0c99f1c9ad6e58a6bc7d8b71aee1ff0bd55 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-04added file to test ArtifactProcessorException.javaSandeep J1-0/+38
to increase code coverage Issue-ID: APPC-1086 Change-Id: If5082027e00615c5633621fdd93be1fe13ca27c7 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-04Added test case for Connection FactoryLathishbabu Ganesan1-0/+81
Increased the code coverage from 0% to 100% Issue-ID: APPC-1515 Change-Id: I186f57ce78127c64cc120bcdaa61b418e67fb0de Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-03-04Test coverage in DefaultConfigurationJoss Armstrong1-3/+25
Increased coverage from 79% to 89% Issue-ID: APPC-1520 Change-Id: I6a7fccb7768fe6eb996055be4d14bc366c228feb Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-04added test case to TestStructuredPropertyHelperSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibc33a99c5e2ad26c1232eadde505071b58d1fb6b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-04added test cases to CachedElementTest.javaSandeep J1-0/+20
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idfb3ce36d41fdec4a5286da63b8a9592c1c83a96 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-01Add missing INFO.yaml blocksJessica Wagantall1-24/+36
Add missing information so that the new verify job passes. Fix indentation. Change-Id: I93af9ea59d8c2466e80f9146a4371f5c8b509e2c Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-01Test coverage for HttpClientTestJoss Armstrong1-0/+100
Added test coverage for untested class Increased coverage from 0% to 89% Issue-ID: APPC-1520 Change-Id: I113d515df3b6f6ef12565cf390f0bd2f2e8ac2f0 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-01Test coverage in RestClientInvokerJoss Armstrong1-0/+120
Added test for untested class Increased test coverage from 0% to 94% Issue-ID: APPC-1520 Change-Id: I51610584cd203f5de7286c325332cade6f3c2bd6 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-01Handled exceptionJegadeesh Babu1-0/+3
Sonar fix Issue-ID: APPC-1518 Change-Id: Ia052693a420bbd7b06048336d518a49e598b4265 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-01Handled interrupted exception sonar fixJegadeesh Babu1-5/+10
Sonar fix Issue-ID: APPC-1517 Change-Id: I0a9fb64812c84963b08a53b09358f598d96eb014 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-01Test coverage in ConfigComponentAdaptorJoss Armstrong2-884/+909
Increased coverage from 79% to 89% Fixed indentation Issue-ID: APPC-1497 Change-Id: I9cee309b916eff93887a8d2b7691f9a7c6ba204b Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-01Added loggerJegadeesh Babu1-6/+10
Sonar fix Issue-ID: APPC-1513 Change-Id: Ie6a28085288457b8bf8fea5c6d21313e61532f7c Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-28Changes for design serviceSonali Das5-18/+123
Issue-ID: APPC-1342 Change-Id: Iff66ff977b7ca6bbe0e83fa467b72d253d9200b8 Signed-off-by: Sonali Das <sd394g@att.com>
2019-02-28Added Junit Class For LicenseModelBuilder.javaSudarshan Kumar1-0/+63
Added Junit Class For LicenseModelBuilder.java Issue-ID: APPC-1372 Change-Id: I9acb703ccec2775c5c64e0be3a14ea93eb85b868 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-28Test coverage in AppcProviderLcmJoss Armstrong2-30/+345
Increased coverage from 74% to 100% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I8d487b295af7930dfcf917970f9806ac37023853 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-28added GetTemplateConfig_Saltstack DGGanesh Chandrasekaran1-0/+638
Issue-ID: APPC-1101 Change-Id: I185caa7cbd23cf5ce7973d74f9b9cde896267433 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2019-02-28added new saltstack-adapter-1.0 DGGanesh Chandrasekaran1-0/+275
Issue-ID: APPC-1101 Change-Id: Id5df4a856f73dddcecf7f4751ed07bdfceadf85a Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2019-02-28Test coverage in RestAdapterImplJoss Armstrong1-95/+77
Increased coverage from 69% to 98% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1512 Change-Id: Idb989cf6266b4e7c7dda1e9bca72483038649eda Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-28Test coverage in TopologyServiceJoss Armstrong2-7/+118
Increased coverage from 80% to 97% Fix Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I2f5af194b44e5871fc00c9cc12123fa6d6c1fd5d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-28CachedElement.java - Sonar FixesDriptaroop Das1-7/+6
CachedElement.java - Sonar Fixes Issue-ID: APPC-1508 Change-Id: I24bdb1ab1e3c00975eba4ea92dcf34b8e26849dc Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-28Added test case for Rebuild ServerLathishbabu Ganesan1-0/+26
Issue-ID: APPC-1502 Change-Id: Idff986e1727e13c5a402184b416365328418c7ab Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-28Test coverage in MockQueryHelperJoss Armstrong3-1/+134
Increased coverage from 17% to 91% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I822053c74db8f16875448206a22048032d30ad45 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-28Added null check to avoid null pointer exceptionJegadeesh Babu1-7/+11
Sonar fix Issue-ID: APPC-1505 Change-Id: Iefd8a45aacb6e8de50c16c36fe9ab551401ca417 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-27Test coverage in ConfigResourceNodeJoss Armstrong4-70/+508
Add >100 lines of coverage and increase from 71% to 99% Increase branch coverage to fix Sonar major issue Extract repeated strings to constants Issue-ID: APPC-1504 Change-Id: Ib3b1e83d39f02befaede035b84a0ebef96b36cfd Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-27Test coverage in FlowControlNodeJoss Armstrong2-93/+130
Increase line coverage from 72% to 92% Fix for Sonar major issue for branch coverage Issue-ID: APPC-1499 Change-Id: Ie73b6c97fcf50421ca6a73a8273c09ace0faf67f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-27Fix failing powermock testsPatrick Brady16-3/+2623
The version of javassist coming from opendaylight is not working correctly with powermock. Adding a test scoped dependency for a working version of javassist. Test classes added in this commit are not new, they were temporarily removed as part of https://gerrit.onap.org/r/#/c/79046/ Change-Id: I193873c0d4abd7b11592a95bff9a6b07cf2d7191 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1277
2019-02-27Handled interrupted exceptionJegadeesh Babu1-0/+3
Sonar fix Issue-ID: APPC-1490 Change-Id: I261e2d4739bf5a1d3f11dc1774b04da98a366c16 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-27Test coverage in DBServiceJoss Armstrong2-5/+260
Increase coverage from 71% to 98% Fix for Sonar major issue on branch coverage Issue-ID: APPC-1499 Change-Id: I74261af92b3263a03d29d476ad097182e6112ad9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-27Test coverage for ObjectFactoryJoss Armstrong1-0/+46
Increase coverage from 0% to 100% Issue-ID: APPC-1499 Change-Id: Ia6209174b99acdeb03698eea9fe96d51a2cccd13 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>