-
Story
-
Resolution: Done
-
Highest
-
None
-
None
-
None
Refactoring task
The initial implementation (YangUtils) uses Module Reference as input which supposed to be persisted. Currently the Module information is not persisted with data fragments, but the reference to anchor is expected.
- Remove 'module' (see org.onap.cps.spi.model.DataNode properties)
- Introduce DataNodeBuilder class (now in Fragment constructors)
- xpath stored in fragment are NOT to include the anchor(name/id)
Original it was proposed anchor name should be used as root for xpath property created for each fragment object - mentioned in https://wiki.onap.org/pages/viewpage.action?pageId=92995793#CCSDK2756DM:[Spike]ProposeC&PSDataModel-2.2Genericschema(currentproposal)
Acceptance Criteria
- Fragment classes removed from Java-service layer
- Testware update inline with refactoring
- Remove Module tabel from DB Schema
- blocks
-
CPS-26 Attach a (JSON) data instance for a container with children to a given Anchor
- Closed
1.
|
Remove Module Table | Closed | rishi.chail |