python-mistralclient/mistralclient
Sharat Sharma 1a3094d224 Set the default value of --limit parameter
The "--limit" parameter of heavy CLI commands should not be
infinite by default. For commands like "mistral task-list" and
"execution-list" we need to set --limit parameter by default to
some reasonable value. The proposal is 100. Otherwise it's easy
to cause a huge load on a server if the result set is not limited.

A warning message is thrown whenever these commands are executed
without using "--limit" parameter.

Change-Id: If0fead181171e5b9c590f3f4c852c6ad2541ff94
Implements: blueprint mistral-cli-default-limit-parameter
(cherry picked from commit fabec4fafc)
2017-07-11 14:39:28 +00:00
..
api Set the default value of --limit parameter 2017-07-11 14:39:28 +00:00
auth Add user and project domain name parameters for target cloud 2017-01-12 18:35:48 +07:00
commands Set the default value of --limit parameter 2017-07-11 14:39:28 +00:00
osc Add plug-in summary for osc doc 2016-10-14 14:02:17 +09:00
tests Set the default value of --limit parameter 2017-07-11 14:39:28 +00:00
__init__.py Correct the name that the client is installed as 2014-06-12 21:57:42 +10:00
exceptions.py Remove unneeded definitions of Python Source Code Encoding 2014-07-31 15:26:15 +02:00
i18n.py Initial commit for mistral-i18n support 2017-01-06 19:08:07 +05:30
shell.py Add user and project domain name parameters for target cloud 2017-01-12 18:35:48 +07:00
utils.py Move json.loads() method to utils.py, and use "with" to deal with file objects 2016-11-30 12:04:31 +08:00