Duplicate
Details
Assignee
Robert VargaRobert VargaReporter
Robert VargaRobert VargaExternal issue ID
8369Components
Fix versions
Priority
Medium
Details
Details
Assignee
Robert Varga
Robert VargaReporter
Robert Varga
Robert VargaExternal issue ID
8369
Components
Fix versions
Priority
Created May 4, 2017 at 9:27 AM
Updated April 20, 2020 at 10:24 AM
Resolved April 20, 2020 at 10:24 AM
ModuleInfoBackedContext creates an internal YangTextSchemaContextResolver, which is completely independent from what DOMSchemaService uses internally.
This leads to the two context being potentially misaligned and waste of both startup CPU cycles and memory.
Once we have OSGi-specific services, the DOM and Binding counterparts need to cooperate, such that the DOM part assembles the SchemaContext (and manages YangTextSchemaContextResolver) while the Binding part provides hints as to what modules are expected to crop up in bundles (as it has cross-bundle visibility into models).