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":"[email protected]",
  "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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to