You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jan Schlicht (JIRA)" <ji...@apache.org> on 2016/05/10 15:59:12 UTC

[jira] [Created] (MESOS-5357) Add a function to extract HTTP endpoints from an URL.

Jan Schlicht created MESOS-5357:
-----------------------------------

             Summary: Add a function to extract HTTP endpoints from an URL.
                 Key: MESOS-5357
                 URL: https://issues.apache.org/jira/browse/MESOS-5357
             Project: Mesos
          Issue Type: Improvement
          Components: libprocess
            Reporter: Jan Schlicht
            Assignee: Jan Schlicht
             Fix For: 0.29.0


HTTP endpoints in Mesos receive a {{process::http::Request}} that includes a {{process::http::URL}}. The {{path}} member of the URL instance is of the form {{/master/endpoint}} or {{/slave(n)/endpoint}}. We want to implement authorization of endpoints and need to extract the endpoint from that path and that function should be accessible for masters as well as agents.
This can be done by adding a method to {{process::http::URL}} that implements the extraction logic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)