Update response message for data validation failure 67/138267/8
authorArpit Singh <as00745003@techmahindra.com>
Tue, 9 Jul 2024 11:50:51 +0000 (17:20 +0530)
committerArpit Singh <as00745003@techmahindra.com>
Wed, 24 Jul 2024 11:24:38 +0000 (16:54 +0530)
commitd9e391c4fc21f964ee16c7c289d8ced566bec794
treef51879949912bb31b5b6fc4a6da1901c67581e86
parent5cba1b8333b4b2f2d97160f0ee210dde9f25aee1
Update response message for data validation failure

- Make the response message more informative and cleaner in case of data
  validation failure.
- Updated message body will not contain the entire jsonData as part of
  response sent back to the user

Issue-ID: CPS-2306
Change-Id: I28aab1450779af98ccdd11701e78bdfcdbc18cf0
Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
cps-service/src/main/java/org/onap/cps/utils/YangParserHelper.java
cps-service/src/test/groovy/org/onap/cps/api/impl/CpsDataServiceImplSpec.groovy