appc/cdt.git
4 years agoAdmin component- added spec file 14/94814/2
Arundathi Patil [Tue, 3 Sep 2019 09:27:57 +0000 (14:57 +0530)]
Admin component- added spec file

Issue-ID: APPC-1632
Change-Id: I96bba48d05de5ce4a458cf77982a7e731d7dd881
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoansible component- Added spec file 22/94822/2
Arundathi Patil [Tue, 3 Sep 2019 10:19:36 +0000 (15:49 +0530)]
ansible component- Added spec file

Issue-ID: APPC-1632
Change-Id: I9813f16d1b00108878e798d8f86e477edc52dc3f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoAboutus Component spec- fixed error 11/94811/1
Arundathi Patil [Tue, 3 Sep 2019 09:01:49 +0000 (14:31 +0530)]
Aboutus Component spec- fixed error

Fixed the following error in spec file - Error: Can't bing show-close to
modal-header

Issue-ID: APPC-1632
Change-Id: I72bf1ea55e50f17cf4ab996d6a978d0a6ecf2c9d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoparam-bame-value component spec changes 36/94336/2
Arundathi Patil [Tue, 27 Aug 2019 09:36:41 +0000 (15:06 +0530)]
param-bame-value component spec changes

Fixed multiple errors in this spec file

Issue-ID: APPC-1632
Change-Id: Ie2366bb95ea403bd6f51053c61b658269ded6fb3
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoupdate INFO.yaml 30/94130/2
Taka Cho [Thu, 22 Aug 2019 14:29:03 +0000 (10:29 -0400)]
update INFO.yaml

add change section

Issue-ID: APPC-1685
Change-Id: I8fe0ef549f40cd83e53c93c2c58fac4b971f9f87
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoTest Component spec 85/93385/2
Arundathi Patil [Tue, 13 Aug 2019 03:43:52 +0000 (09:13 +0530)]
Test Component spec

Added test case to test setValuesOnFileUploadFailure method

Issue-ID: APPC-1632
Change-Id: I213b0008ca542da922c040f083e419881a712668
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoTemplate Configuration componnet spec fix 00/93400/1
Arundathi Patil [Tue, 13 Aug 2019 09:47:57 +0000 (15:17 +0530)]
Template Configuration componnet spec fix

Fixed multpile errors in spec file

Issue-ID: APPC-1632
Change-Id: I38458db9dcd5a7ee95eed7f82a0e4c5fe36fa579
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agovm-filtering pipe spec changes 74/92674/2
Arundathi Patil [Mon, 5 Aug 2019 11:53:50 +0000 (17:23 +0530)]
vm-filtering pipe spec changes

fixed errors in spec file

Issue-ID: APPC-1632
Change-Id: I8a258bb72514c0eb670b962878a8489ddbe5153f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoaboutus component spec fix 76/92676/2
Arundathi Patil [Mon, 5 Aug 2019 11:58:48 +0000 (17:28 +0530)]
aboutus component spec fix

Fixed test case which was wrongly expecting a versionLogFile() method to
return an observable

Issue-ID: APPC-1632
Change-Id: I455b7707f647a8e5827a3181f695241679dafc72
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoAdd release file for 1.6.1 51/92751/1
Patrick Brady [Tue, 6 Aug 2019 05:44:21 +0000 (22:44 -0700)]
Add release file for 1.6.1

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

4 years agofix duplicate authorization header 97/92597/4
Taka Cho [Fri, 2 Aug 2019 17:39:15 +0000 (13:39 -0400)]
fix duplicate authorization header

Authorization
Basic YWRtaW46YWRtaW4=
will not be duplicated and cached

Issue-ID: APPC-1676
Change-Id: I9858e72c1b0158791d11c301d9c118a422b3e0b6
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agoIncrement versions after release 37/92637/1
Patrick Brady [Sun, 4 Aug 2019 06:10:11 +0000 (23:10 -0700)]
Increment versions after release

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

4 years agovm-filtering pipe- fixed errors in spec 72/92372/2
Arundathi Patil [Wed, 31 Jul 2019 15:19:56 +0000 (20:49 +0530)]
vm-filtering pipe- fixed errors in spec

fixed errors in spec file

Issue-ID: APPC-1632
Change-Id: I945ab9f1be81620d94974e0bcc92fa20d30bfb8a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoparam-name-value component- fixed erros in spec 85/92385/2
Arundathi Patil [Wed, 31 Jul 2019 16:39:00 +0000 (22:09 +0530)]
param-name-value component- fixed erros in spec

removed unwanted method calls in spec file

Issue-ID: APPC-1632
Change-Id: I40692e179fc25a7f0bd63fa09bb55f4a78094a74
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoreference dataform component- fixed errors in spec 86/92386/2
Arundathi Patil [Wed, 31 Jul 2019 16:21:10 +0000 (21:51 +0530)]
reference dataform component- fixed errors in spec

removed test cases testing unimplemented methods in refernce dataform
component

Issue-ID: APPC-1632
Change-Id: I62eca988d50817880d6983b4b3403c6f57f84a0f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agoAdd release file for 1.6.0 release 21/92621/2
Patrick Brady [Fri, 2 Aug 2019 21:24:51 +0000 (14:24 -0700)]
Add release file for 1.6.0 release

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

4 years agoUpdate INFO.yaml 57/92457/1
Taka Cho [Thu, 1 Aug 2019 12:14:03 +0000 (08:14 -0400)]
Update INFO.yaml

Remove Joss from committer

Issue-ID: APPC-1685
Change-Id: Ide96e7b33eb9715125f1dd8e13ea0bc16306611c
Signed-off-by: Taka Cho <takamune.cho@att.com>
4 years agotemplate-configuration spec- fixed errors 03/90403/2
Arundathi Patil [Mon, 24 Jun 2019 16:17:28 +0000 (21:47 +0530)]
template-configuration spec- fixed errors

Fixed errors in test file.

Issue-ID: APPC-1632
Change-Id: I12e86f230550fd30042917d46cd6ee141320dc49
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
4 years agokeep the right package version for CDT 28/92228/2
Taka Cho [Mon, 29 Jul 2019 18:21:20 +0000 (14:21 -0400)]
keep the right package version for CDT

updated package.json to keep the right version

Issue-ID: APPC-1673
Change-Id: I7500eb38d25e0f1348928eafd1e2f92e4420752e
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoremove upload key file button 20/87920/1
Taka Cho [Thu, 16 May 2019 19:36:36 +0000 (15:36 -0400)]
remove upload key file button

depreciate the upload key function

Change-Id: Ibc26b3e436885294bfd7a3e0f15805ad2ef79391
Issue-ID: APPC-1605
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoFix duplicate fs definition 86/87786/1
Patrick Brady [Wed, 15 May 2019 16:38:23 +0000 (09:38 -0700)]
Fix duplicate fs definition

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

5 years agoadd node.js api server for CDT 11/87711/3
Taka Cho [Tue, 14 May 2019 21:37:24 +0000 (17:37 -0400)]
add node.js api server for CDT

/api call need node.js api server
to fix when clicking the Synchronize
Definition Parameter.

Change-Id: I4a3fd1ba045ed41fb2fdfec3b8f0364cd6ec05f5
Issue-ID: APPC-1600
Signed-off-by: Taka Cho <takamune.cho@att.com>
5 years agoRemove staging plugin 84/87284/1
Patrick Brady [Wed, 8 May 2019 21:16:49 +0000 (14:16 -0700)]
Remove staging plugin

Remove staging plugin to allow the new jenkins
staging jobs to work.

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

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>