Uploaded image for project: 'tsc'
  1. tsc
  2. TSC-101

MDSAL Fluorine API breakage window 3

    XMLWordPrintable

Details

    • Weather Item
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      As per the plan outlined in https://lists.opendaylight.org/pipermail/mdsal-dev/2018-March/001519.html we MD-SAL is delivering this item:

      2) Replace org.opendaylight.yangtools.yang.binding.Identifiable.getKey()

      The full details are in the email, bottom line for downstreams is:

      The solution is to rename getKey() to key(). As all user-governed names
      in generated code is prefixed (with "is", "get" and similar), this will
      permanently solve this particular problem. Unfortunately it will also
      break all code which deals with getting/putting elements into keyed lists.
      
      The fix is a mechanical one and probably scriptable (but I am not much
      for writing scripts).

      The fix also changes Augmentable.getAugmentation() to Augmentable.augmentation(). Proposed patches are at:

      https://git.opendaylight.org/gerrit/#/q/topic:binding-tlc-getkey+(status:open+OR+status:merged)

      Attachments

        Issue Links

          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:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: