summaryrefslogtreecommitdiffstats
path: root/restconf-client
AgeCommit message (Collapse)AuthorFilesLines
2019-05-29implement generic retry and partners in restapicallnodeSmokowski, Kevin (ks6305)1-56/+1
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-23Bug fix to add anyxml node.janani13-30/+373
Anyxml node fix Change-Id: Ice40fde63ac8f589fa9358ebaf12c32247b0ae96 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)6-14/+14
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-23Test coverage imporvement and code refactoring of restconf discovery node.Vidyashree Rama2-32/+72
Test coverage imporvement and code refactoring of restconf discovery node. Issue-ID: CCSDK-1236 Change-Id: Ic44899d71b92be3d7b88be3abb0feb311e6ad8c0 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-17Code refactoring in restconf client yang serialisers.Vidyashree Rama2-24/+58
1. logging the exception when handling underscore in yang serialisers 2. Refactor code to not nest more than 3 if/for statements 3. Throw SvcLogicException instead of generic 4. Reduce switch case number of lines from 8 to at most 5 Issue-ID: CCSDK-1236 Change-Id: Ic02ba424c2d1748d071e38d25ae159f5d8bd6451 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-04-05Replacing ":" by "_" for parametersjanani b13-226/+2107
Supporting "_" to be present for module name seperator while giving parameters in DG node. Issue-ID: CCSDK-1045 Change-Id: I008fa8503f1314e593f96393121a02f429bac636 Signed-off-by: janani b <janani.b@huawei.com>
2019-03-24Merge "Plugin points to 2.0.1 javax version"Dan Timoney1-1/+0
2019-03-22Plugin points to 2.0.1 javax versionjanani b1-1/+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-8/+8
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-07Resolution for jersey version conflictjanani b1-9/+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-01-11Changes for FluorineTimoney, Dan (dt5972)6-94/+86
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-88/+90
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>
2019-01-07Merge "Sonar fix: LeafListHolderNode.java"Dan Timoney1-3/+7
2019-01-07Merge "Sonar fix: LeafNode.java"Dan Timoney1-3/+6
2019-01-07Merge "Sonar Fix: YangParameters.java"Dan Timoney1-5/+6
2019-01-07Sonar fix: LeafListHolderNode.javaArundathi Patil1-3/+7
Fixed sonar isues/code-smells across this file Issue-ID: CCSDK-885 Change-Id: I6c49463b3d0fa387caecc8023e2fdcac5a2c98c2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-01-04Sonar fix: LeafNode.javaArundathi Patil1-3/+6
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-886 Change-Id: I7a5b73549b98571e207e0ed70e49873785478e70 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-01-01Sonar Fix: YangParameters.javaArundathi Patil1-5/+6
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-884 Change-Id: I20949cb665dfd4c1a28cce5fb629a30057a80dbc Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-28Sonar fix: EventProcessor.javaArundathi Patil1-1/+2
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-880 Change-Id: Icfb71fec369ec34944db7e57268e5d1e08af8c42 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-20Sonar fix: AdditionalHeaderWebTarget.javaArundathi Patil1-3/+7
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-868 Change-Id: I9a6d0d7791838bf8bc524c7b108df3752cc1a24c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-17Sonar Fix: RestconfApiUtils.javaArundathi Patil1-1/+3
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-847 Change-Id: I5e528e23d8691fffca9b3732b7ff5e68a4827162 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-26Restconf Discovery Node bug fixjanani b1-3/+3
COLON removal while updating to ctx param from JSON reply of notification Issue-ID: CCSDK-745 Change-Id: I4af4de47a550a7f6b47216409484d9a0ab3acdfb Signed-off-by: janani b <janani.b@huawei.com>
2018-10-25Add authorization header in SSE requestVidyashree Rama4-6/+254
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-14/+14
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-09Merge "Issue fix"Dan Timoney2-0/+12
2018-10-09Issue fixjanani b2-0/+12
Factory pattern constructor issue fix Issue-ID: CCSDK-614 Change-Id: I3aee79894cfddd47273289878e5ba079926b8054 Signed-off-by: janani b <janani.b@huawei.com>
2018-10-09PUT and PATCH operation supportjanani b6-49/+415
Changes to add a additional root node to the data format req to support PUT and PATCH operations in RestconfApiCallNode Issue-ID: CCSDK-614 Change-Id: If094810861f8152a2a6d6ee86e9f81c8812b8ad6 Signed-off-by: janani b <janani.b@huawei.com>
2018-10-08Appending dummy root node to XML data formatjanani b5-48/+87
To hold all the children in XML message a dummy root node is added Issue-ID: CCSDK-324 Change-Id: I7cf0266d15e6bfaa2b9207e77d8bd5372a164b4f Signed-off-by: janani b <janani.b@huawei.com>
2018-10-08Resolving root level augment nodesjanani b3-35/+104
Issue fix for root level augment nodes being added to the data format Issue-ID: CCSDK-324 Change-Id: I1c69f97739c6cb56c74b5f22bc4283f2f927719b Signed-off-by: janani b <janani.b@huawei.com>
2018-09-27Merge "Issue fixes for Restconf discovery node"Dan Timoney5-23/+41
2018-09-27Dependency management for Restconf Clientgaurav2-17/+19
Changes includes: - Disable karaf.feature.test to pass SingleFeatureTest as there is no problem in running env. - Removed Restconf Client from plugins-all to pass SingleFeatureTest. Will submit seperate patch to add Restconf client to boot features list in DockerFile directly. Change-Id: I6193284e9e3c3f9a816133255611df03339937f9 Issue-ID: CCSDK-567 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-09-27Issue fixes for Restconf discovery nodejanani b5-23/+41
i) Adding constructor param ii) execute dg param order fix iii) Constants value fix. Issue-ID: CCSDK-325 Change-Id: I5aaf4b66b3982e4a1d3736362be3a5e8d7ab6d00 Signed-off-by: janani b <janani.b@huawei.com>
2018-09-26Roll to next snapshotTimoney, Dan (dt5972)6-17/+14
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-19Issue fix for RestconfApiCallNodejanani b4-16/+83
Sonar and Issue fix Issue-ID: CCSDK-325 Change-Id: I469fcc5c4da2ec26c3a39b48d52736d45c1718d4 Signed-off-by: janani b <janani.b@huawei.com>
2018-09-12UT and defect fixes for DF serializerjanani b17-158/+1438
UT and defect fixes Issue-ID: CCSDK-376 Change-Id: Ia5f04a0d7e07caad0e3b380fdfa6cc109ec43b4e Signed-off-by: janani b <janani.b@huawei.com>
2018-09-11Merge "Fix for sonar critical issues."Dan Timoney5-25/+26
2018-09-11Fix for sonar critical issues.gaurav5-25/+26
Fixed sonar critical issues fixes for Restconf Client. Change-Id: If946c43ec98d31999da0829df41efb0a60ff5f7f Issue-ID: CCSDK-325 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-09-11Fixed security issue of Restconf Clientgaurav5-259/+127
Removed the spring dependencies as they are not required. Change-Id: I4a95a26d5a615897527dbe543d938459c1651081 Issue-ID: CCSDK-444 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-08-29Implementation for Restconf api call nodejanani b9-80/+605
Restconf Api Call Node Issue-ID: CCSDK-372 Change-Id: I1820e97d54e734ccf73c6f48a9afcc4b59dff549 Signed-off-by: janani b <janani.b@huawei.com>
2018-08-24Merge "Implementation of Data Format serializer"Dan Timoney25-82/+1088
2018-08-24Update 3rd party dependency versiongaurav1-27/+32
Updated 3rd party dependency version for RestconfClient. Change-Id: If5bf93030ae98ea5479ba1f70e1cb22e900a7f5d Issue-ID: CCSDK-325 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-08-23Implementation of Data Format serializerjanani b25-82/+1088
Data format serializer code Issue-ID: CCSDK-376 Change-Id: Ie1954e6237374411ce3f07039030027042581d33 Signed-off-by: janani b <janani.b@huawei.com>
2018-08-21Handling identity ref typeVidyashree Rama6-2/+235
Handling identity ref type in properties node serializer Issue-ID: CCSDK-378 Change-Id: Ie74088a5e2449c09f9712048f1856990b81d05e7 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-08-17Unit test and decode implementationVidyashree Rama9-6/+1532
properties node serializer decode implementation and unit test cases Issue-ID: CCSDK-378 Change-Id: I586fd534f441eb361e8d75af18cc778f7ad4cc67 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-08-17Outline code for Restconf Api Call Nodejanani b26-82/+1132
Initial level implementation for Restconf api call node Issue-ID: CCSDK-372 Change-Id: I9d77f4c7806b0e239a3ecb134424f4fc09d6865e Signed-off-by: janani b <janani.b@huawei.com>