summaryrefslogtreecommitdiffstats
path: root/restapi-call-node
AgeCommit message (Collapse)AuthorFilesLines
2018-12-13Merge "Sonar Fix: HttpMethod.java"Dan Timoney1-5/+6
2018-12-12Sonar Fix: RetryPolicy.javaArundathi Patil1-7/+7
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-821 Change-Id: Ieac7de3d1bb542394bc876406a4ef0055f4c8ea0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-12Sonar Fix: HttpMethod.javaArundathi Patil1-5/+6
Fixed sonar issues/code-smells across this file. Issue-ID: CCSDK-820 Change-Id: I495f35866607a1403536dfcebc366afd6d7c0ff7 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-13fixed restapicall JsonParser to handle :shashikanth.vh1-4/+16
Fixed Restapicall JsonParser to process ":" if it exist in the response body, this change is required for casablanca too. Change-Id: I83b0769eb13eb8d286cc70adc0e85823d6517dcd Issue-ID: SDNC-519 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-10-25Add authorization header in SSE requestVidyashree Rama1-1/+1
Add authorization header in SSE request to support https Issue-ID: CCSDK-628 Change-Id: I031cbed94e21e1f6d90bc0b00b2d70905d47bd69 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-10-23Roll to initial Dublin snapshotTimoney, Dan (dt5972)6-12/+12
Roll version to initial Dublin snapshot Change-Id: I48713fcb744f895842a52b2d48ba28cccd06817c Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-11Prepare for RC0 releaseTimoney, Dan (dt5972)6-6/+6
Update to prepare for RC0 release build: remove -STAGING tag from release version and use released parent poms. Change-Id: I4411cbd86164f0e2739196d78fd1670f92bc1edd Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-04Add mandatory empty construct to json templateshashikanth.vh6-5/+99
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-09-27Merge "Dependency management for Restconf Client"Dan Timoney2-404/+454
2018-09-26Roll to next snapshotTimoney, Dan (dt5972)6-15/+12
Roll to next snapshot release Change-Id: I179602134b518295b4b6a1d53cea8136ad0ba666 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-26Prepare for release buildTimoney, Dan (dt5972)6-6/+11
Update for release build : (a) Remove -STAGING tag from release version in version.properties (b) Update to use released version of parent poms (c) Disable single-feature-test (which does not work with released dependencies from ONAP) Change-Id: I97ecca353e8e2b4e96699980c90fda9047d22791 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-19Dependency management for Restconf Clientgaurav2-404/+454
Changes includes: - Upgrade Restapicallnode implementation to use latest version of JAX-RS and sun.jersey versions to align with RestconfClient which is using latest versions for SSE support. This solve problem 1 as specified in the JIRA. Change-Id: If641acbca247f8ad0e804161fb97f88c293ba43a Issue-ID: CCSDK-567 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-08-29Implementation for Restconf api call nodejanani b1-56/+115
Restconf Api Call Node Issue-ID: CCSDK-372 Change-Id: I1820e97d54e734ccf73c6f48a9afcc4b59dff549 Signed-off-by: janani b <janani.b@huawei.com>
2018-08-14dme2 & ueb supportSmokowski, Kevin (ks6305)4-95/+24
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>
2018-08-02dependancy and tests cases addedGanesh Chandrasekaran1-3/+3
Issue-ID: CCSDK-407 Change-Id: I0450875b0a29cc4612e0979e3d6e97b6c4b398f0 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-07-24SSHApiCallNode sshExec API ImplGanesh Chandrasekaran1-1/+1
Issue-ID: CCSDK-385 Change-Id: I430f9075ced10edb49062fc12091774e91611b32 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.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-07-13Share http payload of restapi-call-nodeas005h2-0/+7
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>
2018-06-23Merge "Add feature aggregator"Dan Timoney2-3/+3
2018-06-22Merge "Capability to avoid surrounding values with quotes"Dan Timoney2-7/+23
2018-06-22Add feature aggregatorTimoney, Dan (dt5972)2-3/+3
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>
2018-06-18Update sli/plugins to ODL OxygenTimoney, Dan (dt5972)2-49/+47
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>
2018-06-15Capability to avoid surrounding values with quotessb53562-7/+23
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 Chandrasekaran4-17/+232
Issue-ID: CCSDK-299 Change-Id: I61a56c873189ccc6ba9985c5121d50e2ad1f3f48 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-06-12support oAuth authentication methodGanesh Chandrasekaran6-0/+68
Issue-ID: CCSDK-298 Change-Id: I16d3e15f0250c78b48886c80d9a4427838ae36b3 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-06-06Roll versions for Casablanca - sli/pluginsTimoney, Dan (dt5972)6-12/+12
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>
2018-05-31Use released parent pomTimoney, Dan (dt5972)6-6/+6
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>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)6-12/+12
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>
2018-05-23Update to release version parent 1.0.3Stilwell, David (stilwelld)6-6/+6
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>
2018-05-23Roll to next snapshot versionStilwell, David (stilwelld)6-12/+12
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>
2018-05-17Update sli/plugins to use 1.0.2 parentTimoney, Dan (dt5972)6-6/+6
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>
2018-05-15Add blueprint for restapicallnodeTimoney, Dan (dt5972)1-0/+16
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>
2018-04-29Roll versions step 5 : sli/plugins pomsTimoney, Dan (dt5972)6-12/+12
Roll versions for next release candidate. Change-Id: I0492be8c774aa23f1e0ff2bb1944eae2e818e183 Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.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-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 Timoney7-221/+144
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-17Bump minor versionJessica Wagantall4-7/+7
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-09Roll to version 0.1.1-SNAPSHOTDan Timoney4-7/+7
Roll to next release version Change-Id: I3d10e4d8e35c844f4eac305332b160cdb533efc3 Issue-ID: CCSDK-141 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-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 "SPTN l3vpn template"Dan Timoney1-0/+180
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>