appc/cdt.git
5 years agoIncrement snapshot version 36/86436/1
Patrick Brady [Fri, 26 Apr 2019 21:28:37 +0000 (14:28 -0700)]
Increment snapshot version

Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare
for next development cycle.

Change-Id: I556e0492de6cdb04800686dd87410890f2402a66
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1585

5 years agoupgrade spring-boot-starter-web 77/86277/1
Taka Cho [Thu, 25 Apr 2019 12:13:23 +0000 (08:13 -0400)]
upgrade spring-boot-starter-web

spring-boot-starter-web to
2.1.4 RELEASE version

Change-Id: I6e0452665f63a28e06310934abd7ececfb09f411
Issue-ID: APPC-1541
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoChanges for cdt over https 64/82864/1
Patrick Brady [Wed, 20 Mar 2019 22:30:02 +0000 (15:30 -0700)]
Changes for cdt over https

Configure Spring to use an https endpoint
Add sample certificates for https
Set cdt to use an https url to communicate to the proxy

Change-Id: Iaeee33d50c0e9ceb53226982639c289e757763a4
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1551

5 years agoAdded DistributeTrafficCheck LCM command support 16/82516/1
Lukasz Rajewski [Sat, 16 Mar 2019 17:18:14 +0000 (18:18 +0100)]
Added DistributeTrafficCheck LCM command support

Proposed change adds support for new LCM API dedicated for
traffic distribution pre- or post-checks that should
assist DistributeTraffic LCM.

Few small bugs fixed when multiple ansible server has been
added and DistributeTraffic changes were not counted
properly.

Change-Id: I5606a2dd73e8f051f9a69a02bf7c51770f173263
Issue-ID: APPC-1470
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
5 years agofix nexusiq in CDT 71/82471/1
Taka Cho [Fri, 15 Mar 2019 18:10:08 +0000 (14:10 -0400)]
fix nexusiq in CDT

upgrade to the latest version
for spring-boot-starter-parent
2.1.3.RELEASE

Change-Id: I371aa76728f78f3ed00eed99c38a63ab749c088b
Issue-ID: APPC-1541
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoadded ansible server functionality 59/81859/4
asgar [Fri, 8 Mar 2019 14:22:33 +0000 (19:52 +0530)]
added ansible server functionality

multiple ansible server for CDT

Issue-ID: APPC-1510
Change-Id: I383bc63705418654efb596c617309821ebbeb9b4
Signed-off-by: Mohamed Asgar Samiulla <ma926a@us.att.com>
5 years agoRevert "multiple asible servers support" 17/79817/1
Patrick Brady [Wed, 6 Mar 2019 20:11:34 +0000 (12:11 -0800)]
Revert "multiple asible servers support"

Some functionality was accidentally removed

This reverts commit 611c9da62c2e266f9facd97dc9f340ce311060a3.

Change-Id: I1aefbbc0ede8cdda59acc8bdf7b047e506aad813
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1510

5 years agomultiple asible servers support 40/79440/5
asgar [Fri, 1 Mar 2019 10:02:47 +0000 (15:32 +0530)]
multiple asible servers support

multiple asible servers support for CDT

Issue-ID: APPC-1510
Change-Id: Id1b1b02274487cfbf6f108a57211a192924a6b08
Signed-off-by: Mohamed Asgar Samiulla <ma926a@us.att.com>
5 years agoAdd missing INFO.yaml blocks 25/79525/2
Jessica Wagantall [Sat, 2 Mar 2019 01:32:59 +0000 (17:32 -0800)]
Add missing INFO.yaml blocks

Add missing information so that the new verify
job passes. Fix indentation.

Change-Id: I7fffb5433f3d38ed5336eabb21c036114b50a57b
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoadd INFO.yaml for appc/cdt 62/76162/1
Taka Cho [Wed, 23 Jan 2019 00:20:56 +0000 (19:20 -0500)]
add INFO.yaml for appc/cdt

INFO.yaml is required by LinuxFoundation

Change-Id: I07f3d02d3e548180f2e668f4a984388d5bff28a1
Issue-ID: APPC-1357
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoIncrement version number 80/72480/1
Patrick Brady [Mon, 12 Nov 2018 21:59:01 +0000 (13:59 -0800)]
Increment version number

