Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1041

Discrepancy between /ws/v1/slider/publisher/exports and /ws/v1/slider/publisher/exports/{export_name}

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.90.2
    • Slider 0.91
    • Web & REST
    • None

    Description

      In working on SLIDER-809, I noticed that I could see the map of all exports listed in /ws/v1/slider/publisher/exports, but this endpoint did not actually contain the value from the ExportEntry. If I request some /ws/v1/slider/publisher/exports/<export_name>, then I can see the value:

      For example:

      {"exports":{"servers":{"description":"Servers","updated":1451440844425,"updatedTime":"Tue Dec 29 21:00:44 EST 2015","entries":{},"empty":true},"quicklinks":{"description":"QuickLinks","updated":1451440844425,"updatedTime":"Tue Dec 29 21:00:44 EST 2015","entries":{},"empty":true},"container_log_dirs":{"description":"container_log_dirs","updated":1451440840223,"updatedTime":"Tue Dec 29 21:00:40 EST 2015","entries":{},"empty":true},"container_work_dirs":{"description":"container_work_dirs","updated":1451440840223,"updatedTime":"Tue Dec 29 21:00:40 EST 2015","entries":{},"empty":true}}}
      

      And if I fetch the quicklinks:

      {"description":"QuickLinks","updated":1451440844425,"updatedTime":"Tue Dec 29 21:00:44 EST 2015","entries":{"HTTP":[{"value":"http://hw10447.local:60283","level":"application","updatedTime":"Tue Dec 29 21:00:44 EST 2015"}]},"empty":false}
      

      Suddenly, entries is not empty. These seems to be inconsistent since both REST endpoints are backed by the same data structure.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: