gaurav [Tue, 21 Aug 2018 13:30:55 +0000 (19:00 +0530)]
Update 3rd party dependency version
Updated 3rd party dependency version for RestconfClient.
Change-Id: If5bf93030ae98ea5479ba1f70e1cb22e900a7f5d
Issue-ID: CCSDK-325
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
janani b [Thu, 23 Aug 2018 09:11:22 +0000 (14:41 +0530)]
Implementation of Data Format serializer
Data format serializer code
Issue-ID: CCSDK-376
Change-Id: Ie1954e6237374411ce3f07039030027042581d33
Signed-off-by: janani b <janani.b@huawei.com>
Dan Timoney [Tue, 21 Aug 2018 20:39:10 +0000 (20:39 +0000)]
Merge "Add log files to ignore list"
gaurav [Tue, 21 Aug 2018 11:59:41 +0000 (17:29 +0530)]
Add log files to ignore list
Adding sshapi eelf log files to ignore list.
Change-Id: Id4bdaef80eeaa729c5150cf82130503daf5731f4
Issue-ID: CCSDK-288
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Vidyashree Rama [Tue, 21 Aug 2018 08:17:16 +0000 (13:47 +0530)]
Handling identity ref type
Handling identity ref type in properties node serializer
Issue-ID: CCSDK-378
Change-Id: Ie74088a5e2449c09f9712048f1856990b81d05e7
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Vidyashree Rama [Fri, 17 Aug 2018 11:45:20 +0000 (17:15 +0530)]
Unit test and decode implementation
properties node serializer decode implementation and unit test cases
Issue-ID: CCSDK-378
Change-Id: I586fd534f441eb361e8d75af18cc778f7ad4cc67
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
janani b [Fri, 17 Aug 2018 10:02:26 +0000 (15:32 +0530)]
Outline code for Restconf Api Call Node
Initial level implementation for Restconf api call node
Issue-ID: CCSDK-372
Change-Id: I9d77f4c7806b0e239a3ecb134424f4fc09d6865e
Signed-off-by: janani b <janani.b@huawei.com>
Vidyashree Rama [Fri, 17 Aug 2018 06:51:05 +0000 (12:21 +0530)]
Implementation for properties node serializer
properties node serializer implementation
Issue-ID: CCSDK-378
Change-Id: I4eeecb45227e4152d9ff81551fd98efdd1371f84
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Vidyashree Rama [Fri, 17 Aug 2018 03:57:24 +0000 (09:27 +0530)]
Add abstract properties node tree
properties node tree definations
Issue-ID: CCSDK-379
Change-Id: Ib498cd57b0de5e67a31764f2fe46a2aeed7ac3f4
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
Smokowski, Kevin (ks6305) [Tue, 14 Aug 2018 14:43:31 +0000 (14:43 +0000)]
dme2 & ueb support
fix dme2 & ueb support in rest api call node
Change-Id: Ia387c0be8e907900e0b808879582048624dbef36
Issue-ID: CCSDK-459
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Vidyashree Rama [Thu, 9 Aug 2018 06:51:34 +0000 (12:21 +0530)]
RestconfDiscoveryNode Plugin implementation
Initial code submit for supporting RestconfDiscoveryNode Plugin implementation
Issue-ID: CCSDK-374
Change-Id: Ieb0b622b135ea78ef58bd36dfe171f4117bc3328
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
gaurav [Tue, 14 Aug 2018 11:25:13 +0000 (16:55 +0530)]
Fix ccsdk/plugin compilation issue
Added pom dependency of eelf-core in sshapi-call-node provider
to fix broken build of plugins.
Change-Id: I8a69798f896278ffa50c4a09fadf1c064ea49fff
Issue-ID: CCSDK-457
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Smokowski, Kevin (ks6305) [Tue, 7 Aug 2018 19:07:35 +0000 (19:07 +0000)]
add template node
add tempalte node implementation
Change-Id: Ifd3e6e7f2a7b9ff7029b523eab50274e440652cc
Issue-ID: CCSDK-440
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Ganesh Chandrasekaran [Fri, 3 Aug 2018 09:06:37 +0000 (18:06 +0900)]
mocked testcases added
Issue-ID: CCSDK-433
Change-Id: I9961df9131b4672a99601b31ed2e9312d0840d6b
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Ganesh Chandrasekaran [Thu, 2 Aug 2018 06:06:36 +0000 (15:06 +0900)]
dependancy and tests cases added
Issue-ID: CCSDK-407
Change-Id: I0450875b0a29cc4612e0979e3d6e97b6c4b398f0
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Dan Timoney [Fri, 27 Jul 2018 20:52:48 +0000 (20:52 +0000)]
Merge "SSHApiCallNode sshExec API Impl"
gaurav [Wed, 25 Jul 2018 06:03:13 +0000 (11:33 +0530)]
Adding additional APIs for YANG serializers
Adding APIs for YANG based properties node serializer
Change-Id: Ic76204e0292fdbaede4ff47f4ddda91dcfa3b764
Issue-ID: CCSDK-377
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Ganesh Chandrasekaran [Tue, 24 Jul 2018 07:40:14 +0000 (16:40 +0900)]
SSHApiCallNode sshExec API Impl
Issue-ID: CCSDK-385
Change-Id: I430f9075ced10edb49062fc12091774e91611b32
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
gaurav [Mon, 23 Jul 2018 18:06:17 +0000 (23:36 +0530)]
Adding APIs for YANG serializers
Adding APIs for YANG based data format serializers.
Change-Id: I8e17c475e636aa9bbf39be52d31583565bae8e92
Issue-ID: CCSDK-375
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
gaurav [Wed, 18 Jul 2018 14:09:10 +0000 (19:39 +0530)]
API for RestconfClient
API for RestconfClient including:
- RestconfApiCallNode
- RestconfDiscoveryNode
Change-Id: Ieda6251b91b6d399cd0106993c3fdd1a440d5b0a
Issue-ID: CCSDK-371
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Ganesh Chandrasekaran [Thu, 19 Jul 2018 02:17:06 +0000 (11:17 +0900)]
SSHApiCallNode API definition
Issue-ID: CCSDK-384
Change-Id: I558bb774081074fbd1c541512d767a9ca5d1f866
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
as005h [Tue, 8 May 2018 18:01:50 +0000 (14:01 -0400)]
Share http payload of restapi-call-node
Changes to save request payload to context variable based on
returnRequestPayload flag
Change-Id: I75069f700f34848904204049d6160251ea43578d
Issue-ID: CCSDK-365
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Dan Timoney [Mon, 25 Jun 2018 11:50:48 +0000 (11:50 +0000)]
Merge "CCSDK PropNode can read XML and put to ctx"
Dan Timoney [Mon, 25 Jun 2018 11:50:14 +0000 (11:50 +0000)]
Merge "CCSDK PropNode can read JSON and put to ctx"
Dan Timoney [Sat, 23 Jun 2018 00:51:01 +0000 (00:51 +0000)]
Merge "Add feature aggregator"
Dan Timoney [Fri, 22 Jun 2018 21:08:02 +0000 (21:08 +0000)]
Merge "Capability to avoid surrounding values with quotes"
Timoney, Dan (dt5972) [Fri, 22 Jun 2018 19:53:19 +0000 (15:53 -0400)]
Add feature aggregator
Added feature aggregator ccsdk-sli-plugins-all so that all features
from sli/plugins repo can be added with one install.
Change-Id: I85ff00612ee60e69937c7b10d814cf81198ed51c
Issue-ID: CCSDK-283
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Ganesh Chandrasekaran [Tue, 19 Jun 2018 07:01:12 +0000 (16:01 +0900)]
CCSDK PropNode can read XML and put to ctx
Issue-ID: CCSDK-303
Change-Id: I7104e7f8735d0c1496e93cdb8112e49333b016e9
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Timoney, Dan (dt5972) [Mon, 18 Jun 2018 15:54:35 +0000 (11:54 -0400)]
Update sli/plugins to ODL Oxygen
Minor updates to feature pom.xmls to get clean compile with ODL Oxygen
parent poms.
Change-Id: I8671ad1366b8dc2e79fe206971675ba56a0e2bac
Issue-ID: CCSDK-283
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
sb5356 [Fri, 15 Jun 2018 20:20:12 +0000 (16:20 -0400)]
Capability to avoid surrounding values with quotes
Restapi-call-node: Give opportunity for developer to specify a variable in a JSON template, so that restapi-call-node will know it should not surround the value with quotes.
Change-Id: I844a8fd68f3015cbd6f5b039b8911e903de557ea
Issue-ID: CCSDK-296
Signed-off-by: Stan Bonev <sb5356@att.com>
Ganesh Chandrasekaran [Fri, 15 Jun 2018 01:17:06 +0000 (10:17 +0900)]
CCSDK PropNode can read JSON and put to ctx
Issue-ID: CCSDK-304
Change-Id: I510fe73c3eedc49071e386689090104a761a03a6
CCSDK PropertyNode can now read a JSON file and put to ctx memory
Change-Id: I440ae043c020a08cd869df587916799dd7e3aeea
CCSDK PropertyNode can now read a JSON file and put to ctx memory
Issue-ID: CCSDK-304
Change-Id: Ic06a89c2327d07b31a1f45b9cc57783d8faf370a
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Ganesh Chandrasekaran [Wed, 13 Jun 2018 23:02:31 +0000 (08:02 +0900)]
CCSDK plugin has authType param for DG to sel type
Issue-ID: CCSDK-299
Change-Id: I61a56c873189ccc6ba9985c5121d50e2ad1f3f48
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Ganesh Chandrasekaran [Tue, 12 Jun 2018 09:39:44 +0000 (18:39 +0900)]
support oAuth authentication method
Issue-ID: CCSDK-298
Change-Id: I16d3e15f0250c78b48886c80d9a4427838ae36b3
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Timoney, Dan (dt5972) [Wed, 6 Jun 2018 18:11:23 +0000 (14:11 -0400)]
Roll versions for Casablanca - sli/plugins
Roll to version 0.3.0-SNAPSHOT for Casablanca development
Change-Id: Id71eaf1ac29d2b383e6c99710700b332974c31ef
Issue-ID: CCSDK-295
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Timoney, Dan (dt5972) [Thu, 31 May 2018 18:27:07 +0000 (14:27 -0400)]
Use released parent pom
Update to use release parent pom version 1.0.4
Change-Id: I3bbcdbeb1e8d0e6b02791e9c935c6819dbc2948b
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Timoney, Dan (dt5972) [Wed, 30 May 2018 22:12:49 +0000 (18:12 -0400)]
Roll version to 0.2.4
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of
parent
Change-Id: I3e657bba0043cc713c7ed20883fb975a058be3aa
Issue-ID: CCSDK-291
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Stilwell, David (stilwelld) [Wed, 23 May 2018 21:16:50 +0000 (17:16 -0400)]
Update to release version parent 1.0.3
Update parent version to remove -SNAPSHOT (1.0.3)
Change-Id: I7e790d752edfaad02780a40d3dd4802e915752a7
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
Stilwell, David (stilwelld) [Wed, 23 May 2018 16:47:15 +0000 (12:47 -0400)]
Roll to next snapshot version
Roll to version 0.2.3-SNAPSHOT and update parent to 1.0.3-SNAPSHOT
Change-Id: Idc86fcb6e7cd6c691db61a774a6582f574489a90
Issue-ID: CCSDK-290
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
Timoney, Dan (dt5972) [Thu, 17 May 2018 23:06:07 +0000 (19:06 -0400)]
Update sli/plugins to use 1.0.2 parent
Update pom.xmls to use released 1.0.2 version of parent
Change-Id: I7ce1568347e217e5f9d1978dc620f3a0b52a60a0
Issue-ID: CCSDK-286
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Timoney, Dan (dt5972) [Tue, 15 May 2018 19:40:54 +0000 (15:40 -0400)]
Add blueprint for restapicallnode
Restapicallnode was using spring-dm to advertise itself in
Amsterdam. This no longer is supported in Karaf 4 (Nitrogen) so
need to use Aries Blueprint.
Change-Id: Id78811a5c8c443bcdc8c906e33e57660560ef586
Issue-ID: CCSDK-277
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Jessica Wagantall [Fri, 4 May 2018 00:27:31 +0000 (17:27 -0700)]
Add INFO.yaml file
Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information
Change-Id: I64f9444f3661f221c8616c9d409324441d4c45b4
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Timoney, Dan (dt5972) [Sun, 29 Apr 2018 23:23:36 +0000 (19:23 -0400)]
Roll versions step 5 : sli/plugins poms
Roll versions for next release candidate.
Change-Id: I0492be8c774aa23f1e0ff2bb1944eae2e818e183
Issue-ID: CCSDK-257
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Timoney, Dan (dt5972) [Wed, 18 Apr 2018 06:26:13 +0000 (02:26 -0400)]
Fix release version
Fix release version in version.properties
Change-Id: Ie8e3226e40e78a989a9cb142dd8da4825a3e4e1a
Issue-ID: CCSDK-242
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Ganesh Chandrasekaran [Mon, 2 Apr 2018 23:23:45 +0000 (08:23 +0900)]
JUnit tests added
Issue-ID: CCSDK-232
Change-Id: I4ee2201510b6ad43ec74d27cbc781da75f182cef
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Ganesh Chandrasekaran [Mon, 2 Apr 2018 08:29:53 +0000 (17:29 +0900)]
RESTapiCallNode make request without content-type
currently the RESTAPI adaptor doesn't make a REST request with empty Content-type, this change is to help the adaptor to make request with no Content-type, currently defaulting to application/json. This is to avoid, when some servers throw 415 Unsupported Media Type error, when they dont support JSON response.
Issue-ID: CCSDK-232
Change-Id: I19fbb949f0aad4ea7ca91d6afcac06a5b7f8deed
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Dan Timoney [Fri, 16 Mar 2018 18:10:22 +0000 (18:10 +0000)]
Merge "Fix restapi-call-node install"
Timoney, Dan (dt5972) [Thu, 15 Mar 2018 20:46:09 +0000 (16:46 -0400)]
Fix restapi-call-node install
Restapi-call-node zip includes some packages already installed in
ODL distribution. Prevent it from overwriting them by
unzipping with -n option.
Change-Id: Ie3059465fab05a6d5bd64f93c139094a8a22828f
Issue-ID: CCSDK-208
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Smokowski, Kevin (ks6305) [Tue, 13 Mar 2018 19:13:19 +0000 (19:13 +0000)]
add request body param
allow request body to be passed into rest api call node
Change-Id: I14a79fccb8dc3e29f2ec487bb6ba2f8021a0e498
Issue-ID: CCSDK-210
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Smokowski, Kevin (ks6305) [Wed, 7 Mar 2018 20:02:33 +0000 (20:02 +0000)]
restore previous template behavior
previously this exception was not thrown, it was caught and ignored. This restores backwards compatibility
Change-Id: Ia07c409f47be1269f959134ddbd4aa2898004e7d
Issue-ID: CCSDK-203
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Dan Timoney [Tue, 27 Feb 2018 18:34:16 +0000 (13:34 -0500)]
Nitrogen port : sli/plugins
Update properties-node and restapi-call-node to compile against
ODL Nitrogen
Change-Id: I21f06abb008562d6e351cb780302ed4375f5d3d2
Issue-ID: CCSDK-178
Signed-off-by: Dan Timoney <dtimoney@att.com>
Dan Timoney [Tue, 21 Nov 2017 20:34:54 +0000 (15:34 -0500)]
Fix version.properties
Reset patch version to 0 in version.properties
Change-Id: I08e769b75c455c94d7e989030caba313f1897fb7
Issue-ID: CIMAN-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
Jessica Wagantall [Sat, 18 Nov 2017 00:59:31 +0000 (16:59 -0800)]
Bump minor version
Bump minor version in preparation for Amsterdam
branching.
Change-Id: I514e87be3f1291a1fa8bf9e9afb3a10066d71779
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Jessica Wagantall [Fri, 17 Nov 2017 07:55:07 +0000 (23:55 -0800)]
Bump minor version
Bump minor version in preparation for Amsterdam
branching.
Change-Id: I421e94b159e68e3371729709523f21a58dd3613f
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Rich Bennett [Wed, 15 Nov 2017 11:59:58 +0000 (06:59 -0500)]
Rm docs in repo consolidated w/ ccsdk/distribution
Change-Id: I2741cdfac2d387b18f6eb9bd6be37dd1598989ca
Issue-ID: DOC-130
Signed-off-by: Rich Bennett <rb2745@att.com>
Dan Timoney [Thu, 9 Nov 2017 12:21:42 +0000 (07:21 -0500)]
Roll to version 0.1.1-SNAPSHOT
Roll to next release version
Change-Id: I3d10e4d8e35c844f4eac305332b160cdb533efc3
Issue-ID: CCSDK-141
Signed-off-by: Dan Timoney <dtimoney@att.com>
Morgan Richomme [Wed, 8 Nov 2017 07:54:35 +0000 (08:54 +0100)]
Fix doc8 errors
JIRA: CCSDK-139
Change-Id: Ib509dfddad976679a03cb015dc8ac505e03046fa
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Arun S. Yerra [Mon, 6 Nov 2017 22:56:45 +0000 (14:56 -0800)]
Purging Fabric discovery plugin code
Two files in Fabric Discovery plugin has license issue. Purging this
feature for R1 release, as this feature is not being used in R1 release and
will be reworked in R2 release.
Change-Id: If92d9c96c01e250e59c2bf99a12b95a9d37b197c
Issue-Id: CCSDK-138
Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
Dan Timoney [Wed, 25 Oct 2017 20:55:57 +0000 (16:55 -0400)]
Use version 0.1.0 of parent
Update to use version 0.1.0 (released version) of parent pom
Change-Id: I79234c02f70837da35045f97ceafdd6d176daa7f
Issue-ID: CCSDK-80
Signed-off-by: Dan Timoney <dtimoney@att.com>
ramu.n [Tue, 17 Oct 2017 15:38:02 +0000 (21:08 +0530)]
Add JSON template for VoLTE use case
*For ipwan controller first need to get authentication token and add to customHttpHeaders
Change-Id: I7be6e75f9712bc2214ee4a1804189162675c8a25
Issue-Id: SDNC-131
Signed-off-by: Ramu N <ramu.n@huawei.com>
ramu.n [Fri, 13 Oct 2017 10:48:50 +0000 (16:18 +0530)]
Update VoLTE underlay JSON template
*Fix missing site element in l3smsitetemplate.json file
*Add UT test case delete L3VPN
Change-Id: Iee56d30746328e8f094a5c45c6e2e577b6989bf9
Issue-Id: SDNC-108
Signed-off-by: Ramu N <ramu.n@huawei.com>
surya-huawei [Thu, 12 Oct 2017 08:10:39 +0000 (13:40 +0530)]
Remove null check
*Move string literal to the left side of comparison
Null check is performed by String.equalsIgnorecase hence removed
Issue-Id: CCSDK-117
Change-Id: I48c8815f9f20a1c6e86c8b4af8966c9945d5b0c7
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Dan Timoney [Wed, 11 Oct 2017 15:58:11 +0000 (11:58 -0400)]
Add readthedocs sections for sli/plugins
Add readthedocs sections for sli/plugins
Change-Id: Ic5292d16f9fd4f07cadba775aac80d6fea10e647
Issue-ID: CCSDK-107
Signed-off-by: Dan Timoney <dtimoney@att.com>
ramu.n [Wed, 11 Oct 2017 09:05:39 +0000 (14:35 +0530)]
Update underlay JSON template for VoLTE use case
Fix closing braces in l3smvpntemplate.json file
Change-Id: I1c891d46591f184a9cc89ca3d15b3046932ab05f
Issue-Id: SDNC-108
Signed-off-by: Ramu N <ramu.n@huawei.com>
ramu.n [Fri, 29 Sep 2017 01:02:52 +0000 (06:32 +0530)]
Update VoLTE underlay JSON template
*Add vrf-attribute configuration
*Add BGP protocol type for ac
Change-Id: I6deb5b4ec6d71b18e8d6b67aadaba18b7a27c47b
Issue-Id: SDNC-108
Signed-off-by: Ramu N <ramu.n@huawei.com>
Dan Timoney [Thu, 28 Sep 2017 13:12:26 +0000 (13:12 +0000)]
Merge "Setup ReadTheDocs"
Dan Timoney [Thu, 28 Sep 2017 13:03:40 +0000 (13:03 +0000)]
Merge "SPTN l3vpn template"
Dan Timoney [Thu, 28 Sep 2017 13:02:05 +0000 (13:02 +0000)]
Merge "Implement test cases for fabric discovery plugin"
Brian Freeman [Thu, 28 Sep 2017 12:05:43 +0000 (12:05 +0000)]
Setup ReadTheDocs
Issue-ID: CCSDK-107
Change-Id: I8b0715d07c50734217806ac24e5610b5f478ce04
Signed-off-by: Brian Freeman <bf1936@att.com>
Dan Timoney [Thu, 28 Sep 2017 10:37:17 +0000 (10:37 +0000)]
Merge "Added l2-dci json template and updated l3-dci"
Gaurav Agrawal [Thu, 28 Sep 2017 09:50:37 +0000 (15:20 +0530)]
Added l2-dci json template and updated l3-dci
Following changes are included:
1) Added l2-dci template
2) Updated l3-dci template to handle paramaters generically for l2 and l3
3) Leaf-List handling
4) Added testcases for l2 and l3 template.
Change-Id: I3142ae35286ea3c55927bedf5a071aaff5b15401
Issue-Id: SDNC-103
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
黄卓垚10112215 [Thu, 28 Sep 2017 06:34:15 +0000 (14:34 +0800)]
SPTN l3vpn template
Change-Id: I3349a43e2dbd8948fbc5573a6c064c45e7a443de
Issue-ID: SDNC-91
Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
ramu.n [Thu, 28 Sep 2017 03:15:27 +0000 (08:45 +0530)]
Add VoLTE underlay JSON template
Add VoLTE underlay JSON template used to communicate with 3rd party controller of IP WAN Network
Change-Id: Icc93da198c7a1f3d9ed462e178571e316fde3f83
Issue-Id: SDNC-90
Signed-off-by: Ramu N <ramu.n@huawei.com>
Dan Timoney [Wed, 27 Sep 2017 19:30:35 +0000 (19:30 +0000)]
Merge "Add VoLTE Overlay Json template"
Marcus G K Williams [Wed, 27 Sep 2017 17:12:50 +0000 (10:12 -0700)]
Add VoLTE Overlay Json template
Issue-Id: SDNC-43
Change-Id: I9569f853a722dd43ef8723d2ed16077b5b02a1ff
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
ramu.n [Wed, 27 Sep 2017 13:14:14 +0000 (18:44 +0530)]
Add underlay JSON template validation
Add UT test cases to validate the JSON template used to communicate with 3rd party controller of IP WAN Network
Change-Id: I251f5cabecdd7e4f02d0be3bb27d7af4a355c077
Issue-Id: SDNC-90
Signed-off-by: Ramu N <ramu.n@huawei.com>
surya-huawei [Fri, 22 Sep 2017 13:14:07 +0000 (18:44 +0530)]
Remove unused imports
Removed unused imports to increase the code's readability
Issue-Id: CCSDK-87
Change-Id: Ib8f9dbe1e0a05567c75f7fcd46ab024f5b433fef
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Arun S. Yerra [Mon, 25 Sep 2017 04:42:08 +0000 (21:42 -0700)]
Implement test cases for fabric discovery plugin
This change adds a negative test case to test input from
directed graph to specify whether to start or stop
listening to domain controller notifications.
Issue-id: CCSDK-96
Change-Id: I19e904c39e58e81d39079e233c68383496d8bc59
Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
Arun S. Yerra [Fri, 22 Sep 2017 22:20:32 +0000 (15:20 -0700)]
Implement test cases for fabric discovery plugin
This change adds a negative test case to test input from
directed graph to start listening to domain controller
notifications.
Issue-id: CCSDK-96
Change-Id: I2dd1a4d2264df4c142362e242e04bf9495e0351a
Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
Dan Timoney [Fri, 22 Sep 2017 19:46:15 +0000 (19:46 +0000)]
Merge "Fix sli dependency"
Dan Timoney [Thu, 21 Sep 2017 14:50:05 +0000 (14:50 +0000)]
Merge "Replace type specification with diamond operator"
Dan Timoney [Thu, 21 Sep 2017 14:45:41 +0000 (14:45 +0000)]
Merge "Refinements and test additions to XmlParser"
surya-huawei [Thu, 21 Sep 2017 11:17:19 +0000 (16:47 +0530)]
Replace type specification with diamond operator
Major issue in sli/plugins module
*Used diamond operator to reduce verbosity of generics code
*Removed unnecessary parantheses as they can be misleading
sometimes
Issue-Id: CCSDK-87
Change-Id: I81c0b566f5beb81d3733549a2f9de81b50d6814c
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Dan Timoney [Wed, 20 Sep 2017 20:00:51 +0000 (20:00 +0000)]
Merge "Use entrySet instead of keySet"
surya-huawei [Wed, 20 Sep 2017 11:20:20 +0000 (16:50 +0530)]
Use entrySet instead of keySet
*Iterating over map entries with entrySet
This is done because both key and value are needed and
iterating over entryset is more efficient than keyset
Issue-Id: CCSDK-87
Change-Id: I31d14239c8f7300ff2d3a629683e00b42e61ad86
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Gaurav Agrawal [Wed, 20 Sep 2017 07:13:42 +0000 (12:43 +0530)]
Refinements and test additions to XmlParser
Changes includes
1) Added validation for invalid length
2) Added testcases to test length
Change-Id: Iefd56ca470382be139f185fdf84b6c0de0fa99f6
Issue-Id: CCSDK-100
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Gaurav Agrawal [Wed, 20 Sep 2017 06:18:54 +0000 (11:48 +0530)]
Changes to RestApiCall plugin
Changes includes
1. Perform validation of URL syntax during parameter parsing phase.
2. StringBuilder to replace string concatenation within loop.
3. Testcase addition.
4. Sonar critical issue fix for XmlJsonUtil
5) Use logger built-in string formatting rather then string concatenation
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL
Change-Id: I884af51023bbd4983c43707aca97c398d24fc9de
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Dan Timoney [Wed, 20 Sep 2017 00:48:48 +0000 (20:48 -0400)]
Remove unthrown exception
Merge build fails because catch statement is trying to catch JSONException
which is not thrown in body of try
Change-Id: I9e29e1698e04f8135799440ca4859aa418d1c54d
Issue-ID: CCSDK-99
Signed-off-by: Dan Timoney <dtimoney@att.com>
Dan Timoney [Tue, 19 Sep 2017 23:58:57 +0000 (23:58 +0000)]
Merge "Implement test case for Fabric Discovery Plugin"
Dan Timoney [Tue, 19 Sep 2017 23:58:40 +0000 (23:58 +0000)]
Merge "Refinements to RestApiCall plugin"
Dan Timoney [Tue, 19 Sep 2017 23:54:39 +0000 (23:54 +0000)]
Merge "Using specific exceptions in RestApiCallNode"
Dan Timoney [Tue, 19 Sep 2017 23:46:53 +0000 (23:46 +0000)]
Merge "Implement fabric discovery DG parameter validation"
Brian Freeman [Tue, 19 Sep 2017 16:53:20 +0000 (16:53 +0000)]
Fix sli dependency
Issue-ID: SDNC-86
Change-Id: I4b6a4ab0ba8532802486f18804421dc76fc4c862
Signed-off-by: Brian Freeman <bf1936@att.com>
Gaurav Agrawal [Tue, 19 Sep 2017 12:10:54 +0000 (17:40 +0530)]
Refinements to RestApiCall plugin
Changes includes:
1) Check for null in JsonParser.convertToProperties() which can otherwise result in null pointer exception
2) Use logger built-in string formatting rather then string concatenation
3) Use StringBuilder for multiple string concatenations
4) Making utility classes final and defines private constructor for them
5) Added testcases/testpoints
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL
Change-Id: Ic047b6d0369827a38a98c52e8365f1fe7266840f
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Gaurav Agrawal [Tue, 19 Sep 2017 10:08:32 +0000 (15:38 +0530)]
Using specific exceptions in RestApiCallNode
Changes includes
1) Sonar critical fixes stating use of specific exceptions instead of generic one
2) Throw exception for invalid input of repeat times.
3) Added testcases
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL
Change-Id: I2633f857e161bf7068c51ef835b7c2cd5eb5aa62
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
surya-huawei [Tue, 19 Sep 2017 10:18:21 +0000 (15:48 +0530)]
Fix Sonar Issue
One major issue in sli/plugins module
*Making anonymous inner class a lambda
for better code readabilty
Issue-Id: CCSDK-87
Change-Id: Ib650546c4c2c86411744379fe5beae828403453d
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Arun S. Yerra [Tue, 19 Sep 2017 07:38:58 +0000 (00:38 -0700)]
Implement test case for Fabric Discovery Plugin
Fabric Discovery plugin implements framework to connect to fabric
update notifications from local domain controllers. This task is to implement
unit test case for this module.
Issue-Id: CCSDK-96
Change-Id: I3387f248e693a7da6b4817bc27f87dbc86aea806
Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
Arun S. Yerra [Tue, 19 Sep 2017 06:23:54 +0000 (23:23 -0700)]
Implement fabric discovery DG parameter validation
Directed Graph to establish notification stream session with local domain
controller passes the REST notification server address. It also passes a
a boolean parameter to to either start or stop the session. This change
adds logic to validate these input parameters,
Issue-Id: CCSDK-88
Change-Id: I3fa05f5badeafbaa15e5ae89a3a60b8e237f212b
Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
Dan Timoney [Mon, 18 Sep 2017 19:21:48 +0000 (19:21 +0000)]
Merge "Implement framework to process REST notifications"
Arun S. Yerra [Tue, 12 Sep 2017 01:57:40 +0000 (18:57 -0700)]
Implement framework to process REST notifications
Global SDNC controller needs information about network Devices
(mostly PNFs) so as to instantiate/configure service. Domain Controllers
control/manage the network devices within the fabric. This task
is to implement RESTCONF notification processing framework, so that
Global SDNC controller can process notifications from Domain controllers.
Change-Id: Ia5edb5006ac3fd4ec71e55f92a05e79e40ce76d2
Issue-Id: CCSDK-88
Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>
surya-huawei [Sun, 17 Sep 2017 17:55:14 +0000 (23:25 +0530)]
Fix Sonar Issue in sli/plugins module
One major issue
* move string literal to left side
of string comparison
Issue-Id: CCSDK-87
Change-Id: I1277c4c5515bd45ad6854c63cf6160f17b7725d0
Signed-off-by: surya-huawei <a.u.surya@huawei.com>