Add support for nested notifications to NetconfMessageTransformer 92/90692/5
authorAnna Bencurova <Anna.Bencurova@pantheon.tech>
Thu, 25 Jun 2020 12:16:02 +0000 (14:16 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 20 Jul 2020 20:59:06 +0000 (22:59 +0200)
commita78077ff87fb40fe37eaddfbdd17e150a6b93e8c
tree4c8f5f9d54a7d6be688d6615ab01b2d280f14363
parente2556c96050af13c9aeeb22c0c899cbfc11d0eb9
Add support for nested notifications to NetconfMessageTransformer

RFC7950 nested notifications are becoming the norm, yet we cannot
seem to grasp them. This patch adds preliminary support for decoding
them and shuffling them towards whoever may be consuming them.

JIRA: NETCONF-704
Change-Id: I63bebf87de93611f7c887f8b077e59000876aa84
Signed-off-by: Anna Bencurova <Anna.Bencurova@pantheon.tech>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/schema/mapping/NetconfMessageTransformer.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/NetconfNestedNotificationTest.java [new file with mode: 0644]
netconf/sal-netconf-connector/src/test/resources/nested-notification-payload.xml [new file with mode: 0644]
netconf/sal-netconf-connector/src/test/resources/schemas/nested-notification.yang [new file with mode: 0644]