[MDSAL-250] Eliminate duplicate YangTextSchemaContextResolvers Created: 04/May/17  Updated: 20/Apr/20  Resolved: 20/Apr/20

Status: Resolved
Project: mdsal
Component/s: Binding runtime, DOM runtime
Affects Version/s: None
Fix Version/s: 6.0.0

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
is blocked by MDSAL-248 Split out OsgiBundleScanningSchemaSer... Resolved
is blocked by MDSAL-249 Move org.opendaylight.controller.conf... Resolved
Duplicate
duplicates MDSAL-392 Clean up BindingRuntimeContext instan... Resolved
External issue ID: 8369

 Description   

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).



 Comments   
Comment by Robert Varga [ 20/Apr/20 ]

Resolved as part of MDSAL-392/MDSAL-525

Generated at Wed Feb 07 20:09:13 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.