Change to version 1.5.0-SNAPSHOT

Change-Id: Ib00755d28512092a30e01546fd5579df2a4074be
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1212

5 years agofix the bug for Scaleout 44/71744/1
Taka Cho [Fri, 2 Nov 2018 16:10:43 +0000 (12:10 -0400)]
fix the bug for Scaleout

remove the . from line 1631

Change-Id: Ibf7c4f66e522da4691f350f9be6601696cabc8a3
Issue-ID: APPC-1227
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoAdded fix for APPC-1227 24/71724/1
Amaresh Kumar [Fri, 2 Nov 2018 07:57:34 +0000 (13:27 +0530)]
Added fix for APPC-1227

Issue-ID: APPC-1227
Change-Id: Id1360bf285b1f772322cc2fee34e1798eaf0e7d3
Signed-off-by: Amaresh Kumar <ak583p@us.att.com>
5 years agoupgrade spring-web version 54/71154/1
Taka Cho [Wed, 24 Oct 2018 14:07:12 +0000 (10:07 -0400)]
upgrade spring-web version

upgrade to 5.0.10.RELEASE to avoid the security issue.

Change-Id: Icdc7fefe7a91f62690bf4c4f258de0443d422b87
Issue-ID: APPC-1025
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoRoll to next version after release 09/70309/1
Patrick Brady [Thu, 11 Oct 2018 20:30:20 +0000 (13:30 -0700)]
Roll to next version after release

Change to version 1.4.1-SNAPSHOT

Change-Id: I067a6f8d54c86851bce053af6c5d1d0812ff8722
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1212

5 years agoreference-dataform.util.spec- added test case 65/66965/2 1.4.0
Arundathi Patil [Mon, 17 Sep 2018 11:11:26 +0000 (16:41 +0530)]
reference-dataform.util.spec- added test case

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>
5 years agoAdded DistributeTraffic LCM command support 63/63263/6
Lukasz Rajewski [Tue, 28 Aug 2018 13:18:35 +0000 (15:18 +0200)]
Added DistributeTraffic LCM command support

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>
5 years agoremove guava security 03/66803/2
Taka Cho [Sat, 15 Sep 2018 16:30:42 +0000 (12:30 -0400)]
remove guava security

upgrade version to 26.0-jre

Change-Id: I130898a634c75bfecc68522820bc2a082a311f70
Issue-ID: APPC-1025
Signed-off-by: Taka Cho <tc012c@att.com>
5 years agoreference-dataform.component- added test case 11/66011/2
Arundathi Patil [Wed, 12 Sep 2018 08:14:56 +0000 (13:44 +0530)]
reference-dataform.component- added test case

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>
5 years agoreference-dataform.util- added test case 13/66013/2
Arundathi Patil [Wed, 12 Sep 2018 08:18:45 +0000 (13:48 +0530)]
reference-dataform.util- added test case

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>
5 years agoaboutus.component: Added test case 75/66075/2
Arundathi Patil [Wed, 12 Sep 2018 11:08:03 +0000 (16:38 +0530)]
aboutus.component: Added test case

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>
5 years agoFix for Defect: CDT reference data does not send . 93/66493/1
od7427 [Fri, 14 Sep 2018 01:33:09 +0000 (21:33 -0400)]
Fix for Defect: CDT reference data does not send .

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>
5 years agoAPPC CDT to Support Multiple Templates -addit.fix 57/66257/1
od7427 [Thu, 13 Sep 2018 01:42:41 +0000 (21:42 -0400)]
APPC CDT to Support Multiple Templates -addit.fix

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>
5 years agoUpdate password for new odl version 07/66207/2
Patrick Brady [Wed, 12 Sep 2018 19:35:35 +0000 (12:35 -0700)]
Update password for new odl version

Update the password in the cdt proxy service so it
can connect to rest on the new odl version.

Change-Id: I5fdc4ecf76246c62b006675bbbd31d565cf54ae4
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-1158

