Fix parsing of fields parameters 95/81195/1
authorJaroslav Tóth <jtoth@frinx.io>
Tue, 26 Mar 2019 15:02:24 +0000 (16:02 +0100)
committerJaroslav Tóth <jtoth@frinx.io>
Tue, 26 Mar 2019 15:02:24 +0000 (16:02 +0100)
commit107cf1521879abc3c9f2d16636c565744ef433c5
tree7e3a0a7309ec2af7f72e9d9f111e95a8bb65cfca
parent30b33549b08e48e29151beb7c6627fe62322548e
Fix parsing of fields parameters

- Multiple nested schema nodes splitted by semilcolon can be placed
  on one level of QNames, also, when the nested schema nodes are
  specified by multiple-nodes path; example:
  fields=service(type;instance/name;instance/provider)
- Previously, multiple-nodes nested path to schema node had to be
  listed as the last parameter in brackets without any other
  multi-nodes nested path.

Change-Id: I0d2f76047342e19a996fea0abe4001597d1c0a03
JIRA: NETCONF-320
Signed-off-by: Jaroslav Tóth <jtoth@frinx.io>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserFieldsParameter.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserFieldsParameterTest.java
restconf/restconf-nb-rfc8040/src/test/resources/test-services/test-services@2019-03-25.yang [new file with mode: 0644]