----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62636/#review192191 -----------------------------------------------------------
Two tests has been added: https://reviews.apache.org/r/64176 https://reviews.apache.org/r/64177 - Jie Yu On Nov. 29, 2017, 7:35 p.m., Chun-Hung Hsiao wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62636/ > ----------------------------------------------------------- > > (Updated Nov. 29, 2017, 7:35 p.m.) > > > Review request for mesos, Alexander Rojas, Greg Mann, Jie Yu, and Joseph Wu. > > > Bugs: MESOS-8100 > https://issues.apache.org/jira/browse/MESOS-8100 > > > Repository: mesos > > > Description > ------- > > `LocalResourceProviderDaemon` now uses `Slave::secretGenerater` to > generate an authentication token for each local resource provider. The > authentication token can then be used to call the V1 agent API. In order > to generate the tokens, `LocalResourceProviderDaemon::load()` is now an > asynchronous function. > > > Diffs > ----- > > src/resource_provider/daemon.hpp 8668cd1c4c0be79e8e18371744c9f043129f30c5 > src/resource_provider/daemon.cpp 80b5c71e266bda2f15d5dfb9b1c15f01c6aa8e93 > src/resource_provider/local.hpp ebaa07d03ad77d516066ee2d4b60864be0611b5f > src/resource_provider/local.cpp ad98f333c5668ca81de6e7ed3fc8f59323b151da > src/resource_provider/storage/provider.hpp > 6de88c2329b358fcf48bc39ddda0132170991c3c > src/resource_provider/storage/provider.cpp > 49c042cdb1837860aaedde2e48f318ed5ac8b1d1 > src/slave/slave.cpp e1566832f90cca372ad2f1cc13d1e7f76fa53285 > > > Diff: https://reviews.apache.org/r/62636/diff/12/ > > > Testing > ------- > > make > > > Thanks, > > Chun-Hung Hsiao > >