5 years agoreference-dataform.util- added test case 97/65797/2
Arundathi Patil [Tue, 11 Sep 2018 10:45:34 +0000 (16:15 +0530)]
reference-dataform.util- added test case

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>
5 years agoreference-dataform.component: added test case 93/65793/1
Arundathi Patil [Tue, 11 Sep 2018 10:39:29 +0000 (16:09 +0530)]
reference-dataform.component: added test case

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>
5 years agoreference-dataform.component- added test case 73/65473/1
Arundathi Patil [Mon, 10 Sep 2018 08:43:16 +0000 (14:13 +0530)]
reference-dataform.component- added test case

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>
5 years agoadded test case to reference-dataform.util service 57/65257/2
Arundathi Patil [Fri, 7 Sep 2018 16:21:52 +0000 (21:51 +0530)]
added test case to reference-dataform.util service

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>
5 years agoreference-dataform- added test case 59/65259/1
Arundathi Patil [Fri, 7 Sep 2018 16:28:10 +0000 (21:58 +0530)]
reference-dataform- added test case

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>
5 years agoupdate name tag for sonar report 51/65051/1
Taka Cho [Thu, 6 Sep 2018 18:30:21 +0000 (14:30 -0400)]
update name tag for sonar report

the name tag is the pom.xml is helping writing
the correct name in the Sonar report

Change-Id: Id0c38722645460fe4d348ff264724085a0bc0766
Issue-ID: APPC-1193
Signed-off-by: Taka Cho <tc012c@att.com>
5 years agoreference-dataform.component - fixed test cases 63/64963/2
Arundathi Patil [Thu, 6 Sep 2018 09:56:44 +0000 (15:26 +0530)]
reference-dataform.component - fixed test cases

Fixed rest of the failing test cases

Issue-ID: APPC-1064
Change-Id: Idab0b2550959eb51d7f144a493338255fbbbc8dc
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoreference-dataform.util - added spec file 75/64975/2
Arundathi Patil [Thu, 6 Sep 2018 10:36:50 +0000 (16:06 +0530)]
reference-dataform.util - added spec file

wrote test case for reference-dataform.util service

Issue-ID: APPC-1064
Change-Id: I9a2fe38107f7305979ed1997087eab20efadb53e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agobuild-artifacts.component: added test case 83/64983/1
Arundathi Patil [Thu, 6 Sep 2018 10:50:02 +0000 (16:20 +0530)]
build-artifacts.component: added test case

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>
5 years agoreference-dataform- fixed few test cases 63/64763/1
Arundathi Patil [Wed, 5 Sep 2018 13:40:44 +0000 (19:10 +0530)]
reference-dataform- fixed few test cases

Fixed few failing test cases.

Issue-ID: APPC-1064
Change-Id: I2398983d732173b82abfeb5335c6ecf0f357531a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoreference-dataform.component.spec- fixed test case 17/64317/2
Arundathi Patil [Tue, 4 Sep 2018 06:12:00 +0000 (11:42 +0530)]
reference-dataform.component.spec- fixed test case

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>
5 years agoaboutus.component.ts- added test cas 27/64327/2
Arundathi Patil [Tue, 4 Sep 2018 06:34:16 +0000 (12:04 +0530)]
aboutus.component.ts- added test cas

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>
5 years agovm-filtering.pipe- test case 33/64333/2
Arundathi Patil [Tue, 4 Sep 2018 07:07:42 +0000 (12:37 +0530)]
vm-filtering.pipe- test case

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>
5 years agoorder-by.pipe- added test case 55/64355/2
Arundathi Patil [Tue, 4 Sep 2018 08:08:46 +0000 (13:38 +0530)]
order-by.pipe- added test case

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>
5 years agoutility.service.spec.ts : added test case 59/64359/2
Arundathi Patil [Tue, 4 Sep 2018 08:46:51 +0000 (14:16 +0530)]
utility.service.spec.ts : added test case

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>
5 years agomapping-editor.service- added test case 69/64369/1
Arundathi Patil [Tue, 4 Sep 2018 09:11:13 +0000 (14:41 +0530)]
mapping-editor.service- added test case

Wrote test case to test selectedObj() function

