summaryrefslogtreecommitdiffstats
path: root/restapi-call-node/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2020-12-01Migrate files from sli-pluginsJessica Wagantall66-5874/+0
Migrate sli-plugins repo into new directory "plugins". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-08-31Restapi-call-node: Fix setting truststore, should not set system propertiesKevin Smokowski2-2/+37
Issue-ID: CCSDK-2637 Change-Id: Ie677cca90d9ed946768e6d93187b20c29ecc2166 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2020-08-12make logs quieterKevin Smokowski1-2/+2
make logs quieter Issue-ID: CCSDK-2645 Change-Id: I6fa80d511d27a334c2481b65ffb7ff2985c62df2 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2020-08-07Restapi-call-node: Fix setting truststore, should not set system propertiessb53562-52/+5
Issue-ID: CCSDK-2637 Signed-off-by: sb5356 <sb5356@att.com> Change-Id: Icbbb7eaa9f904e0d51199efd78e36b1fa1fa702b
2020-06-02restapicallnode fixSmokowski, Kevin (ks6305)2-4/+70
restapicallnode should support commas in urls Issue-ID: CCSDK-2399 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: If177498b6f854aaa6f89811ab8a134f696e7e700
2020-03-24Restapi-call-node: Restoring removal of empty context valuessb53561-0/+4
Issue-ID: CCSDK-2173 Signed-off-by: Stan Bonev <sb5356@att.com> Change-Id: Ib95ad070cec6027192de71740a1400f6a1184488
2020-03-13Restapi-call-node: Faster conversion of context datasb53561-45/+152
Issue-ID: CCSDK-2173 Signed-off-by: Stan Bonev <sb5356@att.com> Change-Id: I57ea81f3ee69b4185627d074e73a480833c60bae
2020-03-02Restapi-call-node: Fix sending big files to DMAAP data routersb53563-63/+112
Issue-ID: CCSDK-2122 Signed-off-by: Stan Bonev <sb5356@att.com> Change-Id: If71e6d3ee0bd649994ce4b9a23dcbd1b42a64101
2020-02-20rest api call node target entitySmokowski, Kevin (ks6305)2-3/+8
rest api call node target entity Issue-ID: CCSDK-2109 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Ib754a02cc64862de6518eac2a1c28b9f637616bc
2020-02-18Escaping multi-line stringSingal, Kapil (ks220y)3-19/+45
Supporting multiline json string if embedding within Rest payload template Change-Id: I6a96f58732734fca0127d57fa5de3ba3cb7276c4 Issue-ID: CCSDK-2103 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-12-20MultiDimension JSON Array ParserSingal, Kapil (ks220y)4-40/+109
Adding Code to support MutiDimensional json parsing logic Change-Id: I487f25c9c7eaeb466ac6903bea80175fa4c50728 Issue-ID: CCSDK-2008 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-12-19Fixing JSONParser for JSONArray elementSingal, Kapil (ks220y)29-584/+56
Refactoring Related JUnit and fixing test JSON Files Change-Id: I1cd7ba04f53798e4b3f5451de6bfed24054d3ea5 Issue-ID: CCSDK-2008 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-12-18RestapiCallNode unit testsSmokowski, Kevin (ks6305)9-94/+386
Validate JsonParser in RestapiCallNode Issue-ID: CCSDK-2008 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Idd062d9614b89b1c0142591af600ea8ff61c019a
2019-10-18add metric log filterSmokowski, Kevin (ks6305)1-3/+2
integrate restapicallnode with MetricLogClientFilter Issue-ID: CCSDK-1846 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2be5ff327caedfc93cec31d3273c97aa4f924eb7
2019-09-12rest api call node content type fixSmokowski, Kevin (ks6305)1-3/+9
Don't set content-type header when there is no content/body Issue-ID: CCSDK-1703 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I247f571bf0d4fc021a1b32936b3dc33473b35f89
2019-08-28sync restapi-call-node with ecompAgarwal, Ruchira (ra1926)7-71/+181
sync onap rest-api-call-node with ecomp Issue-ID: CCSDK-1659 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I08b0b8332b68a22710cd412997f3763de4b5b8d3
2019-08-21RestapiCallNode URL Formatting FixSingal, Kapil (ks220y)1-53/+56
URL should be Encoded to related space or speical chars with respective encoded values. Example: space should be replaced with %20 Change-Id: Id58ffdb7d68c5440a33d229a2ac8683d5428a81e Issue-ID: CCSDK-1631 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-08-15Code changes for NeonTimoney, Dan (dt5972)1-0/+16
Updated code via ccsdk/parent/tools/fluorine2neon.sh script. Change-Id: Ice154214e118ca6ad5043eb0fe337095fd2246d9 Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-23configurable param resolutionAgarwal, Ruchira (ra1926)4-23/+74
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-06-25Better support for timeouts in RestApiCallNodeSmokowski, Kevin (ks6305)1-4/+28
Support connect timeout and read timeout in a configurable way Issue-ID: CCSDK-1433 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I58d77dfcb48adc2cf917aff29b0eb4a69acb9c17
2019-06-07Remove logging passwords in clear textStan Bonev1-186/+265
Change-Id: I21c70038bc19c3bab137fc9604b7b593b6d529e1 Issue-ID: CCSDK-1385 Signed-off-by: Stan Bonev <sb5356@att.com>
2019-05-29implement generic retry and partners in restapicallnodeSmokowski, Kevin (ks6305)8-422/+746
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 Bonev2-42/+64
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 Agrawal3-15/+100
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>
2019-04-02RestApiCallNode HTTP method patch not workingSmokowski, Kevin (ks6305)1-0/+3
RestApiCallNode patch not working after upgrading from sun jersey to glassfish, apply workaround Change-Id: I3a36b9c0c8b241b46059edec08fb80087e67fd93 Issue-ID: CCSDK-1191 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-02-14RestApiCallNode header changesSmokowski, Kevin (ks6305)2-8/+13
allow the http header Accept to be set independently from the http header Content-Type Change-Id: I66fd846cec065a12afe7111c644aa373b61cf424 Issue-ID: CCSDK-1077 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-12-28Sonar Fix: RestapiCallNode.javaArundathi Patil1-24/+31
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-879 Change-Id: I037ff59f5cb1b6855b62db434236fc2e567608a9 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar fix: RetryPolicyStroe.javaArundathi Patil1-3/+0
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-845 Change-Id: I25e16b7189fd8c063b8d33605dd55094e3ad5877 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-17Merge "Sonar Fix: RetryPolicyStore.java"Dan Timoney1-6/+5
2018-12-17Merge "Sonar Fix: XmlParser.java"Dan Timoney1-5/+6
2018-12-17Sonar Fix: RetryPolicyStore.javaArundathi Patil1-6/+5
Fixed sonar issues/code-smellls across this file Issue-ID: CCSDK-845 Change-Id: I0a4a59ea875739839a692acec7f1feafb013d32e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-13Merge "Sonar Fix: HttpMethod.java"Dan Timoney1-5/+6
2018-12-12Sonar Fix: XmlParser.javaArundathi Patil1-5/+6
Fixed sonar issues/code-smells across this file. Issue-ID: CCSDK-822 Change-Id: Icf2de267282ad30b9235c9aa9dadd1761344c1aa Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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-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-19Dependency management for Restconf Clientgaurav1-390/+426
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)3-81/+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-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-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>