You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Adam B (JIRA)" <ji...@apache.org> on 2016/05/17 21:54:13 UTC

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

    [ https://issues.apache.org/jira/browse/MESOS-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15287683#comment-15287683 ] 

Adam B commented on MESOS-5357:
-------------------------------

cc: [~greggomann]

> 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
>              Labels: libprocess, mesosphere, newbie, security
>             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)