Issue-ID: APPC-1064
Change-Id: I9be14de56c537f3ba16c8535eb278ccb5fb179cc
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoreference-dataform.component: fixed test case 23/64223/1
Arundathi Patil [Mon, 3 Sep 2018 10:30:17 +0000 (16:00 +0530)]
reference-dataform.component: fixed test case

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>
5 years agomyvnfs.component.spec- added test cases 25/64025/2
Arundathi Patil [Fri, 31 Aug 2018 15:59:10 +0000 (21:29 +0530)]
myvnfs.component.spec- added test cases

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>
5 years agobuild-artifacts.component.spec- added test cases 27/64027/2
Arundathi Patil [Fri, 31 Aug 2018 16:02:39 +0000 (21:32 +0530)]
build-artifacts.component.spec- added test cases

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>
5 years agoutility.service- added test case 31/64031/1
Arundathi Patil [Fri, 31 Aug 2018 16:16:20 +0000 (21:46 +0530)]
utility.service- added test case

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>
5 years agoupgrade spring-boot to 2.0.4 85/63885/1
Taka Cho [Thu, 30 Aug 2018 18:31:51 +0000 (14:31 -0400)]
upgrade spring-boot to 2.0.4

Artifact:  tomcat-embed-core
Version:  8.5.31
to
Version:        8.5.32

Change-Id: Id68d7a6049ebe5032e5dee7d22a07f7a9133d7b9
Issue-ID: APPC-1018
Signed-off-by: Taka Cho <tc012c@att.com>
5 years agoaboutus.component.spec-Fix error due to codeChange 65/63765/2
Arundathi Patil [Thu, 30 Aug 2018 09:45:09 +0000 (15:15 +0530)]
aboutus.component.spec-Fix error due to codeChange

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>
5 years agomapping-editor service- added test case 67/63767/2
Arundathi Patil [Thu, 30 Aug 2018 09:49:26 +0000 (15:19 +0530)]
mapping-editor service- added test case

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>
5 years agoutility.service- added test cases 69/63769/2
Arundathi Patil [Thu, 30 Aug 2018 09:53:07 +0000 (15:23 +0530)]
utility.service- added test cases

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>
5 years agomynfs.component- added test cases 71/63771/2
Arundathi Patil [Thu, 30 Aug 2018 09:56:57 +0000 (15:26 +0530)]
mynfs.component- added test cases

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>
5 years agoreference-dataform.component.spec- Fixed errors 95/63695/1
Arundathi Patil [Thu, 30 Aug 2018 07:06:28 +0000 (12:36 +0530)]
reference-dataform.component.spec- Fixed errors

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>
5 years agoAPPC CDT to Support Multiple Templates for VNFCs 37/62237/2
od7427 [Thu, 23 Aug 2018 15:49:12 +0000 (11:49 -0400)]
APPC CDT to Support Multiple Templates for VNFCs

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>
5 years agoparameter-definition service- removed unused code 33/62033/2
Arundathi Patil [Thu, 23 Aug 2018 09:49:53 +0000 (15:19 +0530)]
parameter-definition service- removed unused code

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>
5 years agoaboutus.component.spec - fixed test case 47/62047/1
Arundathi Patil [Thu, 23 Aug 2018 10:10:14 +0000 (15:40 +0530)]
aboutus.component.spec - fixed test case

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>
5 years agoaboutus component - removed unused code 35/60235/2
Arundathi Patil [Mon, 13 Aug 2018 09:26:23 +0000 (14:56 +0530)]
aboutus component - removed unused code

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>
5 years agologin-guard-service - removed unused code 89/60889/2
Arundathi Patil [Thu, 16 Aug 2018 10:39:58 +0000 (16:09 +0530)]
login-guard-service - removed unused code

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>
5 years agotest.component - removed unused code 39/60239/2
Arundathi Patil [Mon, 13 Aug 2018 09:33:00 +0000 (15:03 +0530)]
test.component - removed unused code

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>
5 years agonavigation.component.html:removed unused code 95/59995/2
Arundathi Patil [Fri, 10 Aug 2018 11:16:18 +0000 (16:46 +0530)]
navigation.component.html:removed unused code

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>
5 years agomodal component : added spec file 35/59635/2
Arundathi Patil [Wed, 8 Aug 2018 09:33:28 +0000 (15:03 +0530)]
modal component : added spec file

wrote test cases to cover modal component.

