Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-923

?prettyPrint=true is ignored

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Resolution: Done
    • Helium
    • None
    • restconf
    • None
    • Operating System: Linux
      Platform: PC

    • 2153

    Description

      The fix to CONTROLLER-477 introduced URI parameter prettyPrint. The code from https://git.opendaylight.org/gerrit/#/c/8329 is still there, but since then codecs were moved to yangtools, and logic to detect prettyPrint was not moved properly. This example from gerrit (with new restconf port) thus now fails to result in formatted output:
      http://localhost:8181/restconf/config/opendaylight-inventory:nodes?prettyPrint=true

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jhajnar@cisco.com Jan Hajnar
            vrpolak Vratko Polak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: