aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-04-03JUnit tests addedGanesh Chandrasekaran1-0/+37
Issue-ID: CCSDK-232 Change-Id: I4ee2201510b6ad43ec74d27cbc781da75f182cef Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-04-02RESTapiCallNode make request without content-typeGanesh Chandrasekaran2-2/+7
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>
2018-03-16Merge "Fix restapi-call-node install"Dan Timoney1-1/+1
2018-03-15Fix restapi-call-node installTimoney, Dan (dt5972)1-1/+1
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>
2018-03-13add request body paramSmokowski, Kevin (ks6305)2-0/+4
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>
2018-03-09restore previous template behaviorSmokowski, Kevin (ks6305)2-3/+2
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>
2018-02-27Nitrogen port : sli/pluginsDan Timoney19-613/+339
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>
2017-11-21Fix version.propertiesDan Timoney1-1/+1
Reset patch version to 0 in version.properties Change-Id: I08e769b75c455c94d7e989030caba313f1897fb7 Issue-ID: CIMAN-120 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-17Bump minor versionJessica Wagantall9-15/+15
Bump minor version in preparation for Amsterdam branching. Change-Id: I514e87be3f1291a1fa8bf9e9afb3a10066d71779 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-16Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: I421e94b159e68e3371729709523f21a58dd3613f Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Rm docs in repo consolidated w/ ccsdk/distributionRich Bennett6-121/+0
Change-Id: I2741cdfac2d387b18f6eb9bd6be37dd1598989ca Issue-ID: DOC-130 Signed-off-by: Rich Bennett <rb2745@att.com>
2017-11-09Roll to version 0.1.1-SNAPSHOTDan Timoney10-16/+16
Roll to next release version Change-Id: I3d10e4d8e35c844f4eac305332b160cdb533efc3 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-08Fix doc8 errorsMorgan Richomme1-2/+0
JIRA: CCSDK-139 Change-Id: Ib509dfddad976679a03cb015dc8ac505e03046fa Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-11-06Purging Fabric discovery plugin codev0.1.01.0.0-ONAP1.0.0-AmsterdamArun S. Yerra18-1127/+0
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>
2017-10-25Use version 0.1.0 of parentDan Timoney2-3/+3
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>
2017-10-17Add JSON template for VoLTE use caseramu.n3-2/+72
*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>
2017-10-13Update VoLTE underlay JSON templateramu.n3-5/+30
*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>
2017-10-12Remove null checksurya-huawei1-4/+2
*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>
2017-10-11Add readthedocs sections for sli/pluginsDan Timoney6-3/+118
Add readthedocs sections for sli/plugins Change-Id: Ic5292d16f9fd4f07cadba775aac80d6fea10e647 Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-11Update underlay JSON template for VoLTE use caseramu.n2-4/+4
Fix closing braces in l3smvpntemplate.json file Change-Id: I1c891d46591f184a9cc89ca3d15b3046932ab05f Issue-Id: SDNC-108 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-29Update VoLTE underlay JSON templateramu.n7-28/+167
*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>
2017-09-28Merge "Setup ReadTheDocs"Dan Timoney1-0/+8
2017-09-28Merge "SPTN l3vpn template"Dan Timoney1-0/+180
2017-09-28Merge "Implement test cases for fabric discovery plugin"Dan Timoney1-0/+21
2017-09-28Setup ReadTheDocsBrian Freeman1-0/+8
Issue-ID: CCSDK-107 Change-Id: I8b0715d07c50734217806ac24e5610b5f478ce04 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-28Merge "Added l2-dci json template and updated l3-dci"Dan Timoney5-9/+156
2017-09-28Added l2-dci json template and updated l3-dciGaurav Agrawal5-9/+156
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>
2017-09-28SPTN l3vpn template黄卓垚101122151-0/+180
Change-Id: I3349a43e2dbd8948fbc5573a6c064c45e7a443de Issue-ID: SDNC-91 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
2017-09-28Add VoLTE underlay JSON templateramu.n2-0/+192
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>
2017-09-27Merge "Add VoLTE Overlay Json template"Dan Timoney1-0/+34
2017-09-27Add VoLTE Overlay Json templateMarcus G K Williams1-0/+34
Issue-Id: SDNC-43 Change-Id: I9569f853a722dd43ef8723d2ed16077b5b02a1ff Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-27Add underlay JSON template validationramu.n3-2/+254
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>
2017-09-25Remove unused importssurya-huawei1-3/+0
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>
2017-09-24Implement test cases for fabric discovery pluginArun S. Yerra1-0/+21
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>
2017-09-22Implement test cases for fabric discovery pluginArun S. Yerra1-0/+23
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>
2017-09-22Merge "Fix sli dependency"Dan Timoney3-3/+3
2017-09-21Merge "Replace type specification with diamond operator"Dan Timoney1-2/+2
2017-09-21Merge "Refinements and test additions to XmlParser"Dan Timoney3-1/+96
2017-09-21Replace type specification with diamond operatorsurya-huawei1-2/+2
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>
2017-09-20Merge "Use entrySet instead of keySet"Dan Timoney1-12/+13
2017-09-20Use entrySet instead of keySetsurya-huawei1-12/+13
*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>
2017-09-20Refinements and test additions to XmlParserGaurav Agrawal3-1/+96
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>
2017-09-20Changes to RestApiCall pluginGaurav Agrawal3-33/+69
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>
2017-09-19Remove unthrown exceptionDan Timoney1-3/+3
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>
2017-09-19Merge "Implement test case for Fabric Discovery Plugin"Dan Timoney1-0/+35
2017-09-19Merge "Refinements to RestApiCall plugin"Dan Timoney6-82/+114
2017-09-19Merge "Using specific exceptions in RestApiCallNode"Dan Timoney2-34/+154
2017-09-19Merge "Implement fabric discovery DG parameter validation"Dan Timoney1-1/+22
2017-09-19Fix sli dependencyBrian Freeman3-3/+3
Issue-ID: SDNC-86 Change-Id: I4b6a4ab0ba8532802486f18804421dc76fc4c862 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-19Refinements to RestApiCall pluginGaurav Agrawal6-82/+114
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>