Issue-ID: APPC-1064
Change-Id: I0ad365ef28e4ae411cdf5d02588767cf79bdc4c5
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoparameter-definition.service:removed hardcoded val 33/59633/2
Arundathi Patil [Wed, 8 Aug 2018 09:27:40 +0000 (14:57 +0530)]
parameter-definition.service:removed hardcoded val

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>
5 years agoauth-guard-modal : removed unused code 67/60267/2
Arundathi Patil [Mon, 13 Aug 2018 09:52:03 +0000 (15:22 +0530)]
auth-guard-modal : removed unused code

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>
5 years agotemplate-configuartion spec- fixed test cases 41/60241/2
Arundathi Patil [Mon, 13 Aug 2018 09:38:36 +0000 (15:08 +0530)]
template-configuartion spec- fixed test cases

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>
5 years agoMapping-editor service- added test case 65/60265/1
Arundathi Patil [Mon, 13 Aug 2018 09:48:33 +0000 (15:18 +0530)]
Mapping-editor service- added test case

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>
5 years agomapping-editor-service : added test case 91/59991/1
Arundathi Patil [Fri, 10 Aug 2018 10:54:49 +0000 (16:24 +0530)]
mapping-editor-service : added test case

wrote test case to test getKeysForValues() function

Issue-ID: APPC-1064
Change-Id: I7055986e9722a9b3889601ce94c3da7dcc16b96e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoparameter-definition.service : added test case 61/59861/2
Arundathi Patil [Thu, 9 Aug 2018 13:35:44 +0000 (19:05 +0530)]
parameter-definition.service : added test case

wrote test case to cover processResponseKeys function

Issue-ID: APPC-1064
Change-Id: Id8ba082a07ef046485aafae6b9be1f6f80db4ef9
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agobuild-artifacts - added test case 63/59863/1
Arundathi Patil [Thu, 9 Aug 2018 13:39:30 +0000 (19:09 +0530)]
build-artifacts - added test case

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>
5 years agoTemplate-configration-unsubscribed from observable 13/57813/2
Arundathi Patil [Fri, 27 Jul 2018 10:33:14 +0000 (16:03 +0530)]
Template-configration-unsubscribed from observable

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>
5 years agoorder-by.pipe : added test case 37/59637/2
Arundathi Patil [Wed, 8 Aug 2018 09:37:10 +0000 (15:07 +0530)]
order-by.pipe : added test case

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>
5 years agotable-filter pipe : added test case 39/59639/1
Arundathi Patil [Wed, 8 Aug 2018 09:41:01 +0000 (15:11 +0530)]
table-filter pipe : added test case

wrote test case to test table-filter pipe to return proper value when no
query parameter is passed

Issue-ID: APPC-1064
Change-Id: I29826f3413fd8dfe7b86c6461f0d7a7a237520b4
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoUtility service : added test case 95/59395/2
Arundathi Patil [Tue, 7 Aug 2018 09:49:32 +0000 (15:19 +0530)]
Utility service : added test case

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>
5 years agobuild-artifacts component : added test case 99/59399/2
Arundathi Patil [Tue, 7 Aug 2018 09:54:52 +0000 (15:24 +0530)]
build-artifacts component : added test case

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>
5 years agoLoginGuardService : added test case 05/59405/2
Arundathi Patil [Tue, 7 Aug 2018 09:58:21 +0000 (15:28 +0530)]
LoginGuardService : added test case

wrote test case to test canActivate function to navigate user to login
page if the user is not logged in.

Issue-ID: APPC-1064
Change-Id: Icc5a137474f69b8f9a8c2bc386ecc2b784f64ebb
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoReferenceDataForm : added test case 07/59407/1
Arundathi Patil [Tue, 7 Aug 2018 10:01:40 +0000 (15:31 +0530)]
ReferenceDataForm : added test case

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>
5 years agodropdownnotclosablezone directive :added test case 73/59173/3
Arundathi Patil [Mon, 6 Aug 2018 11:19:52 +0000 (16:49 +0530)]
dropdownnotclosablezone directive :added test case

wrote test case to cover contains function of the directive

Issue-ID: APPC-1064
Change-Id: I510d121be6dff5c286a89db13bde5c9c46216e85
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agodropdownopen directive : added test case 71/59171/3
Arundathi Patil [Mon, 6 Aug 2018 11:16:40 +0000 (16:46 +0530)]
dropdownopen directive : added test case

