aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts
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 Rajewski5-15/+19
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-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-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-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-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 VNFCsod74279-170/+892
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-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-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-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-07build-artifacts component : added test caseArundathi Patil1-0/+9
wrote test case to test checkRefDataReqFields() function to notify error message when no valid template identifier is selected. Issue-ID: APPC-1064 Change-Id: I083abfd29aac325938116c5acc604e737a0d09ae Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-07ReferenceDataForm : added test caseArundathi Patil1-0/+7
wrote unit test case to test openModel function of referenceDataForm component. Issue-ID: APPC-1064 Change-Id: I4dcd719876df1bd1ce4a30baa7131f081b9923b2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-06Reference-dataform : Removed hardcoded valuesArundathi Patil1-25/+44
Moved few of the hardcoded values from reference-dataform component to app-constants file as variables Issue-ID: APPC-1054 Change-Id: Ib8afe569b7c669f50bf3eeec88deec27711c49a4 Signed-off-by: Arundathi patil <arundpil@in.ibm.com>
2018-08-03reference-data-form - added test caseArundathi Patil1-0/+12
added test case to cover fileChange() method in reference-data-form spec file. Issue-ID: APPC-1064 Change-Id: Id27e82a648e9bb578035bc90505e15b12a0c8654 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-03parameter.component - fixed test caseArundathi Patil1-2/+2
fixed test case 'should retrive PD from cache' that was failing with the below error as it was expecting wrong value. Error: Expected [ ] to be 'TEST PD INFORMATION' In this test case, ngAfterViewInit() method is called which returns the PD data. This PD data is stored into variable called 'displayParamObjects' and then this variable is returned to the calling function. The value for 'displayParamObjects' is set in getPDFromSession() method which makes a async http call to get the PD data, so even before the results of the async call are returned, ngAfterViewInit() method returns the empty 'displayParamObject' variable. Hence changed the expected value to the actual value returned by ngAfterViewInit() method. We can write a seperate test case to test the async call made by getPDFromSession() method. Issue-ID: APPC-1064 Change-Id: I0b8f38b6e52dc7478a4ab510ca3ff10ff81ae0ca Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-03param-name-value - fixed test caseArundathi Patil1-1/+1
Test case in param-name-value was failing as it was expecting wrong value. Fixed this issue. Issue-ID: APPC-1064 Change-Id: Iaee9cb29b40ee2e2e39632cd91ef81c91d9e8c1c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-02Fixed error in param-name-value spec fileArundathi Patil1-1/+2
Test cases in param-name-value.component.spec file failed with below error, Error: No Provider for Utility service Fixed this error Issue-ID: APPC-1064 Change-Id: Ie0e63be45b1cdde0bd2169168c562452babd6aa5 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-02Reference-dataform- test casesArundathi Patil1-0/+12
Wrote test case to cover upload function in refernce-dataform.component Issue-ID: APPC-1064 Change-Id: I44c62b944c14b9f66fc2117ad7d578b2388e973b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-02Test Case - Paramete-definitions.serviceArundathi Patil1-3/+12
Wrote test case to cover setValues method pf parameter-definitions service Issue-ID: APPC-1064 Change-Id: I5e43aba3c6af733cf20922036ef7ad09b86a7cdd Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-02Test cases - build-artifacts componentArundathi Patil1-0/+14
Wrote test cases to cover updateAccessUpdatePages method in build-artifacts component. Issue-ID: APPC-1064 Change-Id: If654c89d1daf1d9639aa172c08f3270b6337ba0e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-01Fixed error in template-configuration specArundathi Patil1-1/+2
Test cases in template-configuration spec file failed with the below error, Error: No provider for UtilityService. Fixed this error. Issue-ID: APPC-1064 Change-Id: Ibb580435a3f70024988434eba74b61be80423990 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-31refactored payload in uploadArtifact of referenceSandeep J1-11/+2
refactored payload in uploadArtifact method of reference dataform using createPayloadForSave method of utlity service Issue-ID: APPC-1100 Change-Id: I9f91725371da96e6d2384b2348e288ebc0af238d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-30Fixed error in spec fileArundathi Patil1-1/+2
Test cases in parameter.component spec file failed with below error, Error: No provider for NGXSpinnerService Fixed this issue Issue-ID: APPC-1064 Change-Id: I51d8e79888e182fef11d0c99936953ed0eabd380 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-27refactored payload creation proces in retrieve APISandeep J1-13/+4
refactored payload creation in retrieveNameValueFromAppc method of param-name-value.component.ts by using the createPayloadForRetrieve method in utility.service.ts Issue-ID: APPC-1098 Change-Id: Ia5b4a7c259c9a27958b6df9c59869a79b03064ee Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-26refactor payload creation in parameter.tsSandeep J1-9/+1
refactor payload creation in getPD parameter.ts using createPayloadForRetrieve method in utility.service.ts Issue-ID: APPC-1099 Change-Id: I976dfebfe60a123784853a7294125cf6075a653b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-25refactord payload creatn for template & param saveSandeep J1-44/+5
refactored payload creation for saving template and param artifacts to APPC using createPayloadForSave method in utility.service.ts Issue-ID: APPC-1105 Change-Id: I2dd446aebdbcbc1ffc070993ee53d09e25eeae6b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24Fixed errorArundathi Patil1-17/+18
Test cases in param-name-value component spec file failed with the below error, Error: No provider for NgxSpinnerService Fixed this error Issue-ID: APPC-1064 Change-Id: Ib4e0b3276525973fb6a625d2366ed26cf3d94173 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-24Removed hard coded valuesArundathi Patil1-117/+35
Moved all the constant values in parameter component to app-Constants file. Issue-ID: APPC-1054 Change-Id: I507cc0a4aa8ddc8d6d42e97129b21a235b96b225 Signed-off-by: Arundathi Patil<arundpil@in.ibm.com>
2018-07-20Fixed error in spec fileArundathi Patil1-1/+4
All the test cases in template-configuration spec file failed with the below error. Error: "No provider for NGXSpinnerService". Fixed this error. Issue-ID: APPC-1064 Change-Id: I9ea042519e0f6ba94344d17b9d0e457c4c4480cd Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-20Unsubscribed observablesArundathi Patil1-7/+11
Unsubscribed from observables in param-name-value component. This will release any resources that the subscription holds. Issue-ID: APPC-1049 Change-Id: Ie3aa18bfa9d5129a26abb2f33dd2f80e1cfc8bba Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-07-20corrected commenting style in licence headerSandeep J1-1/+1
corrected commenting style in licence header of template configuration html from "/*" to "<!--" Issue-ID: APPC-1092 Change-Id: Ie3421a37db62e48495394f54ffd70b14ec2d053b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added progress spinner for uploading param fileSandeep J2-1/+28
added progress spinner while uplaoding param file for the user to have a visual representation of the upload Issue-ID: APPC-1066 Change-Id: I411cca1677e924ee43050843401fd957a2aba3f9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>