aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/vnf-sdk-marketplace/src/test
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28improve juint coveragesharath reddy1-0/+93
Issue-ID: VNFSDK-840 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I6bc525f10af21b0b025d99d8c77ce542f1e658ad Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2022-06-01Changed code to not construct the path from user-controlled data.sharath reddy1-1/+3
Issue-ID: VNFSDK-834 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: If9eb5ee546436ed9c4495bac8706883ee1ca98ce Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2021-07-30make default 'execution mode' as nullistanbulsharath reddy2-69/+6
Issue-ID: VNFSDK-792 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I5e689cb6acc434c6a7ce4752014d169dd7642422 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2021-07-22Add dist modesharath reddy5-39/+527
Issue-ID: VNFSDK-792 Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: Ic49782ee2a3d4f23a86e6cf9592bed490b670df2 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
2020-10-08Fix get executions JSON parsing error.Bartosz Gardziejewski3-15/+41
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee1c070cc0c97eebfad5cdb5e737d8136631cbf Issue-ID: VNFSDK-697
2020-09-10Merge "Add list of errors in responce for GET request."Kanagaraj Manickam4-28/+343
2020-09-09Add list of errors in responce for GET request.Bartosz Gardziejewski4-28/+343
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Issue-ID: VNFSDK-594 Change-Id: I61fd4b5e514ca4185174027ff08d8908a968e404
2020-09-08Add UT for VNFSDK-613Cooper.Wu1-0/+36
Issue-ID: VNFSDK-613 Change-Id: Ie78001256efa304621043f485d7d31aa442297de Signed-off-by: Cooper.Wu <wutuo@chinamobile.com>
2020-09-01Merge "Code Improvements-Vnfsdk-refrepo sonar issue fixes"Kanagaraj Manickam12-14/+27
2020-08-26VTP API Enhancements: Support Profilejitendra0071-0/+119
Issue-ID: VNFSDK-533 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: I769c60e65d82d798a7b87f724624519d258240c5
2020-08-18Code Improvements-Vnfsdk-refrepo sonar issue fixesSravanKumarGunda12-14/+27
Signed-off-by: SravanKumarGunda <sravan.kumar1@huawei.com> Issue-ID: VNFSDK-608 Change-Id: Ifba4c2f804786b40305c562460071ef430164de2
2020-08-18Migrate from java 8 to 11jitendra0071-3/+5
Issue-ID: VNFSDK-632 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: Ida39e4d4be466ad1b4b64860f536a811500eb994
2020-08-06"java.nio.Files#delete" should be preferredjitendra0071-0/+10
Issue-ID: VNFSDK-608 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: I9379950525bf9fc2a950614827e33059993af8a2
2020-07-31Fix sonar issues for vnfsdkjitendra00711-104/+110
Issue-ID: VNFSDK-608 Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com> Change-Id: I7a64c18fb9889f06dcd52a1baaf91c7b312657bb
2020-03-17Migrate to gsonpriyanka.akhade7-64/+342
Issue-ID: VNFSDK-554 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I51fa08e8339d519ff1132dd6422ba4108fdbfcd7
2019-10-14Revert test codesVictor Gao2-2/+2
Issue-ID: VNFSDK-494 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I708362444a0af2b4d5e37ef52c8cd3df8f11a3c8
2019-10-14modify Sonar IssueHailong Zhang3-8/+29
Issue-ID: VNFSDK-462 Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com> Change-Id: Icd334b2305258a15a425e50e8028922f4184077e
2019-10-14modify Sonar IssueHailong Zhang1-0/+14
Issue-ID: VNFSDK-462 Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com> Change-Id: I39216599b2a1f06297b89e86a84c84761a9437b4
2019-10-14modify Sonar IssueHailong Zhang3-3/+2
Issue-ID: VNFSDK-462 Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com> Change-Id: I4aa45fbad04b961a1287ed1a4b7bee6cdefd9101
2019-09-02modify Sonar IssueHailong Zhang1-4/+4
Issue-ID: VNFSDK-462 Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com> Change-Id: I2faee5b4713506b16315d606ff7119cf47071d31
2019-08-31modify Sonar IssueHailong Zhang2-7/+7
Issue-ID: VNFSDK-462 Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com> Change-Id: Icfa60df4c1f658fe28ccf5dee01ec7d6449c2b5e
2019-08-20add Junit tests for VTPScenarioResourceTestjitendra sharma1-24/+66
Issue-ID: VNFSDK-424 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ifa2a5e9ff4cbffeed618c8b3a52d2dda5a98ceba
2019-08-13add UT(testRestGetClient) in PackageResourceTest classjitendra sharma2-2/+22
remove unnecessary UT from FunctionTestExceutorTest. Issue-ID: VNFSDK-424 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ia6e572bbd2714aa77fbf767b313a90124ac3d75f
2019-04-29Resubmit fixes for spelling error on top of latest codeJames Guistwite1-2/+2
Issue-ID: VNFSDK-392 Change-Id: Ibf0d08abab3e2beb543ec8a0c80c2c8915962894 Signed-off-by: James Guistwite <jguistwite@iconectiv.com>
2019-03-14Add VVP deployment in VTP scriptsKanagaraj Manickam k0036510611-469/+0
Issue-ID: VNFSDK-352 Change-Id: I606263a1df9739e1dff809523006bf82c384657c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-14Refrepo sonar fixesKanagaraj Manickam k003651065-18/+348
Issue-ID: VNFSDK-352 Change-Id: I5f4b76a76b0fbb4b9e5139b06104b2077be34822 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-12Improve the VTP testsKanagaraj Manickam5-0/+312
Issue-ID: VNFSDK-352 Change-Id: Ie03c196bbaa34068de6377d37fea4965a5d3cc01 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-07CVC: Update VTP with scenario, executionKanagaraj Manickam k0036510613-239/+473
Issue-ID: VNFSDK-352 Change-Id: I3cb2f5d3bcfda16a6bb01121878533f527e226fe Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2019-03-05Improve the coverageKanagaraj Manickam k0036510614-0/+615
Issue-ID: VNFSDK-352 Change-Id: If60d370a097e77bff3248fd56a60e2f6fd7fdf40 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-25Fix the health checkKanagaraj Manickam k003651061-0/+36
Issue-ID: VNFSDK-305 Change-Id: Id482e8a26e9b65523a4abbba2b2ae9907f0455de Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-25Sonar: Improve coverage of package resourceKanagaraj Manickam k003651061-0/+125
Issue-ID: VNFSDK-304 Change-Id: I9c49b163f929031f4fbaefb273d5a3e61b048343 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-24update sample casr with csar.metaKanagaraj Manickam k003651062-24/+0
Issue-ID: VNFSDK-304 Change-Id: Ic2edca798975f4ab0ad4f8d17f76ce335d1ca818 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-24VTP: Validate Throw exception while VTP-TC failedKanagaraj Manickam k003651061-0/+58
Issue-ID: VNFSDK-304 Change-Id: I8c9a67687ddaa62149035b3b55fba1f846b923c1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-24VTP: Set to 500 on VTP-TC failure during uploadKanagaraj Manickam k003651061-0/+149
Issue-ID: VNFSDK-305 Change-Id: I443fdb7ce61584d7a561c000b24ca9c3faad29ec Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-24VTP: Improve the UT for run and list of testsKanagaraj Manickam k003651061-0/+66
Issue-ID: VNFSDK-305 Change-Id: Ia8848ea372413349776a3a28615516bea4618742 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-21VTP: Make VTP separate REST controllerKanagaraj Manickam k003651062-74/+112
Issue-ID: VNFSDK-304 Change-Id: I7fbe7d4dbb7a97b594fd893734408ecca0c1765c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-20VTP: Improve the UTKanagaraj Manickam k003651061-0/+74
Issue-ID: VNFSDK-305 Change-Id: Iff281647c1a974b8911bae8bcf84764599b631b2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-09-08VTP: Migrate csar validation to VTPKanagaraj Manickam k003651061-7/+23
Issue-ID: VNFSDK-305 Change-Id: I671195eec1e015de0e7457617b17dc0328a27a9a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-03-23Package name should be uniqueMurali-P1-1/+8
Error if someone upload with same name Issue-ID: VNFSDK-142 Change-Id: I4b2cf10e58c62e14bccc5b0dbcf997745d1e9137 Signed-off-by: Murali-P <murali.p@huawei.com>
2018-03-23Csar subset queryMurali-P1-1/+2
Merging issue fixed by Moshe Issue-ID: VNFSDK-126 Change-Id: I441cd14e24867bf3d2a65bd3d1c1f35dbf9a5ffb Signed-off-by: Murali-P <murali.p@huawei.com>
2018-03-09Remove jackson to avoid security issuesMurali-P1-18/+0
Fix security issues raised by LF Issue-ID: VNFSDK-161 Change-Id: I9cd93c56897b63e6153da06d11fc9b39a20f541b Signed-off-by: Murali-P <murali.p@huawei.com>
2018-03-08Remove un-used set functionsMurali-P1-1/+4
Code coverage is less than 50% Issue-ID: VNFSDK-159 Change-Id: I307ad1b0f2b393c92d0752528dfdf2581e9f9189 Signed-off-by: Murali-P <murali.p@huawei.com>
2018-03-08Test coverage for Dao filesMurali-P1-356/+416
Code coverage is less than 50% Issue-ID: VNFSDK-159 Change-Id: I0cba94df26ff9be9c004e85b212f53c28b16aaea Signed-off-by: Murali-P <murali.p@huawei.com>
2018-02-15fix LOCALE issue on formatMickael JEZEQUEL1-1/+3
Change-Id: I65010d8808ba6f63a412d328334d051c30100b56 Issue-ID: VNFSDK-205 Signed-off-by: Mickael JEZEQUEL <mickael.jezequel@orange.com>
2017-10-27Upload schema filesAvinashS1-0/+0
Upload correct CSAR for UT with schema files. Change-Id: I998c5760f9ead463a400eafc0f70632c73482900 IssueId: VNFSDK-118 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-10-12modify filemanage unit testHarry Huang1-28/+20
Change-Id: I642053e6f03e8a45028f685c57e19c5aee6a7d48 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> Issue-Id: VNFSDK-85
2017-10-11Add ut for FileManage constructorHarry Huang1-3/+29
Change-Id: I63a2f0f40854961f8444e1d09cc6860f9e7f3e79 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> Issue-Id: VNFSDK-85
2017-09-27add UT cover for filemanageHarry Huang1-0/+107
Change-Id: Ic67dd665c6641d48040bbbb8dec6b830a4d19f92 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> Issue-Id: VNFSDK-85
2017-09-26Add updated CSARAvinashS1-0/+0
Modified CSAR with added .mf defined Definitions file for service. Change-Id: I03c9e1c06ba7bc175e0ce1d29ae139b94aa449ad IssueId: VNFSDK-90 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-19ToolUtil sonar fixHarry Huang1-104/+96
major: L40 L101 L125 L155 L156 L234 Change-Id: I3c5534d932198327e58b949cff694efd4301556e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> Issue-Id: VNFSDK-85