Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-301

Rework javadoc generation in bindings

    XMLWordPrintable

Details

    • YANG javadoc snippet optimization

    Description

      This is a top-level tracker issue, which will need to be addressed in mdsal-binding-generator-impl and in mdsal-binding2-generator-impl.

      The code here is twisted and inefficient, causing huge memory usage for strings during code generation, especially with large models.

      Two things need to happen:

      • YANG snippet needs to be generated and filtered as a CharSource, e.g. lazily, without instantiating the full thing before the class is actually output
      • Snippet generation needs to work on top of org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement view of the world, so that 'uses' are not expanded, but rather the snippet quotes the actual YANG text

       

      Attachments

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

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: