Integrate ParserFieldsParameter with FieldsParameter 26/98126/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Oct 2021 17:20:05 +0000 (19:20 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Oct 2021 18:57:19 +0000 (20:57 +0200)
commit12e8bc56bf5b0b0bf00b910029e568b017653aa3
treedec62f92681684a8c6066c2d8eee2f43c7d759d7
parente3b9e07f1110d557c86480d94f81d0c6ee1ea7e8
Integrate ParserFieldsParameter with FieldsParameter

We have the baseline string parser reimplemented, which means we can
just interpret the list of selection nodes. Take out all the string
parsing code and reimplement the core loop, making things a lot clearer.

JIRA: NETCONF-820
Change-Id: I915794323a75937996a6a3ba693a10ab2878d910
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/databind/jaxrs/QueryParams.java
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/FieldsParameterTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserFieldsParameterTest.java