GET on /rests/operations with json always fails with 500 73/79473/1
authorTomas Cere <tomas.cere@pantheon.tech>
Fri, 11 Jan 2019 12:20:41 +0000 (13:20 +0100)
committerJakub Morvay <jakub.morvay@gmail.com>
Fri, 11 Jan 2019 13:20:31 +0000 (13:20 +0000)
commit032e4234505d697e2729ed7fa7b97deb84276459
tree070f694cefe24c645ea369fcea3d456913614c8f
parent4d3d921fc7b84262b9601db10f3e6a3b184ee826
GET on /rests/operations with json always fails with 500

Stop throwing UnsupportedOperationException in FakeContainerSchemaNode
isPresence() method, since this container is only used for get on /rests/operations
we can assume this container is not a presence container.

JIRA: NETCONF-593
Change-Id: I06692da9d77e4230f32aa19aa25989ab72dd114a
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/FakeContainerSchemaNode.java