aboutsummaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-bundle/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19added test cases to TestAppcProvider.javaSandeep J1-2/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iff273f586c3d6ac9fa3809ef605013f11d3d2178 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-13Adding DistributeTrafficCheck LCM APIosinstom2-0/+179
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2019-02-28Test coverage in AppcProviderLcmJoss Armstrong1-29/+343
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-28Test coverage in TopologyServiceJoss Armstrong1-1/+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-28Test coverage in MockQueryHelperJoss Armstrong2-0/+131
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-26Added test case for Appc ProviderLathishbabu Ganesan1-0/+124
Increased the coverage from 0% to 96% Issue-ID: APPC-1454 Change-Id: I5bfb97101dd7ef5e9c138694b783be8cdd511f0e Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
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-01-14Fix unit tests in provider-lcm-serviceJoss Armstrong7-912/+92
Increased line coverage from 69% to 87% Removed PrepareForTest annotations for classes under test Issue-ID: APPC-1326 Change-Id: I75be7235f4c13b0f395843907958d7391a333a32 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-09Test coverage for appc-provider-topologyJoss Armstrong1-16/+11
Increased line coverage from 0% to 86% Issue-ID: APPC-1317 Change-Id: I2297634d50a389c8c250981656e00a9bb2741ea3 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-05Unit tests for APPC-1268Joss Armstrong1-0/+426
Added unit tests for AppcProviderLcm class and increase line coverage from 0% to 80% Issue-ID: APPC-1268 Change-Id: Ic0657a5c1b90daff9507d6f7b4e9ea2fbc7c67b5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-10-17Make validation of DistributeTraffic less strict.Tomek Osinski1-13/+0
In order to pass configuration-parameters we need to make validation less strict. Issue-ID: APPC-1173 Change-Id: I62e3f0acce8d4b577705dd5fe3b7e6ea7740cae1 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2018-09-17Adding DistributeTraffic LCM APITomek Osinski1-0/+189
This commit contains code modifications for APPC to support DistributeTraffic LCM API. Tests has been implemented for new service. Change-Id: I853120eced93928268074cf89dd62fb89fea9ff8 Issue-ID: APPC-1169 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2018-09-10Fix for provider rpc errorPatrick Brady5-1747/+5
Change over to using blueprint for rpc registration Tests cases will need to be modified and uncommented Change-Id: I6535c2d9d141406ac29dc8bb2b769fea3bdbf53f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-06-25new action Reboot to the LCM APIvidhyasree2-99/+152
Issue-ID: APPC-920 Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-20APPC-1009J Armstrong1-28/+34
Regex in appc-provider-model yang causes intermittent unit test failures Change-Id: I5aefd746498737c10de4bd40a30d6aad2c629293 Signed-off-by: J Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-1009
2018-06-11Update license header in misc appc filesJohn McClung4-6/+2
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-08Update license header in appc-provider filesJohn McClung13-24/+11
Modify license header in appc-provider java files to reflect 2018 changes. Change-Id: I753488510fef3a095ddbda2cacc600bbddc9a815 Issue-ID: APPC-989 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01ConfigScaleOut-Payload parameter to manadatoryvidhyasree1-3/+10
Issue-ID: APPC-929 Change-Id: Ifd0b8f303dd77acbf37774f749b9063dc67e7620 Signed-off-by: vidhyasree <sn141y@att.com>
2018-03-06Adding ConfigScaleOut To APP-C Client Libraryvidhyasree1-6/+3
Updating the client library for new action configscaleout based on the updated LCM API Yang model Issue-ID: APPC-478 Change-Id: Ic32f433658be5442e1a5d238a317de85e54fb425 Signed-off-by: vidhyasree <sn141y@att.com>
2018-03-01 Testcases for Configscaleout actionvidhyasree2-0/+187
Junit testcases for ONAP scaleout feature Issue-ID: APPC-544 Change-Id: I43e211f00e7568cb98e564b1cbf60f96b27c5dfa Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-23Migrate powermock to mockito for providerlcmTaka Cho1-252/+354
Change-Id: I66f70a1dcb4ea1d4f6f8ca6149c1291a76f84e32 Issue-ID: APPC-649 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree1-36/+1
A new action ConfigScaleOut is added to LCM API and Yang model. Removed old action item configscaleout supporting VM action level which is no longer needed. Issue-ID: APPC-479 Change-Id: Ie5452f4d5625fc3be6b66c0f403d12baa64fa096 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-21migrate powermock to mockito appc providerTakamune Cho2-14/+87
Change-Id: I15bd86d2d96ecf4070f1b6eafaf8b9ba9612b9cf Issue-ID: APPC-647 Signed-off-by: Taka Cho <tc012c@att.com>
2018-01-17Fix for resumetraffic to allow trafficvidhyasree1-5/+29
ResumeTraffic action is added to LCM actions prior. In this ticket payload structure is added to resumetraffic in yang file. In ResumeTrafficService.java and ResumeTrafficServiceTest.java added payload parameters. Issue-ID: APPC-346 Signed-off-by: vidhyasree <sn141y@att.com> Change-Id: I9a3ca163bbd520e599416d03edc921a6cafb3059
2018-01-08Include impacted changes for APPC-346,APPC-348Anand12-5/+2856
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2017-12-13Third part of onap renamePatrick Brady5-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady5-97/+97
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-09-27Add Junit test for appc-provider bundleHao Kuang6-87/+1637
1. add junite test for appc-provider bundle to increase sonar test converage. 2. move test files of appc-dg-util under java folder. Issue-Id: APPC-229 Change-Id: I37620a820eb99aecb7fe91974826b4ef2e5d428a Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-07-20Applying license changes to all filesPatrick Brady1-3/+5
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady1-3/+4
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-15Moving all files to root directoryPatrick Brady1-0/+84
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>