aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/parameter-definitions
AgeCommit message (Collapse)AuthorFilesLines
2018-08-28APPC CDT to Support Multiple Templates for VNFCsod74272-6/+8
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-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-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-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-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-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-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-19added progress spinner in PD to show file uploadSandeep J2-4/+15
added progress spinner in PD to show file upload progress Issue-ID: APPC-1070 Change-Id: I28d237a3a69f68a9e9dbc6433c95dc53c4fbffbf Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-18added setTimeOut method in PD retrival progres barSandeep J1-10/+9
added setTimeOut of 3.5 seconds in progress bar for retrieving PD data from APPC Issue-ID: APPC-1073 Change-Id: I79432be9b3f74dfa84e7a37da6fb8d86c2a779f5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-16wrote unit test case for parameter component.IBM602-PC0F1E3C\Arundathi1-0/+24
Added unit test cases to cover ngOninit, selectedNavItem and showUpload methods. Issue-ID: APPC-1064 Change-Id: I38b885f905a13ca316ee31e5efa6b5bbb74d8506 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-04-27Fixed parsing of retrieved openstack ref datasj108s1-1/+16
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-17VM data retrieval from APPC for open stack actionMohamed Asgar Samiulla(ma926a)1-7/+8
VM data retrieval and stopping user not to navigate to PD and template if mandatory fields are missing in reference data. Issue-ID: APPC-853 Change-Id: Id43500579c6d222a2c17a53db9213372afec565f Signed-off-by: Mohamed Asgar Samiulla(ma926a) <ma926a@us.att.com>
2018-04-03Corrected artifact name for multiple template idssj108s1-3/+14
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-20Removing INSTAR functionality from CDT for ONAP.Mohamed Asgar Samiulla(ma926a)3-44/+5
Removed license form package.json. Issue-ID: APPC-750 Change-Id: If20087a24fc0cf42977e1b1149d6be0ff1387689 Signed-off-by: Mohamed Asgar Samiulla(ma926a) <ma926a@us.att.com>
2018-03-16[Appc-1806] Removing INSTAR from CDT for ONAP.Mohamed Asgar Samiulla(ma926a)3-16/+7
The source name for INSTAR made configurable through a property file. Issue-ID: APPC-750 Change-Id: I7e0d2ae657d4469f6fae54b5358ddb6f5476b211 Signed-off-by: Mohamed Asgar Samiulla(ma926a) <ma926a@us.att.com>
2018-03-15Added few more test case & fixed modal in templatesj108s1-0/+16
Added few more test cases to improve code coverage and changed trigger command for modal in template page from Enter to ctrl-4 Issue-ID: APPC-697 Change-Id: I4a158ba687bad0bb2f808428333083200714f18a Signed-off-by: sj108s <sj108s@us.att.com>
2018-03-13Fixed defects in test screen & updated test casessj108s3-40/+39
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-01Initial seed code contribution for CDTSkip Wonnell6-0/+1491
Issue-ID: APPC-682 Change-Id: I0331ffce2a430195c29d0d1b2295966f9eb28699 Signed-off-by: Skip Wonnell <skip@att.com>