wrote test case to cover toggle function.

Issue-ID: APPC-1064
Change-Id: Ia10c602e385bb087114b16e58fed03ddc51b8d31
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoutility service : added test case 69/59169/3
Arundathi Patil [Mon, 6 Aug 2018 11:13:28 +0000 (16:43 +0530)]
utility service : added test case

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>
5 years agoReference-dataform : Removed hardcoded values 05/58405/2
Arundathi Patil [Wed, 1 Aug 2018 10:49:07 +0000 (16:19 +0530)]
Reference-dataform : Removed hardcoded values

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>
5 years agogcauth.guard.service - added test case 65/59165/1
Arundathi Patil [Mon, 6 Aug 2018 11:09:01 +0000 (16:39 +0530)]
gcauth.guard.service - added test case

Added test case to cover canActivate method when referenceObject is not
defined.

Issue-ID: APPC-1064
Change-Id: I19d08cf1e0b6426e52d1db48be89ed8e76864560
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoreference-data-form - added test case 15/58915/2
Arundathi Patil [Fri, 3 Aug 2018 10:13:05 +0000 (15:43 +0530)]
reference-data-form - added test case

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>
5 years agoauth-guard-modal component : Removed fdescribe 01/58901/2
Arundathi Patil [Fri, 3 Aug 2018 09:33:56 +0000 (15:03 +0530)]
auth-guard-modal component : Removed fdescribe

removed fdescribe from auth-gurad-modal spec file which was accidentally checkedin in the previos checkin

Issue-ID: APPC-1064
Change-Id: I15856005e9ef7df13ec58e46287b6437d610917d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agogcauth-guard service - removed fdescribe 03/58903/2
Arundathi Patil [Fri, 3 Aug 2018 09:37:59 +0000 (15:07 +0530)]
gcauth-guard service - removed fdescribe

Removed fdescribe from gcauth-guard spec file which was accidentally
checkdin in the previous change.

Issue-ID: APPC-1064
Change-Id: Iaefd0d3ed9d7909b0fb55b16a19070227ae6b86b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoparameter.component - fixed test case 09/58909/2
Arundathi Patil [Fri, 3 Aug 2018 09:59:16 +0000 (15:29 +0530)]
parameter.component - fixed test case

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>
5 years agoparam-name-value - fixed test case 13/58913/2
Arundathi Patil [Fri, 3 Aug 2018 10:09:58 +0000 (15:39 +0530)]
param-name-value - fixed test case

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>
5 years agoadding a new folder for design studio self service 65/58965/2
Taka Cho [Fri, 3 Aug 2018 15:35:20 +0000 (11:35 -0400)]
adding a new folder for design studio self service

Change-Id: Iff159e8cc2c9e9a181b7ad1db20183560e23b2df
Issue-ID: APPC-1126
Signed-off-by: Taka Cho <tc012c@att.com>
5 years agoFixed error in param-name-value spec file 95/57995/2
Arundathi Patil [Mon, 30 Jul 2018 09:53:25 +0000 (15:23 +0530)]
Fixed error in param-name-value spec file

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>
5 years agoAdded spec file for gcauth guard service 31/58631/2
Arundathi Patil [Thu, 2 Aug 2018 08:59:21 +0000 (14:29 +0530)]
Added spec file for gcauth guard service

Wrote test cases to cover gcauth guard service

Issue-ID: APPC-1064
Change-Id: Iaa01bc22b1fdb52f0cecb7b6c20502c8f6f05a14
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoadded spec for auth-guard component 75/58675/2
Arundathi Patil [Thu, 2 Aug 2018 10:58:45 +0000 (16:28 +0530)]
added spec for auth-guard component

Wrote test case to cover auth-guard component

Issue-ID: APPC-1064
Change-Id: Id9da15a608fd7954c380cffac4d94044ae4fe1f5
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoFixed error in test component spec file 03/58403/2
Arundathi Patil [Wed, 1 Aug 2018 10:56:34 +0000 (16:26 +0530)]
Fixed error in test component spec file

Test cases in test component spec file failed with below error,
Eroor: No provider for NgxSpinnerModule.
Fixed this error

