[ 
https://issues.apache.org/jira/browse/MESOS-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16896740#comment-16896740
 ] 

Meng Zhu commented on MESOS-9599:
---------------------------------

{noformat}
commit 817545318da364efdff7c9c3f888d0d7aa94da23
Author: Meng Zhu m...@mesosphere.io
Date:   Tue Jul 30 18:48:32 2019 -0700


Updated quota related endpoints to return quota configurations.

Added quota configuration information (that includes both
guarantees and limits) in V1 GET_QUOTA call and V0 GET "/quota".

To keep backwards compatibility, the infos field which only
includes the guarantees are continue to be filled. An additional
field configs was added.

Also extended an existing test to cover the changes in
the endpoints.

Review: https://reviews.apache.org/r/71159
{noformat}


> Update `GET_QUOTA` to return both guarantees and limits. 
> ---------------------------------------------------------
>
>                 Key: MESOS-9599
>                 URL: https://issues.apache.org/jira/browse/MESOS-9599
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Meng Zhu
>            Assignee: Meng Zhu
>            Priority: Major
>              Labels: resource-management
>
> We should mark the existing `QuotaInfo` message as deprecated in favor of the 
> new `QuotaConfig`:
> {noformat}
> message GetQuota {
>   required quota.QuotaStatus status = 1;
> }
> message QuotaStatus {
>        repeated QuotaInfo infos [deprecated = true];
>        repeated QuotaConfig configs; 
> }
> message QuotaConfig {
>         required  string role;
>         map<string, Value.Scalar> guarantees;
>         map<string, Value.Scalar> limits;
> }
> {noformat}
> We will continue to fill in the QuotaInfo though for backward compatibility. 
> See the design doc: [New 
> API|https://docs.google.com/document/d/13vG5uH4YVwM79ErBPYAZfnqYFOBbUy2Lym0_9iAQ5Uk/edit#heading=h.z2vfcyzabymz]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to