Fix instance-identifier key being not recognized properly 44/111644/1
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Tue, 7 May 2024 11:09:19 +0000 (14:09 +0300)
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Tue, 7 May 2024 11:16:44 +0000 (14:16 +0300)
commit51772cbaa1ede16c121af64276dda6a2c96b1848
treeb00977c9defb5917969a51854e1ce4d5ba2128ee
parent11f465e951e6bf07c2df20d174fa823560bbff81
Fix instance-identifier key being not recognized properly

List key of type instance-identifier require own context
based codec to properly parse the value. Previous usage
TypeDefinitionAwareCodec (serves primitive types) resulted
NPE due to absence of associated codec.

JIRA: NETCONF-1214
Change-Id: Iaefe44b2be8346f55d4087b4512c010354fd2da6
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
plugins/netconf-server-mdsal/src/main/java/org/opendaylight/netconf/server/mdsal/operations/FilterContentValidator.java
plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/operations/NC1214Test.java [new file with mode: 0644]