summaryrefslogtreecommitdiffstats
path: root/restapi-call-node
AgeCommit message (Collapse)AuthorFilesLines
2019-08-29Revert "Proposal to remove OSGi dependencies from the CCSDK project"Timoney, Dan (dt5972)3-94/+0
This reverts commit 7a37199ebccccd03bbea9b37df09ef610f89bb01. This must be reverted due to lack of jUnit testing Change-Id: I0050a6052d5daddb0a5e8474d96c1f6b1055d1a4 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-28Roll versionsTimoney, Dan (dt5972)7-14/+14
Roll versions in master branch Change-Id: I38f82f09f8cdf7324145895a053f5513117502ea Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-27Fix groupId in lighty.io artifactsSamuel Kontris1-1/+1
Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech> Change-Id: I77dd64ebda9b361eab7673e9da389aad810e23f6
2019-08-26Proposal to remove OSGi dependencies from the CCSDK projectMatej Perina3-0/+94
Dependencies on the OSGi frameworks and libraries are removed by integrating the CCSDK project with the lighty.io. It's a toolkit that allows to use ODL services (in this case core services and the Restconf) without the dependency on the Karaf framework and the Blueprint DI. In this change are created the lighty.io modules which initialize and expose same services as the Blueprint DI in the blueprint.xml files. More info about the lighty.io - https://lighty.io Change-Id: I3e549e19374ccf04bc430b515e1df7d8d61d8ea7 Signed-off-by: Matej Perina <matej.perina@pantheon.tech> Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
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)7-12/+28
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-08-09Roll to next snapshotTimoney, Dan (dt5972)6-12/+12
Roll to next snapshot version Change-Id: Ic49a7e77c9234ade7cf0e0c36cb830de2ef870ca Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-06Roll version to recreate artifactsTimoney, Dan (dt5972)6-12/+12
Roll version to 0.5.1 to recreate El Alto early drop artifacts Change-Id: Iccd4d14f5e0f55ab994a72cbf5b661c5790e2ae8 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-23configurable param resolutionAgarwal, Ruchira (ra1926)5-32/+89
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-07-17Update parent version to 1.3.1Timoney, Dan (dt5972)6-6/+6
Update parent poms to version 1.3.1-SNAPSHOT Change-Id: Ie3039a7d625a78b4ef1bf5170dcfe0553f9e9594 Issue-ID: CCSDK-1496 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-25feature file cleanupSmokowski, Kevin (ks6305)3-53/+2
instead of each feature file starting ccsdk-sli let it be handled by bootfeatures Change-Id: Ie7f20c8861bf329471c6317ede8128a9c420a9f8 Issue-ID: CCSDK-1370 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-06-25Merge "Better support for timeouts in RestApiCallNode"Dan Timoney1-4/+28
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-21Remove versions from project pomsTimoney, Dan (dt5972)1-7/+0
Remove versions from project poms and instead drive version from dependencyManagement to ensure consistency. Change-Id: I2a3238163e49878c4c7528db1271c83b488263c3 Issue-ID: CCSDK-1416 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
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-30Roll master to El AltoTimoney, Dan (dt5972)6-12/+12
Roll master version to El Alto versions Change-Id: Ifec94aaab874709c18ffcb03c2b7aa82c23ba2f9 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Update to use released 1.2.2 parentTimoney, Dan (dt5972)6-6/+6
Update to use released 1.2.2 version of parent poms. Change-Id: I303781ad2d8946a942212780884a96c1ac34d75c Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-17Restapicallnode with cookie based authGaurav Agrawal3-1/+65
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 Rama3-0/+83
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 Agrawal4-16/+105
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-03-24Merge "Plugin points to 2.0.1 javax version"Dan Timoney2-2/+0
2019-03-22Plugin points to 2.0.1 javax versionjanani b2-2/+0
RestapiCallNode and RestconfClient in plugins will point to the odl default javax version. Also RestconfClient is added to plugins-all features. Issue-ID: CCSDK-1045 Change-Id: I6f7173ec765bc21201f17a3bfd6801c18de610a9 Signed-off-by: janani b <janani.b@huawei.com>
2019-03-22Roll version to 0.4.2-SNAPSHOTTimoney, Dan (dt5972)6-6/+6
Roll version of ccsdk/sli/plugins to next snapshot version Change-Id: I142e7b2ec5e72e318007c329640f1818255c60f4 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-21Compile against Fluorine SR2Timoney, Dan (dt5972)6-6/+6
Updated to compile against Fluorine SR2 Change-Id: I83208310f6386ac8c37433ac8af50de7c611fd06 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-14Prepare for release 0.4.1Timoney, Dan (dt5972)6-6/+6
Prepare to create release version 0.4.1 by using released version of parent pom Change-Id: I72b174efd82ab09b64e2c4c52225304f8174e07a Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-19dependency cleanupSmokowski, Kevin (ks6305)1-4/+0
remove sli-provider from template node and restapicallnode Change-Id: I21ffceaf085016b112b3fbe9144870b8d136772f Issue-ID: CCSDK-1093 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>
2019-02-07Resolution for jersey version conflictjanani b1-8/+9
Moved the glassfish version of jersey to point to 2.25.1 as to that of odl Issue-ID: CCSDK-1034 Change-Id: Ia245f3f49f035b45ce9668d334b05a70254272d6 Signed-off-by: janani b <janani.b@huawei.com>
2019-02-04Fix restapi-call-node javax.ws.rs versionTimoney, Dan (dt5972)1-1/+5
Fix version of javax.ws.rs in feature.xml file for restapi-call-node to be 2.1. Change-Id: Ia2a4f065dff2fea8658d7d9e0f2915112a68a353 Issue-ID: CCSDK-489 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Disable broken restapi-call-node Enabling restapi-call-node in Fluorine breaks the container due to a version conflict in jersey (restapi-call-node needs version 2.27, opendaylight aaa-shiro module requires 2.25.2) Change-Id: I2ed1810eeeb922e1df76ec580a5424832f5af721 Issue-ID: CCSDK-489 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-11Changes for FluorineTimoney, Dan (dt5972)6-214/+197
Updates to sli/plugins to run in OpenDaylight Fluorine Change-Id: I093a663ff5459df5eacdb632ad3217c322cc9cfa Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-10Prepare for release buildTimoney, Dan (dt5972)6-207/+213
Prepare for release of early ODL-Oxygen based CCSDK Dublin Change-Id: I2ea09c398025c9578a2da8ff32360be9672292c7 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@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-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>