You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/06/25 06:55:00 UTC

[jira] [Resolved] (JAMES-2404) Search quota occupation with WebAdmin

     [ https://issues.apache.org/jira/browse/JAMES-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit resolved JAMES-2404.
-----------------------------------
    Resolution: Fixed

A github Pull request solved this.

> Search quota occupation with WebAdmin
> -------------------------------------
>
>                 Key: JAMES-2404
>                 URL: https://issues.apache.org/jira/browse/JAMES-2404
>             Project: James Server
>          Issue Type: New Feature
>          Components: webadmin
>            Reporter: Antoine Duprat
>            Priority: Major
>
> Create a new route in a webadmin specific project, allowing to search users based of there quota ratio...
> {code:json}
>  GET /quota/users?minOccuptationRatio=0.8&maxOccupationRatio=0.99&limit=100&offset=200&domain=oppen-paas.org
>  [{
>    "username":"bob@oppen-paas.org",
>    "global":
> {     "size":500000,     "count":8000   }
> ,
>    "domain":
> {     "size":500000,     "count":8000   }
> ,
>    "user":
> {     "size":500000,     "count":8000   }
> ,
>    "computed":
> {     "size":500000,     "count":8000   }
> ,
>    "occupation": {
>      "size":1000,
>      "count":10000,
>      "ratio":
> {        "size":0.8,        "count":0.6,        "max":0.8     }
>   }
>  }, ...
>  ]
> {code}
>  You will run test on top of ES AND memory.
> You will demonstrate webadmin-integration-test binds the route.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org