Update response message for data validation failure 44/138544/3
authorArpit Singh <as00745003@techmahindra.com>
Tue, 9 Jul 2024 11:50:51 +0000 (17:20 +0530)
committerArpit Singh <as00745003@techmahindra.com>
Fri, 26 Jul 2024 14:40:30 +0000 (14:40 +0000)
commit6f79d8d011bc2547411bd19e0ea73eda9430e649
treeb346fd9faf20c03dfab7f47b9ff22e6eaa49f0f9
parenta419cc178c0844051bf0353c4d9e5a75ca4d3a01
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