[
https://issues.apache.org/jira/browse/MESOS-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549536#comment-14549536
]
Cody Maloney commented on MESOS-2130:
-------------------------------------
This is stalled at the moment (I haven't been working on it, heading out of
town).
> 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
> Assignee: 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)