Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-192

Revisit way how modules lookup dependencies from old schemacontext

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      When new yang file is parsed, instead of adding all imports, identities (maybe other statements as well) are inspected, and old modules are imported based on prefix. See org.opendaylight.yangtools.yang.parser.impl.YangParserImpl#findTargetModule(java.lang.String, org.opendaylight.yangtools.yang.parser.builder.impl.ModuleBuilder, java.util.Map<java.lang.String,java.util.TreeMap<java.util.Date,org.opendaylight.yangtools.yang.parser.builder.impl.ModuleBuilder>>, org.opendaylight.yangtools.yang.model.api.SchemaContext, int) method

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mvitez@cisco.com Martin Vitez
            tolvecky@cisco.com Tomas Olvecky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: