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>
Dan Timoney [Thu, 14 Sep 2017 20:02:25 +0000 (16:02 -0400)]
Use oparent-odlparent in sli/plugins
Update sli/plugins to use oparent-odlparent, used by latest version
of ccsdk odlparent-carbon-sr1 parent.
Change-Id: I315d3e0762f86d1a994c6b0d5c35b2f681b7e538
Issue-ID: CCSDK-43
Signed-off-by: Dan Timoney <dtimoney@att.com>
surya-huawei [Thu, 14 Sep 2017 11:12:27 +0000 (16:42 +0530)]
Fix Sonar Issues
few critical/major issues in sli/plugins module
Issue-Id: CCSDK-87
Change-Id: I4fc33df4ed782670252c9b550349f45b6618c77c
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
surya-huawei [Mon, 11 Sep 2017 12:21:24 +0000 (17:51 +0530)]
Fix Sonar Issues
Few major issues in Restapi call node
Issue-Id: CCSDK-87
Change-Id: Ieb733fcf178cecb9983b5135be8d7737cb42a1f3
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Jessica Wagantall [Fri, 8 Sep 2017 18:53:50 +0000 (11:53 -0700)]
Cleanup project's name in Sonar
The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.
Change-Id: I5ea954dd39d9ca8e083978b1130393001b3e36be
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
shashikanth [Fri, 8 Sep 2017 13:16:42 +0000 (18:46 +0530)]
Fix Blocker/Critical sonar issues
Fix Blocker/Critical sonar issues in vnfapi module
https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=BLOCKER
Issue-Id: CCSDK-67
Change-Id: I6393ebbaf4bd6dc2dea4a325f2a7d106ba20dd81
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
surya-huawei [Thu, 7 Sep 2017 13:10:47 +0000 (18:40 +0530)]
Fix sonar issues for ccsdk plugin
few major issues
https://sonar.onap.org/dashboard/index?id=org.onap.ccsdk.sli.plugins%3Arestapi-call-node-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fccsdk%2Fsli%2Fplugins%2Frestapicall%2FRestapiCallNode.java
Issue-ID: SDNC-75
Change-Id: Ida6ea182545bf57513bcd958519e3b50dfa004b2
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
Marcus G K Williams [Fri, 1 Sep 2017 22:56:15 +0000 (15:56 -0700)]
Enable surefire unit testing
Issue-Id: CCSDK-67
Change-Id: I428e0b03f94559929095c7a3fbf2af55e6567f6b
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Dan Timoney [Tue, 29 Aug 2017 12:57:00 +0000 (08:57 -0400)]
Cleanup artifactId for ccsdk/sli/plugins
ArtifactId for ccsdk/sli/plugins pom.xml should not be identical to that for
sdnc/plugins, otherwise import to Eclipse of both will be confusing
Updated parent artifactId in each module pom.xml under ccsdk/sli/plugins
Change-Id: I13d0d09c9c6f125011942bfe700f6a2b3d1c271b
Issue-ID: CCSDK-70
Signed-off-by: Dan Timoney <dtimoney@att.com>
Dan Timoney [Wed, 23 Aug 2017 19:09:39 +0000 (19:09 +0000)]
Merge "Conform ccsdk/sli/plugins to ONAP Style"
Marcus G K Williams [Wed, 23 Aug 2017 18:47:08 +0000 (11:47 -0700)]
Conform ccsdk/sli/plugins to ONAP Style
Per ONAP Style Guide:
1. Convert tabs to 4 spaces.
2. Break lines to be less than 120 characters
3. Clean ecomp references
4. Remove extraneous spaces
Issue-Id: CCSDK-1
Change-Id: I5638326170aa3ab26774b373ab573643840e97ab
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Marcus G K Williams [Wed, 23 Aug 2017 18:20:07 +0000 (11:20 -0700)]
Remove obsolete settings.xml files
Issue-Id: CCSDK-1
Change-Id: I73a814f27ca83a3a78e35cea34a7516b705c5961
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Dan Timoney [Tue, 15 Aug 2017 14:18:56 +0000 (10:18 -0400)]
Port sli/plugins to Carbon
Updated sli/plugins to compile against OpenDaylight Carbon SR1
Change-Id: I5ca937a5a9b51cb0dadd3648c71fe2c5dcefdcf1
Issue-ID: CCSDK-26
Signed-off-by: Dan Timoney <dtimoney@att.com>
Stilwell, David (stilwelld) [Thu, 10 Aug 2017 00:50:12 +0000 (00:50 +0000)]
Refactor plugins to org onap ccsdk
Refactor code to use new package name org.onap.ccsdk.sli.plugins
Change-Id: Ia5399b21e95d556890aef5ad27437f1ac120ef8d
Issue-ID: CCSDK-21
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
Dan Timoney [Wed, 19 Jul 2017 00:35:53 +0000 (20:35 -0400)]
[CCSDK-6] Populate seed code
Add seed code for sli/plugins repository
Changed groupId to org.onap.ccsdk.sli.plugins
Updated to compile against CCSDK version of SLI
Change-Id: Ib392530ea79b8544087692964bd65179896aa595
Signed-off-by: Dan Timoney <dtimoney@att.com>
Jessica Wagantall [Tue, 27 Jun 2017 21:36:10 +0000 (21:36 +0000)]
Initial empty repository