You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cody Maloney (JIRA)" <ji...@apache.org> on 2015/08/12 07:18:45 UTC

[jira] [Updated] (MESOS-2130) Allow prefix routing of paths in libprocess

     [ https://issues.apache.org/jira/browse/MESOS-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cody Maloney updated MESOS-2130:
--------------------------------
    Assignee:     (was: Cody Maloney)

> Allow prefix routing of paths in libprocess
> -------------------------------------------
>
>                 Key: MESOS-2130
>                 URL: https://issues.apache.org/jira/browse/MESOS-2130
>             Project: Mesos
>          Issue Type: Improvement
>          Components: libprocess
>            Reporter: Cody Maloney
>              Labels: mesosphere
>
> Currently libprocess can only route to UPIDs, and then within the upids one top level "command". Ideally you can attach C++ endpoints to arbitrary paths, including taking everything that matches a prefix:
> Ex:
> /slaves/:slave_id/ could proxy to an individual slave
> /slaves/ 
>  - Alias for /slave(1) if only one slave
> /slaves/{number} 
>  - point to an individual slave rather than requiring people to properly encode () in urls.
> /proxy/go/master-leader/files/browse.json
>  - The endpoint would be /proxy/go, and then it internally processes the request to find the host it should go to (What is the IP for the currently elected master?) and then forwards the rest of the path to the target machine.



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