This is an automated email from the ASF dual-hosted git repository.

mzhu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.


    from bbfa90d  Added MESOS-9661 to the 1.7.3 CHANGELOG.
     new da1f957  Added method `fromScalarResources` in `ResourceQuantities`.
     new 393f39d  Added `>`, `<` and `>=` operators to `Value::Scalar`.
     new aa7b75f  Refactored and augmented `class ResourceQuantities`.
     new f9d473f  Improved `ResourceQuantities` test's readability.
     new 75b3637  Added test for `ResourceQuantities` arithmetic operations.
     new 22152e4  Added a `contains` method in `ResourceQuantities`.
     new 4ca29ac  Replaced a constructor in `ResourceQuantities`.
     new 0433acf  Added `class ResourceLimits`.
     new 4371ea2  Added tests for `ResourceLimits`.
     new 00dae79  Added a method to check 
`ResourceLimits::contains(ResourceQuantities)`.
     new dd62817  Updated `UPDATE_QUOTA` call with a new schema.
     new 4fd5978  Added `<<` operator to `protobuf::Map`.
     new c8170fa  Added validation method for input scalar values.
     new 59f32c8  Added validation for `QuotaConfig`.
     new 4625d00  Added call handler for `UPDATE_QUOTA`.
     new 2a22035  Updated a test for `UPDATE_QUOTA` call validation.

The 16 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:
 include/mesos/master/master.proto             |  10 +-
 include/mesos/quota/quota.proto               |  11 +
 include/mesos/type_utils.hpp                  |  17 ++
 include/mesos/v1/master/master.proto          |  10 +-
 include/mesos/v1/quota/quota.proto            |  52 ++++
 include/mesos/v1/values.hpp                   |   3 +
 include/mesos/values.hpp                      |   3 +
 src/common/resource_quantities.cpp            | 324 +++++++++++++++++++-
 src/common/resource_quantities.hpp            | 148 +++++++--
 src/common/validation.cpp                     |  43 ++-
 src/common/validation.hpp                     |   2 +
 src/common/values.cpp                         |  32 +-
 src/master/allocator/mesos/hierarchical.cpp   |   3 +-
 src/master/allocator/sorter/drf/sorter.cpp    |  15 +-
 src/master/allocator/sorter/drf/sorter.hpp    |  17 +-
 src/master/allocator/sorter/random/sorter.cpp |  11 +-
 src/master/allocator/sorter/random/sorter.hpp |  17 +-
 src/master/master.hpp                         |   5 +
 src/master/quota.cpp                          |  60 ++++
 src/master/quota.hpp                          |  12 +
 src/master/quota_handler.cpp                  |  38 +++
 src/tests/common_validation_tests.cpp         |  10 +-
 src/tests/master_validation_tests.cpp         | 246 ++++-----------
 src/tests/resource_quantities_tests.cpp       | 416 ++++++++++++++++++++++----
 src/v1/values.cpp                             |  34 ++-
 25 files changed, 1159 insertions(+), 380 deletions(-)

Reply via email to