[BGPCEP-933] Switch config loaders to DOM API Created: 17/Oct/20  Updated: 23/Feb/21  Resolved: 23/Feb/21

Status: Resolved
Project: bgpcep
Component/s: Config Loader
Affects Version/s: None
Fix Version/s: Silicon

Type: Improvement Priority: High
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

All four config loaders end up translating the parsed structure to Binding form only to feed it into DataBroker.

This is completely unnecessary, as the data is coming from XML files and is therefore in DOM form – hence we end up encoding it to and from Binding for no particularly good reason.

We are also using inefficient datastore operations in individual implementations, which really should be using the bare minimum required.

Switching to DOM interfaces is a bit of juggling of paths, but will improve performance and most notably will make config loaders independent of codec services.


Generated at Wed Feb 07 19:14:31 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.