Issue-ID: APPC-1064
Change-Id: I89db4044b3fbc62cae4656e93a6b4519fb5cd0aa
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoReference-dataform- test cases 97/57997/3
Arundathi Patil [Mon, 30 Jul 2018 09:58:56 +0000 (15:28 +0530)]
Reference-dataform- test cases

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>
5 years agoTest cases - UtilityService 03/58003/3
Arundathi Patil [Mon, 30 Jul 2018 10:21:36 +0000 (15:51 +0530)]
Test cases - UtilityService

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>
5 years agoTest Case - Paramete-definitions.service 93/58193/3
Arundathi Patil [Tue, 31 Jul 2018 09:01:40 +0000 (14:31 +0530)]
Test Case - Paramete-definitions.service

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>
5 years agoTest cases - build-artifacts component 97/58197/3
Arundathi Patil [Tue, 31 Jul 2018 09:08:10 +0000 (14:38 +0530)]
Test cases - build-artifacts component

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>
5 years agoabousUs Component : Fixed test case 37/58637/3
Arundathi Patil [Thu, 2 Aug 2018 09:05:40 +0000 (14:35 +0530)]
abousUs Component : Fixed test case

Test case in aboutus component spec file failed with below error,
Error: this.http.get is not a function
Fixed this error

Issue-ID: APPC-1064
Change-Id: I59426d9a96ab67a7fbef6c540be26b7204a7ee7f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoTest case- myVnfs component 95/58195/2
Arundathi Patil [Tue, 31 Jul 2018 09:04:39 +0000 (14:34 +0530)]
Test case- myVnfs component

Wrote test case to cover navigateToreference method of myVnfs component

Issue-ID: APPC-1064
Change-Id: Ie6417fb2e975164c9d5226d7e270ec4f7dbbdb1a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agouserloginForm- Fixed test case 43/58643/2
Arundathi Patil [Thu, 2 Aug 2018 09:13:20 +0000 (14:43 +0530)]
userloginForm- Fixed test case

Test case in userlogin form was expecting wrong values because of which
the test case failed. Changed the test case expecting values to proper
values.

Issue-ID: APPC-1064
Change-Id: I9b1aedc70a806b235c0b56d936370e8a1a62d2dd
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoFixed error in user-login-form spec file 01/58001/4
Arundathi Patil [Mon, 30 Jul 2018 10:15:23 +0000 (15:45 +0530)]
Fixed error in user-login-form spec file

Test cases in userLogin-form spec file failed with below error,
Error: Cannot read property 'root' of undefined.

This error was because, activated route was not injected into the
testingbed. Fixed this error.

Issue-ID: APPC-1064
Change-Id: Ib9978b73be744204e8dd64b97abbc0959a4e5839
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agofixed error in aboutUs component spec 91/58191/4
Arundathi Patil [Tue, 31 Jul 2018 08:55:02 +0000 (14:25 +0530)]
fixed error in aboutUs component spec

Test cases in aboutus component spec file failed due to the changes made in ts
file. Fixed these issues

Issue-ID: APPC-1064
Change-Id: Ief9c517de5ecb57bac8787e064b2bec3f7c50f2c
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoRemoved unwanted code 15/57515/2
Arundathi Patil [Wed, 25 Jul 2018 11:43:56 +0000 (17:13 +0530)]
Removed unwanted code

Removed ngbModal from imports and constructor as it was not used.

Issue-ID: APPC-1054
Change-Id: I92406941099384b1b17472d57c888041deb7e0a4
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
5 years agoFixed error in template-configuration spec 15/57815/2
Arundathi Patil [Fri, 27 Jul 2018 10:36:59 +0000 (16:06 +0530)]
Fixed error in template-configuration spec

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>
5 years agorefactored payload in uploadArtifact of reference 31/57031/3
Sandeep J [Fri, 20 Jul 2018 09:09:04 +0000 (14:39 +0530)]
refactored payload in uploadArtifact of reference

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>
5 years agoadded progress spinner for spreadsheet upload 39/57039/5
Sandeep J [Fri, 20 Jul 2018 10:26:31 +0000 (15:56 +0530)]
added progress spinner for spreadsheet upload

added progress spinner for spreadsheet upload in test.component,ts

Issue-ID: APPC-1102
Change-Id: I9d030da990eae2e8efe5ae82cd1afd3c675aa286
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>