Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-920

Error marshalling LensAPIResult to json

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: api, server
    • Labels:

      Description

      Rest apis should be able to work with both application/xml and application/json accept headers.

      But some APIs that return LensAPIResult<?> does not work with application/json accept header.

      To reproduce
      1) Hit the /lensapi/queryapi/queries with one more additional header
      Accept - application/json

        Attachments

        1. LENS-920.6.patch
          432 kB
          Amareshwari Sriramadasu

          Issue Links

            Activity

              People

              • Assignee:
                amareshwari Amareshwari Sriramadasu
                Reporter:
                amrk7 Amruth Sampath
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: