This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/openwhisk-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5ec36b8 Automatic Site Publish by Jenkins
5ec36b8 is described below
commit 5ec36b841b4dcf5ce82f19d6b103180df4470522
Author: jenkins <[email protected]>
AuthorDate: Fri Sep 18 15:40:09 2020 +0000
Automatic Site Publish by Jenkins
---
documentation.html | 43 ++++++++++++++++++++++---------------------
feed.xml | 2 +-
package-lock.json | 54 +++++++++++++++++++++++++++++++++++++++++-------------
3 files changed, 64 insertions(+), 35 deletions(-)
diff --git a/documentation.html b/documentation.html
index 647f546..5c004d6 100644
--- a/documentation.html
+++ b/documentation.html
@@ -955,8 +955,9 @@ function addListenersToSections()
<span class="s">actions</span><span class="pi">:</span>
<span class="s">helloJS</span><span class="pi">:</span>
<span class="s">code</span><span class="pi">:</span> <span
class="pi">|</span>
- <span class="no">function main() {</span>
- <span class="no">return {payload: 'Hello
world'};</span>
+ <span class="no">function main(args) {</span>
+ <span class="no">const name = args &&
args.name || "stranger";</span>
+ <span class="no">return { greeting: `Hello ${name}!`
};</span>
<span class="no">}</span>
<span class="s">runtime</span><span class="pi">:</span> <span
class="s">nodejs:10</span></code></pre></figure>
@@ -1071,8 +1072,10 @@ function addListenersToSections()
<figure class="highlight"><pre><code class="language-javascript"
data-lang="javascript"><table style="border-spacing: 0"><tbody><tr><td
class="gutter gl" style="text-align: right"><pre class="lineno">1
2
-3</pre></td><td class="code"><pre><span class="kd">function</span> <span
class="nx">main</span><span class="p">()</span> <span class="p">{</span>
- <span class="k">return</span> <span class="p">{</span><span
class="na">payload</span><span class="p">:</span> <span class="s1">'Hello
world'</span><span class="p">};</span>
+3
+4</pre></td><td class="code"><pre><span class="kd">function</span> <span
class="nx">main</span><span class="p">(</span><span class="nx">args</span><span
class="p">)</span> <span class="p">{</span>
+ <span class="kr">const</span> <span class="nx">name</span> <span
class="o">=</span> <span class="nx">args</span> <span
class="o">&&</span> <span class="nx">args</span><span
class="p">.</span><span class="nx">name</span> <span class="o">||</span> <span
class="s2">"stranger"</span><span class="p">;</span>
+ <span class="k">return</span> <span class="p">{</span> <span
class="na">greeting</span><span class="p">:</span> <span
class="err">`</span><span class="nx">Hello</span> <span
class="nx">$</span><span class="p">{</span><span class="nx">name</span><span
class="p">}</span><span class="o">!</span><span class="err">`</span> <span
class="p">};</span>
<span class="p">}</span><span class="w">
</span></pre></td></tr></tbody></table></code></pre></figure>
@@ -1090,20 +1093,16 @@ function addListenersToSections()
</div>
</li>
<li style="list-style-type: decimal">
- Invoke the <i>helloJS</i> action as a blocking activation:
+ Invoke an action <i>helloJS</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloJS
--blocking</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloJS --result
--param name World</code></pre></figure>
</div>
<div class="terminal">
<figure class="highlight"><pre><code class="language-yaml"
data-lang="yaml"><span class="pi">{</span>
-<span class="s2">"</span><span class="s">result"</span><span
class="pi">:</span> <span class="pi">{</span>
-<span class="s2">"</span><span class="s">payload"</span><span
class="pi">:</span> <span class="s2">"</span><span class="s">Hello</span><span
class="nv"> </span><span class="s">world"</span>
-<span class="pi">},</span>
-<span class="s2">"</span><span class="s">status"</span><span
class="pi">:</span> <span class="s2">"</span><span
class="s">success"</span><span class="pi">,</span>
-<span class="s2">"</span><span class="s">success"</span><span
class="pi">:</span> <span class="nv">true</span>
+ <span class="s2">"</span><span class="s">greeting"</span><span
class="pi">:</span> <span class="s2">"</span><span class="s">Hello</span><span
class="nv"> </span><span class="s">World!"</span>
<span class="pi">}</span></code></pre></figure>
</div>
@@ -1145,13 +1144,15 @@ function addListenersToSections()
6
7
8
-9</pre></td><td class="code"><pre><span class="s">packages</span><span
class="pi">:</span>
+9
+10</pre></td><td class="code"><pre><span class="s">packages</span><span
class="pi">:</span>
<span class="s">default</span><span class="pi">:</span>
<span class="s">actions</span><span class="pi">:</span>
<span class="s">helloJS</span><span class="pi">:</span>
<span class="s">code</span><span class="pi">:</span> <span
class="pi">|</span>
- <span class="no">function main() {</span>
- <span class="no">return {payload: 'Hello
world'};</span>
+ <span class="no">function main(args) {</span>
+ <span class="no">const name = args &&
args.name || "stranger";</span>
+ <span class="no">return { greeting: `Hello ${name}!`
};</span>
<span class="no">}</span>
<span class="s">runtime</span><span class="pi">:</span> <span
class="s">nodejs:10</span><span class="w">
</span></pre></td></tr></tbody></table></code></pre></figure>
@@ -1269,7 +1270,7 @@ function addListenersToSections()
Invoke an action <i>helloGo</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloGo -r -p name
gopher</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloGo --result
--param name gopher</code></pre></figure>
</div>
<div class="terminal">
@@ -1398,7 +1399,7 @@ function addListenersToSections()
<li style="list-style-type: decimal">Invoke the <i>helloPy</i>
action using command-line parameters:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloPy --blocking
--param name World</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloPy --result
--param name World</code></pre></figure>
</div>
<div class="terminal">
@@ -1602,7 +1603,7 @@ function addListenersToSections()
Invoke an action <i>helloJava</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloJava
--blocking --result</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloJava
--result</code></pre></figure>
</div>
<div class="terminal">
@@ -1701,7 +1702,7 @@ function addListenersToSections()
Invoke an action <i>helloPHP</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloPHP
--blocking --result --param name World</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloPHP --result
--param name World</code></pre></figure>
</div>
<div class="terminal">
@@ -1860,7 +1861,7 @@ function addListenersToSections()
Invoke an action <i>hello_ruby</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke hello_ruby
--blocking --result --param name World</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke hello_ruby
--result --param name World</code></pre></figure>
</div>
<div class="terminal">
@@ -2006,7 +2007,7 @@ function addListenersToSections()
Invoke an action <i>helloSwift</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloSwift -r -p
name Carlos</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloSwift
--result --param name Carlos</code></pre></figure>
</div>
<div class="terminal">
@@ -2200,7 +2201,7 @@ function addListenersToSections()
Invoke an action <i>helloDotNet</i>:
<div class="terminal">
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloDotNet -r -p
name Shawn</code></pre></figure>
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action invoke helloDotNet
--result --param name Shawn</code></pre></figure>
</div>
<div class="terminal">
diff --git a/feed.xml b/feed.xml
index 0e5190d..1cd81d0 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1,2 +1,2 @@
-<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.3.0">Jekyll</generator><link href="/feed.xml" rel="self"
type="application/atom+xml" /><link href="/" rel="alternate" type="text/html"
/><updated>2020-09-03T22:10:34+00:00</updated><id>/feed.xml</id><title
type="html">Apache OpenWhisk is a serverless, open source cloud
platform</title><subtitle>An open source platform for serverless, event-driven
code at any [...]
+<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.3.0">Jekyll</generator><link href="/feed.xml" rel="self"
type="application/atom+xml" /><link href="/" rel="alternate" type="text/html"
/><updated>2020-09-18T15:40:04+00:00</updated><id>/feed.xml</id><title
type="html">Apache OpenWhisk is a serverless, open source cloud
platform</title><subtitle>An open source platform for serverless, event-driven
code at any [...]
</subtitle></feed>
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index f61d85c..101d03a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -870,9 +870,9 @@
"dev": true
},
"is-callable": {
- "version": "1.2.0",
- "resolved":
"https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity":
"sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==",
+ "version": "1.2.1",
+ "resolved":
"https://registry.npmjs.org/is-callable/-/is-callable-1.2.1.tgz",
+ "integrity":
"sha512-wliAfSzx6V+6WfMOmus1xy0XvSgf/dlStkvTfq7F0g4bOIW0PSUbnyse3NhDwdyYS1ozfUtAAySqTws3z9Eqgg==",
"dev": true
},
"is-date-object": {
@@ -887,6 +887,12 @@
"integrity":
"sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",
"dev": true
},
+ "is-negative-zero": {
+ "version": "2.0.0",
+ "resolved":
"https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz",
+ "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=",
+ "dev": true
+ },
"is-regex": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
@@ -1079,15 +1085,37 @@
"dev": true
},
"object.assign": {
- "version": "4.1.0",
- "resolved":
"https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity":
"sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "version": "4.1.1",
+ "resolved":
"https://registry.npmjs.org/object.assign/-/object.assign-4.1.1.tgz",
+ "integrity":
"sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==",
"dev": true,
"requires": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.0",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.18.0-next.0",
+ "resolved":
"https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.0.tgz",
+ "integrity":
"sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.0",
+ "is-negative-zero": "^2.0.0",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"os-homedir": {
@@ -1412,9 +1440,9 @@
}
},
"spdx-license-ids": {
- "version": "3.0.5",
- "resolved":
"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
- "integrity":
"sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
+ "version": "3.0.6",
+ "resolved":
"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz",
+ "integrity":
"sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==",
"dev": true
},
"split": {