summaryrefslogtreecommitdiffstats
path: root/restconf-client/provider/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15Code changes for NeonTimoney, Dan (dt5972)1-0/+51
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-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.janani10-30/+134
Anyxml node fix Change-Id: Ice40fde63ac8f589fa9358ebaf12c32247b0ae96 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com>
2019-04-23Test coverage imporvement and code refactoring of restconf discovery node.Vidyashree Rama1-24/+24
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 b6-54/+365
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-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 Rama2-5/+232
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-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 b4-34/+204
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 b3-13/+24
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 b1-0/+27
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-27Issue fixes for Restconf discovery nodejanani b4-12/+21
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-19Issue fix for RestconfApiCallNodejanani b3-16/+34
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 b10-64/+211
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 Clientgaurav2-80/+0
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 b8-79/+589
Restconf Api Call Node Issue-ID: CCSDK-372 Change-Id: I1820e97d54e734ccf73c6f48a9afcc4b59dff549 Signed-off-by: janani b <janani.b@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 Rama2-2/+62
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 Rama5-6/+108
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 b25-81/+1113
Initial level implementation for Restconf api call node Issue-ID: CCSDK-372 Change-Id: I9d77f4c7806b0e239a3ecb134424f4fc09d6865e Signed-off-by: janani b <janani.b@huawei.com>
2018-08-17Implementation for properties node serializerVidyashree Rama6-26/+639
properties node serializer implementation Issue-ID: CCSDK-378 Change-Id: I4eeecb45227e4152d9ff81551fd98efdd1371f84 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-08-17Add abstract properties node treeVidyashree Rama16-47/+974
properties node tree definations Issue-ID: CCSDK-379 Change-Id: Ib498cd57b0de5e67a31764f2fe46a2aeed7ac3f4 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-08-14RestconfDiscoveryNode Plugin implementationVidyashree Rama7-6/+638
Initial code submit for supporting RestconfDiscoveryNode Plugin implementation Issue-ID: CCSDK-374 Change-Id: Ieb0b622b135ea78ef58bd36dfe171f4117bc3328 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2018-07-25Adding additional APIs for YANG serializersgaurav14-10/+334
Adding APIs for YANG based properties node serializer Change-Id: Ic76204e0292fdbaede4ff47f4ddda91dcfa3b764 Issue-ID: CCSDK-377 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-23Adding APIs for YANG serializersgaurav10-0/+567
Adding APIs for YANG based data format serializers. Change-Id: I8e17c475e636aa9bbf39be52d31583565bae8e92 Issue-ID: CCSDK-375 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-20API for RestconfClientgaurav6-0/+321
API for RestconfClient including: - RestconfApiCallNode - RestconfDiscoveryNode Change-Id: Ieda6251b91b6d399cd0106993c3fdd1a440d5b0a Issue-ID: CCSDK-371 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>