----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/11210/ -----------------------------------------------------------
(Updated June 5, 2013, 9:34 p.m.) Review request for mesos and Benjamin Hindman. Changes ------- Updated from conversation with Ben H: I removed the role update endpoint, because we decided that we should wait until there's a security model in place before exposing that kind of functionality. Instead, weights are set through the command line flag to the master. This also postpones decisions about what it means to change a weight, as well as decisions about how to protect against user error in setting weights, until they've been discussed more. I also added more information to the role json endpoint, specifically current framework IDs and total resource usage. Description ------- Adds two http endpoints: one takes a few parameters and allows for adding, removing, and updating roles. The other returns the current roles as json. Diffs (updated) ----- src/master/http.hpp 9eb0a31 src/master/http.cpp 7e105a4 src/master/master.hpp 8e7b74c src/master/master.cpp a2e4b90 Diff: https://reviews.apache.org/r/11210/diff/ Testing ------- make check Thanks, Thomas Marshall
