Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Honolulu Release
-
None
Description
- Scenario
Try to create a data node that is not compliant with the specified Yang model using
prtocol://host:port/cps/api/v1/dataspaces/dataspace-name/anchors/anchor-name/nodes
- Actual behavior:
The response is generic, just mentioning a failure to parse json data.
{ "status": "400 BAD_REQUEST", "message": "Failed to parse json data.", "details": "Exception occurred on parsing string {\n \"cps-cavsta-onap-internal:ran-coverage-area\": {\n \"pLMNIdList2\": [\n {\n \"mcc\": \"310\",\n \"mnc\": \"410\",\n \"coverage-area\": [\n {\n \"coverageArea\": \"Washington\",\n \"coverageAreaTAList\": [\n {\n \"nRTAC\": 234,\n \"taCellsList\": [\n {\n \"cellLocalId\": 15709\n }\n ]\n }\n ]\n },\n {\n \"coverageArea\": \"Dublin\",\n \"coverageAreaTAList\": [\n {\n \"nRTAC\": 334,\n \"taCellsList\": [\n {\n \"cellLocalId\": 15719\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n}." }
- Expected behaviour:
The response contains the reason why the data is not compliant:
Schema node with name pLMNIdList2 was not found under (org:onap:ccsdk:features:sdnr:northbound:cps-cavsta-onap-internal?revision=2021-01-28)ran-coverage-area
This issue seems to be a regression.
Attachments
Issue Links
- blocks
-
CPS-319 Create Docker Image with all bugfixes for Honolulu Release
-
- Closed
-