Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2542

Improve the REST parameter validation for PAP api's

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Low
    • Resolution: Done
    • None
    • Istanbul Release
    • None

    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

        Activity

          People

            jrh3 Jim Hahn
            ramverma Ram Krishna Verma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: