storlets/tests/functional/python
Takashi Kajinami 8401b6c581 Allow limiting maximum extra resources
Using many extra resources may cause high load at proxy server, because
the process needs to get all of the requested objects concurrently.
This change introduces a new option to limit maximum number of extra
resources per request to avoid DoS attack by too many extra resources.
If a request contains extra resources over the limit, then the request
is rejected at an early stage. The default value is -1 which means
unlimited. In case this option is set to 0 then users are not allowed
to use extra resources at all.

This also refactors handling of extra-resources header. One side
benefit of the refactoring is that now users can use additional inputs
when executing storlet over PUT requests.

Change-Id: I0ea7d78614f2b1ef5bf4961d2d5fe773264ef448
2024-02-14 01:03:52 +09:00
..
__init__.py Support py3 execution environment 2019-03-06 17:21:41 +09:00
test_SLO.py Refactor SLO tests 2024-01-29 14:29:22 +09:00
test_broken_storlet.py Refactor functional tests with broken python storlet 2024-01-29 18:16:56 +09:00
test_deploy_storlet.py Update test_deploy_storlet expectations to be bytes 2019-11-12 14:17:49 -08:00
test_execdep_storlet.py Fixed order of arguments in assertEqual 2017-07-21 16:04:09 +05:30
test_execqueryheader_storlet.py py3: Fix up some func tests 2019-11-08 23:04:31 +00:00
test_multiinput_storlet.py Allow limiting maximum extra resources 2024-02-14 01:03:52 +09:00
test_simple_storlet.py Replace nose to nose2 2023-02-14 08:16:58 +00:00
test_symlink.py Skip storlet execution for symlink at object-server 2024-01-29 18:10:03 +09:00
test_test_storlet.py Replace nose to nose2 2023-02-14 08:16:58 +00:00