GET on /rests/operations with json always fails with 500 70/79470/2
authorTomas Cere <tomas.cere@pantheon.tech>
Fri, 11 Jan 2019 12:20:41 +0000 (13:20 +0100)
committerJakub Morvay <jakub.morvay@gmail.com>
Mon, 14 Jan 2019 09:30:32 +0000 (09:30 +0000)
commite57743f0c79fb59b344284f3d042f7b83de633ba
tree0f37a8a888e2a4138472bfdcf97ed016fe5f79af
parent9d7f51e8451a23062a36468fca01da9fbad3bc1b
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