summaryrefslogtreecommitdiffstats
path: root/src/app/shared/services
AgeCommit message (Collapse)AuthorFilesLines
2018-09-04utility.service.spec.ts : added test caseArundathi Patil1-0/+24
added test case to cover the condition when artifact-type is reference-data in createPayLoadForSave() function. Issue-ID: APPC-1064 Change-Id: I48b799c527cb93a1e186e6f649dc298ad1d0a90c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-04mapping-editor.service- added test caseArundathi Patil1-0/+5
Wrote test case to test selectedObj() function Issue-ID: APPC-1064 Change-Id: I9be14de56c537f3ba16c8535eb278ccb5fb179cc Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-31utility.service- added test caseArundathi Patil1-0/+7
Added test case to test and cover processApiError() function. Issue-ID: APPC-1064 Change-Id: I2a6e4a131853bb36d54e40bfe38766b5e62d59b6 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-30mapping-editor service- added test caseArundathi Patil1-1/+6
added test case to test and cover the new methods 'setTemplateDataForStore' and 'getTemplateDataFromStore' in mapping-editor.service Issue-ID: APPC-1064 Change-Id: I473672f9976fa29d7412608c88bda6566b525f36 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-30utility.service- added test casesArundathi Patil1-1/+13
added test cases to test an cover new metho 'setTraceVl()' function in utility.service Issue-ID: APPC-1064 Change-Id: Ifd9c87e48b36e8d11614de68a0f022b01b4d3537 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-28APPC CDT to Support Multiple Templates for VNFCsod74272-1/+23
APPC CDT Should Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates. CDT would be used to create a single reference artifact for a VNF. For the Configure related actions (Configure and ConfigModify) vnfc-type to be shown at the top. The user would have a new link below it, to be able to add each vnfc-type. For each vnfc-type, the user would create the associated template and PD file as usual. The fix required to modify several visual elements and variables related to VNFC Types on MyVNFS page, ReferenceData page, Template page and Parameters page. Also a number of supporting services were modified. New Modal window type is now used for VNFC-related dialogs. Change-Id: Ibbbb50e2ff6f96783c0aea89a6870d7c28021ba0 Issue-ID: APPC-1010 Signed-off-by: od7427 <od7427@att.com>
2018-08-13Mapping-editor service- added test caseArundathi Patil1-0/+6
Wrote test case to cover handleKetCompletion function in mapping-editor service. Issue-ID: APPC-1064 Change-Id: Iefb8e1d5dca1fedbcb6e50d9733ead46d6b5ee0e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-10mapping-editor-service : added test caseArundathi Patil1-0/+5
wrote test case to test getKeysForValues() function Issue-ID: APPC-1064 Change-Id: I7055986e9722a9b3889601ce94c3da7dcc16b96e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-07Utility service : added test caseArundathi Patil1-0/+10
Wrote test cases to cover checkNotNull function in utility service. Issue-ID: APPC-1064 Change-Id: Icb9dc8872634e8772349e1bbbb7f15f39d292aec Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-06utility service : added test caseArundathi Patil1-2/+10
wrote test case to cover processApiSubscribe function on artifact upload Issue-ID: APPC-1064 Change-Id: I9e01f6c9e9a099a5fff44924ed4158efeb56d467 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-02Test cases - UtilityServiceArundathi Patil1-0/+10
Wrote test cases in uitilityService to cover processApiSubscribe function Issue-ID: APPC-1064 Change-Id: Id6852114581a761550f49fa59e749140d377f0fc Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-30UtilityService: Removed hard coded valuesArundathi Patil1-22/+23
Moved the hard coded values from utility service file to app-contants file as variables. Issue-ID: APPC-1054 Change-Id: Iac62da47deeeb66402f413e90ee0ab50130ca185 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-25wrote test case for mapping-editor serviceArundathi Patil1-1/+196
Wrote unit test cases for mapping-editor service. The covarage for this file is now 75.96% Issue-ID: APPC-1064 Change-Id: I4c413a076dd6194da9a19481c0fdc42f0ffe5789 Signed-off-by: Arundathi Patil<arundpil@in.ibm.com>
2018-07-19Removed fdescribeArundathi Patil1-1/+1
Removed fdescribe which was accidentally checked-in. Issue-ID: APPC-1064 Change-Id: I08265f3de9cea66836ed7e194e4bd4f9d1159e7f Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-18added util methods to utility serviceSandeep J1-5/+132
added methods in utility service for creating common payload method for save andretrieve and downloading artifact Issue-ID: APPC-1063 Change-Id: I05d8e0df05bf74fe30358b0a44506baf03442a99 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-18Fixed errorArundathi Patil1-7/+5
Unable to run the test cases due to the below error in paramShare service spec file, "Argument of type '{ displayName: string; displayValue: string;}[]' is not assignable to parameter of type 'Expected<{[index: string]: string } >' " Fixed this error. Issue-ID: APPC-1064 Change-Id: I9b9e99e9a5ed4a14469eb595625d1b3fd91e6672 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-17Removed fdescribeArundathi Patil1-1/+1
Removed fdescribe in mapping-editor service file which was accidentally checked-in in the previous checkin Issue-ID: APPC-1064 Change-Id: I1151dda4881ba31198b176e14f9322d18126ab93 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Added spec file paramShare service.IBM602-PC0F1E3C\Arundathi1-0/+81
Wrote unit test case for paramShare service. The file is now covered 100%. Issue-ID: APPC-1064 Change-Id: Ie3f8768577435eba4b2922d239567871f8a5ccaf Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Added spec file for notification service.IBM602-PC0F1E3C\Arundathi1-0/+63
wrote unit test case for notification service. Issue-ID: APPC-1064 Change-Id: Ib5459ae4795b8d2b225d8953a7d707ce516b8ee3 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Added spec file mapping-editor service.IBM602-PC0F1E3C\Arundathi1-0/+111
Wrote unit test case for mapping-editor service. Issue-ID: APPC-1064 Change-Id: I99f439a8b8d841d81bf01d85cf9744e64d78fc35 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-05-08added code to allow headers in requestsj108s1-1/+1
changed http util service to allow headers in the api request Issue-ID: APPC-885 Change-Id: Ia85148eefdc217011155099b33ac39cc638dd734 Signed-off-by: sj108s <sj108s@us.att.com>
2018-04-27Fixed parsing of retrieved openstack ref datasj108s1-2/+1
Fixed parsing of retrieved data in case of openstack action and also fixed browser hang while syncing large template Issue-ID: APPC-867 Change-Id: I3058626cb5a21c01a9b261d470672db5d0f17926 Signed-off-by: sj108s <sj108s@us.att.com>
2018-04-03Corrected artifact name for multiple template idssj108s1-7/+4
Made changes in param name value component ts for setting correct artifact name while saving and retrieving artifacts, in case of multiple template ids. Issue-ID: APPC-812 Change-Id: I973f7b763f4c2204425fceb77cdae33944ba3c8d Signed-off-by: sj108s <sj108s@us.att.com>
2018-03-13Fixed defects in test screen & updated test casessj108s3-106/+20
Fixed few defects raised by ST in test screen and also updated test cases to improve coverage. Also,changed code to match onap standards, and rectfied grep code violations. Issue-ID: APPC-730 Change-Id: I0286c38eb4f76dc8c0253a4ccab721b3ccfeff9d Signed-off-by: sj108s <sj108s@us.att.com>
2018-03-08Added some test cases on httputil service.Mohamed Asgar Samiulla(ma926a)1-1/+9
Created a new test for dropdown.ts Issue-ID: APPC-717 Change-Id: Ic4e63520bbf16a7bd0d8ca0e0896d15ce3412d5d Signed-off-by: Mohamed Asgar Samiulla(ma926a) <ma926a@us.att.com>
2018-03-01Initial seed code contribution for CDTSkip Wonnell9-0/+1131
Issue-ID: APPC-682 Change-Id: I0331ffce2a430195c29d0d1b2295966f9eb28699 Signed-off-by: Skip Wonnell <skip@att.com>