Interesting idea... I just thought of quota as being a natural property of
Are there are quota verbs that would make sense? Maybe an automated quota
request could be a verb?
On Fri, Jan 24, 2014 at 5:35 PM, Kevin Sweeney <kevi...@apache.org> wrote:
> This is an automatically generated e-mail. To reply, visit:
> Why is this happening on a role noun and not a quota noun.
> aurora quota get west/ksweeney
> aurora role get_quota west/ksweeney
> The second looks inconsistent with the noun-verb model to me and if we ever
> decide that a quota could be set at a lower level the first is more extensible
> aurora quota get west/ksweeney/prod
> aurora quota get west/ksweeney/prod/appserver
> - Kevin Sweeney
> On January 24th, 2014, 2:07 p.m. PST, Mark Chu-Carroll wrote:
> Review request for Aurora, Kevin Sweeney and Brian Wickman.
> By Mark Chu-Carroll.
> *Updated Jan. 24, 2014, 2:07 p.m.*
> *Bugs: * aurora-107 <https://issues.apache.org/jira/browse/aurora-107>
> *Repository: * aurora
> Add a "role" noun.
> Currently, the only operation on roles is getting the quota associated with a
> but there are definitely others that can be added later: what packages has a
> role created?
> How many jobs is a role running? What privileges are associated with a role?
> How much
> system storage is being used by a role? Etc.
> [sun-wukong incubator-aurora (user)]$ ./pants
> Build operating on targets:
> ==================================== test session starts
> platform darwin -- Python 2.7.2 -- pytest-2.5.1
> collected 20 items
> src/test/python/apache/aurora/client/cli/test_create.py ....
> src/test/python/apache/aurora/client/cli/test_status.py .....
> src/test/python/apache/aurora/client/cli/test_diff.py ...
> src/test/python/apache/aurora/client/cli/test_kill.py .....
> src/test/python/apache/aurora/client/cli/test_get_quota.py ...
> ================================= 20 passed in 0.71 seconds
> ..... SUCCESS
> - src/main/python/apache/aurora/client/cli/BUILD
> - src/main/python/apache/aurora/client/cli/__init__.py
> - src/main/python/apache/aurora/client/cli/options.py
> - src/main/python/apache/aurora/client/cli/role.py (PRE-CREATION)
> - src/test/python/apache/aurora/client/cli/BUILD
> - src/test/python/apache/aurora/client/cli/test_get_quota.py
> - src/test/python/apache/aurora/client/cli/util.py
> View Diff <https://reviews.apache.org/r/17332/diff/>