Eliminate duplicate YangTextSchemaContextResolvers

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

Environment

Operating System: All
Platform: All

Activity

Show:

Robert Varga April 20, 2020 at 10:24 AM

Resolved as part of /

Duplicate

Details

Assignee

Reporter

External issue ID

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