This is an automated email from the ASF dual-hosted git repository.
bennoe pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.
from fc0069b Fixed a compilation issue due to const capture in a lambda.
new d5b6ba7 Revamped attribute handling in stout.
new c005954 Added 'nodiscard' attribute to some member functions of
Resources.
new 48d79c2 Improved error reporting in 'Resources::pushReservation()'.
new 78b071c Added 'source' field to operator reservation API.
new 398a13e Added 'source' field to scheduler reservation API.
new fb37dda Consolidated 'Master::authorizeReserveResources' overloads.
new 2313215 Rejected scheduler calls that include reservation updates.
new c44b4fb3 Rejected operator API calls that include reservation updates.
new 8e742eb Added function to compute a common reservation ancestor.
new b368d89 Updated 'Master::Http::_reserve' to pass along new 'source'
field.
new 1aedc02 Updated validation of 'Reserve' call.
new f1a9d72 Updated offer operation resource validation for reservation
updates.
new 1d225b4 Updated 'getResourceConversion()' for reservation updates.
new 09c830d Added authorization handling for reservations with `source`.
new b6bdc74 Added end-to-end test for operator API reservation updates.
The 15 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
3rdparty/stout/include/stout/abort.hpp | 6 +-
3rdparty/stout/include/stout/attributes.hpp | 26 +++-
3rdparty/stout/include/stout/exit.hpp | 2 +-
3rdparty/stout/include/stout/unimplemented.hpp | 2 +-
3rdparty/stout/include/stout/unreachable.hpp | 2 +-
include/mesos/master/master.proto | 1 +
include/mesos/mesos.proto | 1 +
include/mesos/resources.hpp | 19 ++-
include/mesos/v1/master/master.proto | 1 +
include/mesos/v1/mesos.proto | 1 +
src/common/resources.cpp | 39 +++++-
src/common/resources_utils.cpp | 23 +++-
src/master/http.cpp | 79 +++++++----
src/master/master.cpp | 148 +++++++++++++++------
src/master/master.hpp | 7 +-
src/master/validation.cpp | 57 ++++++++
src/tests/api_tests.cpp | 144 ++++++++++++++++++++
src/tests/master_authorization_tests.cpp | 177 +++++++++++++++++++++++++
src/tests/resources_tests.cpp | 66 +++++++++
19 files changed, 715 insertions(+), 86 deletions(-)