This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 2bc0aa5 Update invoke.py to reflect changes in repository (#3005)
2bc0aa5 is described below
commit 2bc0aa5a884cdebc20082aaf11418ff6fbbcac7b
Author: rodric rabbah <[email protected]>
AuthorDate: Thu Nov 30 21:48:43 2017 -0500
Update invoke.py to reflect changes in repository (#3005)
* Udpdate documentation to reflect deleted file.
* Add result limit.
* Tweak example.
---
actionRuntimes/actionProxy/invoke.py | 6 +++---
docs/reference.md | 4 ++++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/actionRuntimes/actionProxy/invoke.py
b/actionRuntimes/actionProxy/invoke.py
index 92d8a6d..1c0d9ad 100755
--- a/actionRuntimes/actionProxy/invoke.py
+++ b/actionRuntimes/actionProxy/invoke.py
@@ -3,9 +3,9 @@
This script is useful for testing the action proxy (or its derivatives)
by simulating invoker interactions. Use it in combination with
- delete-build-run.sh which builds and starts up the action proxy.
- Examples:
- ./delete-build-run.sh &
+ docker run <image> which starts up the action proxy.
+ Example:
+ docker run -i -t -p 8080:8080 dockerskeleton # locally built images may
be referenced without a tag
./invoke.py init <action source file> # should return OK
./invoke.py run '{"some":"json object as a string"}'
/*
diff --git a/docs/reference.md b/docs/reference.md
index 258abe5..87e7c52 100644
--- a/docs/reference.md
+++ b/docs/reference.md
@@ -451,6 +451,7 @@ The following table lists the default limits for actions.
| minuteRate | no more than N activations may be submitted per namespace per
minute | per namespace | number | 120 |
| codeSize | the maximum size of the actioncode | not configurable, limit per
action | MB | 48 |
| parameters | the maximum size of the parameters that can be attached | not
configurable, limit per action/package/trigger | MB | 1 |
+| result | the maximum size of the action result | not configurable, limit per
action | MB | 1 |
### Per action timeout (ms) (Default: 60s)
* The timeout limit N is in the range [100ms..300000ms] and is set per action
in milliseconds.
@@ -474,6 +475,9 @@ The following table lists the default limits for actions.
### Per activation payload size (MB) (Fixed: 1MB)
* The maximum POST content size plus any curried parameters for an action
invocation or trigger firing is 1MB.
+### Per activation result size (MB) (Fixed: 1MB)
+* The maximum size of a result returned from an action is 1MB.
+
### Per namespace concurrent invocation (Default: 100)
* The number of activations that are either executing or queued for execution
for a namespace cannot exceed 100.
* A user is currently not able to change the limits.
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].