Added schemaless creation of filter structure 52/93352/12
authorJaroslav Tóth <jtoth@frinx.io>
Sun, 25 Oct 2020 18:31:56 +0000 (19:31 +0100)
committerRobert Varga <nite@hq.sk>
Sun, 21 Feb 2021 17:19:19 +0000 (17:19 +0000)
commit923eeb7535a4998375bbc94bc8a1855d0f99ec0b
treefcbecdbd2fe5502bb37023243204a2522c2e704c
parent91a9f1b584e1f5d6dd3c30d3d23773ab71acb46b
Added schemaless creation of filter structure

- Added procedure for creation of filter structure for schemaless
  mountpoints.
- Added two unit tests that cover most of the cases.

JIRA: NETCONF-735
Change-Id: Ib276ddaf79e5306ff6c2193a03a8b0f57f005991
Signed-off-by: Jaroslav Tóth <jtoth@frinx.io>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-util/src/main/java/org/opendaylight/netconf/util/NetconfUtil.java
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/util/SchemalessRpcStructureTransformer.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/schema/mapping/NetconfMessageTransformerTest.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/util/FieldsSchemalessRpcStructureTransformerTest.java [new file with mode: 0644]
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/util/SchemalessRpcStructureTransformerTest.java
netconf/sal-netconf-connector/src/test/resources/schemaless/filter/one-root-filter.xml [new file with mode: 0644]
netconf/sal-netconf-connector/src/test/resources/schemaless/filter/two-roots-filter.xml [new file with mode: 0644]