Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3796

Mesos Master and Agent http api should support configurable CORS headers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.25.0
    • Fix Version/s: None
    • Component/s: HTTP API
    • Labels:
      None

      Description

      There are several places where it would be useful to access the mesos master api (http port 5050) or agent api (http port 5051) via a javascript client. This is inhibited by the fact that the http headers such as Access-Control-Allow-Origin are not passed at all by mesos. A stop-gap is to write a small proxy which passes requests to/from mesos while adding the header, but that is suboptimal for several reasons.

      Allowing the option to configure said headers, or just to enable them explicitly would be very useful. Some projects such as mesos-ui[1] have an issue open about this[2].

      [1] http://capgemini.github.io/devops/mesos-ui/
      [2] https://github.com/Capgemini/mesos-ui/issues/57

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                SEJeff Jeffrey Schroeder
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: