Restore special-case handling of NotificationDefinition 34/96334/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 24 May 2021 10:59:39 +0000 (12:59 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 24 May 2021 11:02:04 +0000 (13:02 +0200)
commit05efa813196bd32c6c40c3b09d24690baf028164
tree25a82f2142dfea7016613df3bb0000bad1d5ca5a
parent28f3792623bf61b2fea6dec2a0830453d3ac0475
Restore special-case handling of NotificationDefinition

We have historically had a weird special case for parsing notifications,
where we would expect the stack to be initialized to point to the
notification and then to enter it as an alternative to normal data tree.

This functionality is used in NETCONF, restore it back in a slightly
better format than before. Also drop a FIXME so we expose the
functionality in a more structure way in the future.

JIRA: YANGTOOLS-1288
Change-Id: I9237cf558525e4028626cfe7f67d76bbabebab4c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/NormalizedNodeStreamWriterStack.java