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

?prettyPrint=true is ignored

XMLWordPrintable

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

    • 2153

      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

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

              Created:
              Updated:
              Resolved: