Fixed POST data error response 57/83757/2
authorJaroslav Tóth <jtoth@frinx.io>
Mon, 12 Aug 2019 14:55:05 +0000 (16:55 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 5 Sep 2019 14:03:19 +0000 (14:03 +0000)
commitc5959bacd59a68939a59f5ce02e60947dc45a1cf
tree26cb0ef02b4e3e758e5c103dec09951f6ebc4f38
parent485ad9e9946bf38f9e50033e7e91e0acd9042f0a
Fixed POST data error response

- Added correct error types and tags that previously weren't
  specified at all so it always returned 500 status code.

Change-Id: I911fcd04546d2c2884f52e197c44cde67ed214a8
Signed-off-by: Jaroslav Tóth <jtoth@frinx.io>
(cherry picked from commit 03fc9bee15c61a8d1cdc0768ef7c3bdfb781514b)
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/PostDataTransactionUtil.java