summaryrefslogtreecommitdiffstats
path: root/restconf-client
AgeCommit message (Collapse)AuthorFilesLines
2019-08-29Revert "Proposal to remove OSGi dependencies from the CCSDK project"Timoney, Dan (dt5972)3-107/+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/+107
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-15Code changes for NeonTimoney, Dan (dt5972)7-12/+63
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-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)2-13/+8
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-21Remove versions from project pomsTimoney, Dan (dt5972)1-13/+6
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-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>