aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
AgeCommit message (Collapse)AuthorFilesLines
2018-07-19added test case to param name value component specSandeep J1-0/+11
added test case to param-name-value.spec.ts to increase code coverage Issue-ID: APPC-1089 Change-Id: I2598eb2b3b7f7551f89f26e2ec6d8f820466cd42 Signed-off-by: Sandeep J <sandeejh@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-18added progress spinner while uploading templateSandeep J3-5/+36
added progress spinner while uploading template file so that the user can know visually that the file is being uploaded Issue-ID: APPC-1069 Change-Id: I4d17a1f64a241dc3dc49154ec6c8abe7babb793a 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-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-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 error block in getArtifacts methodSandeep J2-8/+22
added error block in getArtifacts method to handle error scenario like error connecting to appc. The user will be notified with the angular2-notification whenever there is error connecting to appc. Issue-ID: APPC-1083 Change-Id: I185e390cb0ddef2edea8f08d08ae124c7d05a06c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-16replaced if else logic to switch caseSandeep J1-23/+45
Replaced the if else logic in decideExtension and populateExistinAction method with switch case for better presentation of the code as part of plan for reference dataform code refactor Issue-ID: APPC-1085 Change-Id: I002e61d53585ba61b96e1e6cb0f12443498df6e9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-16Unsubscribed the observables.IBM602-PC0F1E3C\Arundathi1-6/+16
Unsubscribed the observables in aboutus component. Issue-ID: APPC-1049 Change-Id: I7f67a75e214f7b9996c269d613b9daa742a5e723 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Fixed the failng test cases.IBM602-PC0F1E3C\Arundathi1-3/+18
Fixed the failing test cases for build-artifacts component. 5 of the test cases in build-artifacts component spec were failing with the below errors, 1. No Provider for Notification Service. 2. Cannot read property 'vnf-type' of undefined. Fixed the above errors. The coverage for this component is now 84.78%. Issue-ID: APPC-1064 Change-Id: Ifee45f86ce7093c9783d1f28a313869300bd8e39 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Removed duplicate code.IBM602-PC0F1E3C\Arundathi1-30/+20
The same variable values are set on file upload failure either due to wrong format or due to wrong content of the file being uploaded in uplaod() and uplaodedFileResult() methods of test component. Moved this duplicate code to a single method called setValuesOnFileUploadFailure() and called this method where required. Issue-ID: APPC-1082 Change-Id: If92d375e3cfa44479c2d7f54915a1b6461bdda89 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Changed release name to ONAPIBM602-PC0F1E3C\Arundathi2-2/+2
As per the comment made by Takamune Cho (tc012c@aat.com) in gerrit request 'https://gerrit.onap.org/r/#/c/56277/', changed the release name to ONAP in vergionlog text file and appVersion json file in aboutUs directory. Issue-ID: APPC-1081 Change-Id: Ia452b898eb839e434b81f3e875835fd2ae644294 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Moved the hard coded values to constant fileIBM602-PC0F1E3C\Arundathi1-37/+23
Created a constant file called app-contants and moved the harded coded values in builArtifact component to app-constant file Issue-ID: APPC-1054 Change-Id: I2641579cdb6b20f2c51ce4f4d3ca2bd0667d2e81 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-07-16Added a unit test case for collapse directive.IBM602-PC0F1E3C\Arundathi1-2/+8
Added a unit test case that covers the get collapse() function in collapse directive. Issue-ID: APPC-1064 Change-Id: I273cb3a515bae9140fd7807cfa2d11bdee254cfa Signed-off-by: Arundathi <arundpil@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-07-16Unsubscribed from observable subscription.IBM602-PC0F1E3C\Arundathi1-6/+16
Unsubscribed from observable in navigation component in ngOnDestroy method. This will dispose the resource that the subscription holds. Issue-ID: APPC-1049 Change-Id: I63203c7f3af9fb83b58bea91d9a21219611c7f7f 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-07-13Fixed error- Added braces.IBM602-PC0F1E3C\Arundathi1-1/+2
Added missing braces at the end of the file. Issue-ID: APPC-1051 Change-Id: I83db0d604bb50b2d7b8fd7fe3f8a61b0cd64ccd8 Signed-off-by: Arundathi <arundpil@in.ibm.com>
2018-05-09Added CORS proxy Server endpointKumar, Amaresh (ak583p)2-26/+27
Added CORS proxy endpoint for backend calls to enable connection. Issue-ID: APPC-885 Change-Id: I0bb98feda477cb77312bc707cb52e1296b69245b Signed-off-by: Kumar, Amaresh (ak583p) <ak583p@us.att.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-05-07Removed the property which toggles configscaleoutPatrick Brady2-10/+4
Change-Id: I9d5aaa07aeed62c83eea123f34de2735fb58ef02 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-886
2018-05-04changed cdt app properties for configscaleoutsj108s1-2/+2
changed cdt application properties to display configscaleout in reference data Issue-ID: APPC-877 Change-Id: Id7e37298421aaa1a42379cf40870ced3e329ebca Signed-off-by: sj108s <sj108s@us.att.com>
2018-04-27Fixed parsing of retrieved openstack ref datasj108s3-36/+28
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-25made fixes to template identifer and dropdownsGangarajula, Uday Bhasker (ug0221)4-41/+59
Issue-ID: APPC-862 Change-Id: I902f794cec5d69e2118f7a87f5c6fb867a1b2216 Signed-off-by: Gangarajula, Uday Bhasker (ug0221) <ug0221@att.com>
2018-04-17VM data retrieval from APPC for open stack actionMohamed Asgar Samiulla(ma926a)7-22/+121
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-12Resolved the issues with multiple templatesGangarajula, Uday Bhasker (ug0221)2-142/+226
Issue-ID: APPC-707 Change-Id: Ibdf18a021ea453842ddf4001f947f1f4de276997 Signed-off-by: Gangarajula, Uday Bhasker (ug0221) <ug0221@att.com>
2018-04-09[Appc-1806] Login for Test screen, test api urls.Mohamed Asgar Samiulla(ma926a)7-133/+147
Test API urls corrected and vserverid removed from poll request. Issue-ID: APPC-831 Change-Id: I0bc616888afee8683ccbf5238980e97c6ca51af6 Signed-off-by: Mohamed Asgar Samiulla(ma926a) <ma926a@us.att.com>
2018-04-03Corrected artifact name for multiple template idssj108s21-506/+680
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-27Resolved the issues with configscaleoutGangarajula, Uday Bhasker (ug0221)3-246/+310
Issue-ID: APPC-707 Change-Id: Ie618635618333da7d548ff5a0fe711cc34076f62 Signed-off-by: Gangarajula, Uday Bhasker (ug0221) <ug0221@att.com>
2018-03-22Fixed couple more defects related to test screensj108s3-114/+136
Fixed poll status button alignment and fixed minore defect in test screen and updated test cases as per code change Issue-ID: APPC-713 Change-Id: I530739fda78d6ca05fba4cbfaacef8ead3b7c23d Signed-off-by: sj108s <sj108s@us.att.com>
2018-03-20Removing INSTAR functionality from CDT for ONAP.Mohamed Asgar Samiulla(ma926a)6-69/+135
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)4-16/+10
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 templatesj108s8-164/+232
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-14made changes to version info and defectsGangarajula, Uday Bhasker (ug0221)5-287/+930
Change-Id: I90fb87f1f32365e44180615f9be1eb6d11060dcf Issue-ID: APPC-707 Signed-off-by: Gangarajula, Uday Bhasker (ug0221) <ug0221@att.com>
2018-03-13Fixed defects in test screen & updated test casessj108s31-972/+1407
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)8-15/+117
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-06Update files to conform to ONAP code styleSkip Wonnell1-111/+111
Fix indentation in two files, replacing tabs with spaces Issue-ID: APPC-687 Change-Id: I6883ef86e8bfa19d627240dc0524a09dc6a16269 Signed-off-by: Skip Wonnell <skip@att.com>
2018-03-01Initial seed code contribution for CDTSkip Wonnell122-0/+12197
Issue-ID: APPC-682 Change-Id: I0331ffce2a430195c29d0d1b2295966f9eb28699 Signed-off-by: Skip Wonnell <skip@att.com>