james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2404) Search quota occupation with WebAdmin
Date Fri, 25 May 2018 08:18:00 GMT
Antoine Duprat created JAMES-2404:
-------------------------------------

             Summary: 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


Create a new route in a webadmin specific project, allowing to search users based of there
quota ratio...
```
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
    }
  }
}, ...
]
```
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


Mime
View raw message