commit | 099f89eda3b0c94d20612ebf1d62795ab7dc833a | [log] [tgz] |
---|---|---|
author | ToineSiebelink <toine.siebelink@est.tech> | Mon Jan 25 18:46:20 2021 +0000 |
committer | puthuparambil.aditya <aditya.puthuparambil@bell.ca> | Wed Jan 27 16:01:33 2021 +0000 |
tree | 9ac4eeb64c92bdf8b4de1773dcfd195158b30a6c | |
parent | 34afca00d1f8b2fabe7708c76be714687e136d68 [diff] |
Draft at proposal where the DataNodeBuilder 'replaces' yang Utils to buidl a DataNode Most complexity is related to immutable collections and the fact taht we are adding data while recursing over the orignal data in an uncontrolled order. I cleaned it up as best I could with no logic in DataNode. Espcially the handling of LitLeaves requires some specialed handling. Thsi is just a draft solution for that I still propose we get back to that in dedicated user stories for handling the various types of Yang elements Hope this helps... Issue-ID: CPS-137 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: Iab7cfcff67412c01bcdab95e707e1350bf60fab1
This folder contains all files for Configuration Persistence Service.
The code here is related to CPS POC, then it must be kept self contained in this cps folder to prevent any impact on current ccsdk components and to be ready to be moved in its own repo once CPS becomes a standalone project.
CREATE USER cps WITH PASSWORD 'cps'; CREATE DATABASE cpsdb OWNER cps;
mvn clean package
java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar