Details
-
Story
-
Status: Closed
-
Low
-
Resolution: Done
-
None
-
None
-
Policy 3/30 - 4/13
Description
As a ONAP developer, I would like to add REST parameter validation for the api's exposed by PAP.
So that it returns BAD-REQUEST instead of 500.
Some of the parameters already have a validatePapRest() method, but it isn't always invoked by the controllers, while some of the other parameters have no validate() method at all.
Attachments
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
119997,1 | Allow field accessor to be overridden | master | policy/common | Status: ABANDONED | +1 | +1 |
119998,2 | Add validation of PAP REST classes | master | policy/models | Status: ABANDONED | 0 | -1 |
120001,4 | Validate parameters of REST calls | master | policy/pap | Status: MERGED | +2 | +1 |