summaryrefslogtreecommitdiffstats
path: root/restapi-call-node/provider/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-09-18Release ccsdk/sli/plugins0.5.4jenkins-releng1-2/+2
2019-07-23configurable param resolutionAgarwal, Ruchira (ra1926)3-22/+54
support config parameter resolution to k8s secret value Issue-ID: CCSDK-1502 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I8acc98fa3fdd9ba46c617b4d0113086c1e889997
2019-05-29implement generic retry and partners in restapicallnodeSmokowski, Kevin (ks6305)3-278/+597
implement generic retry and partners in restapicallnode Change-Id: I436622dda5a5a83b029c935b929f43e05d37a2a0 Issue-ID: CCSDK-1343 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-05-22rest api call node unit testsSmokowski, Kevin (ks6305)7-6/+43
rest api call node unit test added for the case in which a template mixes simple and complex json objects. Change-Id: I6921d6e328b3593464d82b7a45b1844cd88c3476 Issue-ID: CCSDK-1355 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-05-06Restapi: DELETE with payload doesn't workStan Bonev1-32/+49
Change-Id: I50eeea493197010aba4b37af97dcedb446ed5d10 Issue-ID: CCSDK-1305 Signed-off-by: Stan Bonev <sb5356@att.com>
2019-04-17Restapicallnode with cookie based authGaurav Agrawal2-1/+64
Validate the cookie based auth feature of RestApiCallNode Fix multipart form data test to stop server after completion to avoid impacting other testcases Change-Id: I221b668978abf630f35cbb213687a25cc0de8b79 Issue-ID: CCSDK-239 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2019-04-16Add test case for multi part form dataVidyashree Rama2-0/+71
Add test case for multipart form data in restapicallnode Issue-ID: CCSDK-239 Change-Id: Icad15bce57455ed2c1cbf4779cf8b0820fa24dc9 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-16Add support for multi part form dataGaurav Agrawal1-0/+27
Add support for multipart form data in CCSDK Change-Id: Iacc35efe28b9d91afcfc1e87e0faf41fc74d5c8a Issue-ID: CCSDK-239 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2019-04-12Invalid package name for restapicallnode testVidyashree Rama4-4/+4
Invalid package name for restapicallnode test Issue-ID: CCSDK-1218 Change-Id: Ie0275fa333183dc017c1cf0cc65a4cad87b226f0 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-10-04Add mandatory empty construct to json templateshashikanth.vh4-1/+89
Restapicallnode remove empty parameter from json template, if template mandates empty parameter to be present then it should not be removed. Change-Id: I075e0858f956eb3aff87d2a7387b55caa3310568 Issue-ID: CCSDK-607 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-07-19SSHApiCallNode API definitionGanesh Chandrasekaran4-4/+4
Issue-ID: CCSDK-384 Change-Id: I558bb774081074fbd1c541512d767a9ca5d1f866 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-06-15Capability to avoid surrounding values with quotessb53561-0/+6
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>
2018-06-14CCSDK plugin has authType param for DG to sel typeGanesh Chandrasekaran1-0/+137
Issue-ID: CCSDK-299 Change-Id: I61a56c873189ccc6ba9985c5121d50e2ad1f3f48 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-06-12support oAuth authentication methodGanesh Chandrasekaran2-0/+28
Issue-ID: CCSDK-298 Change-Id: I16d3e15f0250c78b48886c80d9a4427838ae36b3 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
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-03-09restore previous template behaviorSmokowski, Kevin (ks6305)1-1/+1
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>
2017-10-17Add JSON template for VoLTE use caseramu.n2-2/+47
*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.n2-3/+26
*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-11Update underlay JSON template for VoLTE use caseramu.n1-2/+2
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.n4-15/+99
*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-28Added l2-dci json template and updated l3-dciGaurav Agrawal3-1/+119
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-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-21Merge "Refinements and test additions to XmlParser"Dan Timoney2-0/+95
2017-09-20Refinements and test additions to XmlParserGaurav Agrawal2-0/+95
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 Agrawal1-0/+27
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-19Merge "Refinements to RestApiCall plugin"Dan Timoney3-14/+21
2017-09-19Refinements to RestApiCall pluginGaurav Agrawal3-14/+21
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>
2017-09-19Using specific exceptions in RestApiCallNodeGaurav Agrawal1-2/+81
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>
2017-08-23Conform ccsdk/sli/plugins to ONAP StyleMarcus G K Williams7-359/+404
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>
2017-08-15Port sli/plugins to CarbonDan Timoney6-12/+12
Updated sli/plugins to compile against OpenDaylight Carbon SR1 Change-Id: I5ca937a5a9b51cb0dadd3648c71fe2c5dcefdcf1 Issue-ID: CCSDK-26 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-10Refactor plugins to org onap ccsdkStilwell, David (stilwelld)6-16/+16
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>
2017-08-01[CCSDK-6] Populate seed codeDan Timoney8-0/+806
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>