aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02fix the bug for ScaleoutTaka Cho1-1/+1
remove the . from line 1631 Change-Id: Ibf7c4f66e522da4691f350f9be6601696cabc8a3 Issue-ID: APPC-1227 Signed-off-by: Taka Cho <takamune.cho@att.com>
2018-11-02Added fix for APPC-1227Amaresh Kumar1-343/+338
Issue-ID: APPC-1227 Change-Id: Id1360bf285b1f772322cc2fee34e1798eaf0e7d3 Signed-off-by: Amaresh Kumar <ak583p@us.att.com>
2018-09-18reference-dataform.util.spec- added test case1.4.0Arundathi Patil1-0/+10
wrote test case to test and cover decideExtension() function. Issue-ID: APPC-1064 Change-Id: I7b31cc1a26cab9d7c9a43d1b3add5b0a5fed6b03 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-17Added DistributeTraffic LCM command supportLukasz Rajewski7-15/+22
Proposed change adds support for new LCM API dedicated for traffic distribution accross different VNFs. Change-Id: Ib73a9dea6810163f504f5126b35640971eb7f87a Issue-ID: APPC-1170 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2018-09-16reference-dataform.component- added test caseArundathi Patil1-0/+22
wrote test case to test and cover validateDataAndSaveToAppc() function Issue-ID: APPC-1064 Change-Id: I35651401b8065284b7616e8519095d259c170f93 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-16reference-dataform.util- added test caseArundathi Patil1-0/+8
Wrote test case to test and cover nullCheckForVnfcType() and nullCheckForVnfcTypeList() functions. Issue-ID: APPC-1064 Change-Id: I3a306b32ada7754010703fe382402fa0699c5f56 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-16aboutus.component: Added test caseArundathi Patil1-0/+14
Wrote test case to test tlPlus and tlMinus functions to call setTraceVl function of utility service based on the trace value stored in local storage. Issue-ID: APPC-1064 Change-Id: Ie93e48bb6ee6df35bbd175e15fda56060ac3c539 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-13Fix for Defect: CDT reference data does not send .od74272-9/+27
CDT sent reference data payload, which was not initialized, when the data were manually entered. The missing initialization is added with this fix. Change-Id: I89fde82b6ef32ad65390f2dc15de39aaece8fe8e Issue-ID: APPC-1205 Signed-off-by: od7427 <od7427@att.com>
2018-09-12APPC CDT to Support Multiple Templates -addit.fixod74271-15/+39
Additional minor changes (minor error fix) added to the previously submitted implementation of the original APPC-1010 requirement: APPC CDT Should Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates. Change-Id: Ie7e38be60f1de4e4649eb0b9ccf7310ceffa4307 Issue-ID: APPC-1010 Signed-off-by: od7427 <od7427@att.com>
2018-09-11reference-dataform.util- added test caseArundathi Patil1-0/+8
Wrote test case to test and cover checkResult function when status code is 400 Issue-ID: APPC-1064 Change-Id: Ic951f3b83bd3ab68f4a6a14df2ad7aea88f5ad09 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-11reference-dataform.component: added test caseArundathi Patil1-0/+20
Wrote test case to test and cover displayHandleVnfc function when vnfc variable in mapping-editor.sevice is true. Issue-ID: APPC-1064 Change-Id: Ia90c1c9a50540d32776f251f49444d0ac165f789 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-10reference-dataform.component- added test caseArundathi Patil1-0/+27
Wrote test case to test and cover displayHandleVnfc() function Issue-ID: APPC-1064 Change-Id: I0bc81df5c458d44cc044cad60967c0a051f82af0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-08added test case to reference-dataform.util serviceArundathi Patil1-1/+9
wrote test case to test and cover checkresult function Issue-ID: APPC-1064 Change-Id: I6ba4d926ba525be3a842f73f6b6d0e727e9bfa1a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-07reference-dataform- added test caseArundathi Patil1-0/+30
wrote test case to test and cover validateVnfcName function Issue-ID: APPC-1064 Change-Id: I453f8d3d971db1af82c1db80dd0e901fc4c0810b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-06reference-dataform.component - fixed test casesArundathi Patil1-13/+32
Fixed rest of the failing test cases Issue-ID: APPC-1064 Change-Id: Idab0b2550959eb51d7f144a493338255fbbbc8dc Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-06reference-dataform.util - added spec fileArundathi Patil1-0/+50
wrote test case for reference-dataform.util service Issue-ID: APPC-1064 Change-Id: I9a2fe38107f7305979ed1997087eab20efadb53e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-06build-artifacts.component: added test caseArundathi Patil1-0/+23
wrote test case to test and cover newly added lines of code in build-artifacts component. Issue-ID: APPC-1064 Change-Id: I0cf6a4973b13dd493b48a96a34ca708bcb4a6ceb Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-05reference-dataform- fixed few test casesArundathi Patil1-4/+4
Fixed few failing test cases. Issue-ID: APPC-1064 Change-Id: I2398983d732173b82abfeb5335c6ecf0f357531a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-04reference-dataform.component.spec- fixed test caseArundathi Patil1-4/+14
Fixed few of the errors which caused test case failures Issue-ID: APPC-1064 Change-Id: I22ff94900b608b3132848c76a418701df40d3d2c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-04aboutus.component.ts- added test casArundathi Patil1-0/+12
wrote test cases to test and cover the new methods tlplus() and tlMinus(). Issue-ID: APPC-1064 Change-Id: I8ceb987b622cad3a805a05a00496ac6dd307d53d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-04vm-filtering.pipe- test caseArundathi Patil1-1/+1
Corrected the test case to test the proper condition Issue-ID: APPC-1064 Change-Id: Icdf24bba4f329399d99b82c60abc5445754f419c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-04order-by.pipe- added test caseArundathi Patil1-0/+10
added test case to test and cover order orderByComparator() when orderby parameter is number. Issue-ID: APPC-1064 Change-Id: Ia3c1c17d4b95f58559c2467769b9071ed08a32ee Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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-09-03reference-dataform.component: fixed test caseArundathi Patil1-1/+2
Fixed test case that failed with error "cannot read property length of undefined" Issue-ID: APPC-1064 Change-Id: Ie007d431b5d9ece826fc60e1a318f9092cb02e12 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-31myvnfs.component.spec- added test casesArundathi Patil1-0/+18
Added test cases to cover the new changes in method buildNewDesign() function Issue-ID: APPC-1064 Change-Id: Icd4e48509b64c40a77f893fa5ca9490605878b2a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-31build-artifacts.component.spec- added test casesArundathi Patil1-1/+5
added test case to cover setAllowotherUpdates function and to test a condition in checkRefDataReqFields() function Issue-ID: APPC-1064 Change-Id: I01bbd061894b98e6afe07b4fc8f87dab65d2378d 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-30aboutus.component.spec-Fix error due to codeChangeArundathi Patil1-1/+3
All the test cases in about.component.spec file failed with below error. Fixed this. Error:'No provider for utility service' Issue-ID: APPC-1064 Change-Id: I9d9e4937d91731eaf1245f861b5e9663c2453415 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-30mynfs.component- added test casesArundathi Patil1-0/+30
added test case to test and cover the new method 'validateVnfName()' in myvnfs.component. Issue-ID: APPC-1064 Change-Id: I5e45480efd7c18ced7d56b01e3dbb7aff4f3d9e8 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-30reference-dataform.component.spec- Fixed errorsArundathi Patil1-24/+24
Fixed ng test errors that were caused due to code changes in reference-dataform component Issue-ID: APPC-1064 Change-Id: Idd2a4ded0efa6d5955911cdab3e85cd819de481b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-28APPC CDT to Support Multiple Templates for VNFCsod742715-212/+1040
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-24parameter-definition service- removed unused codeArundathi Patil1-2/+0
The HttpUtilService was injected into parameter-definition service, but was never used. Hence removing it. Issue-ID: APPC-1149 Change-Id: Iec30f6ab4a36920b46f9458b01be8cc58f964cc0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-23aboutus.component.spec - fixed test caseArundathi Patil1-1/+1
Test case in aboutus.component spec file failed iwth below error. Fixed this. "Failed: Expected Response with status: null null for url:null to be 'some data'" Issue-ID: APPC-1064 Change-Id: If1b0dbbc68c69cbb62799b31ccb93b7ab06ee9ac Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-19aboutus component - removed unused codeArundathi Patil1-13/+1
The NgbModal from ng-bootstrap library was injected in aboutus component, but never used. Hence removing he code that injects the NgbModal into component. The getDismissReason() function in aboutus component is also not used. hence removing that method. Issue-ID: APPC-1149 Change-Id: I41f20cc1d55acac61dd1e8865f4c2d8cb5f0bee9 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-19login-guard-service - removed unused codeArundathi Patil1-3/+2
The mapping-editor service is injected into login-guard-service, but is never used. Hence removed it. Issue-ID: APPC-1149 Change-Id: Ic11bcb8246199cc308fca0914e7e4e0d690716fb Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-19test.component - removed unused codeArundathi Patil1-3/+1
The NotificationService was injected into test component , but was never used. Hence removing it. Issue-ID: APPC-1149 Change-Id: I602eacec516877663e6c22881460573bc4259107 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-19navigation.component.html:removed unused codeArundathi Patil1-18/+2
In navigation.component.html file, modal-pop-up was implemented which is never used anywhere in the component. Hence removing it. Issue-ID: APPC-1054 Change-Id: Ib9087f7c07a4dd494a350f3a24390150512afbdc Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-14modal component : added spec fileArundathi Patil1-0/+49
wrote test cases to cover modal component. Issue-ID: APPC-1064 Change-Id: I0ad365ef28e4ae411cdf5d02588767cf79bdc4c5 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-14parameter-definition.service:removed hardcoded valArundathi Patil1-4/+5
Moved the hardcoded values from parameter-definition service to app-contants as variables. Issue-ID: APPC-1054 Change-Id: Ib61aea5eec6d9c87405179711a347a18e58b2c4a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-14auth-guard-modal : removed unused codeArundathi Patil1-2/+3
The NgbActiveModal of ng-bootstarp is injected into auth-guard-modal, but is never used. hence removing it. Issue-ID: APPC-1149 Change-Id: Ie1ba8b11ffb334105bbc6a5a2575fe1507d276e5 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-13template-configuartion spec- fixed test casesArundathi Patil1-0/+10
5 of the test cases in template-configuration spec file failed as these tets cases were trying to access the component instance which was only declared but not defined. Fixed this issue. Issue-ID: APPC-1064 Change-Id: Iadbc3b7b66ed30089400e35cf5632a72f5a34991 Signed-off-by: Arundathi Patil <arundpil@in.ibm.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-09parameter-definition.service : added test caseArundathi Patil1-33/+56
wrote test case to cover processResponseKeys function Issue-ID: APPC-1064 Change-Id: Id8ba082a07ef046485aafae6b9be1f6f80db4ef9 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-09build-artifacts - added test caseArundathi Patil1-0/+9
wrote test case to test checkRefDataReqFields() funtion when action, device-protocol and scope values are set to blank. Issue-ID: APPC-1064 Change-Id: I405aca5092e631183e690bcd60b10439f1396568 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-09Template-configration-unsubscribed from observableArundathi Patil1-3/+8
Unsubscribed from subscription in template-configuration component. This will release any resources that the subscription holds when the component is destroyed. Issue-ID: APPC-1049 Change-Id: Icbf3575e034a693f7357782826690d079945faa7 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-08order-by.pipe : added test caseArundathi Patil1-1/+13
wrote test case to test order-by-pipe to return proper value when orderby parameter is not set. Issue-ID: APPC-1064 Change-Id: I4496e9a3371b540ce0da63ef254a4d9bc4214710 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>