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 d9b0e65 Automatic Site Publish by Jenkins
d9b0e65 is described below
commit d9b0e653dbf30f779dae8051a8a8d3dcf1890a54
Author: jenkins <[email protected]>
AuthorDate: Tue Jul 7 03:40:47 2020 +0000
Automatic Site Publish by Jenkins
---
documentation.html | 55 ++++++++++++++++------------
feed.xml | 2 +-
images/runtimes/icon-rust-mono.png | Bin 0 -> 17729 bytes
images/runtimes/logo-scala-notext-color.png | Bin 0 -> 47880 bytes
4 files changed, 32 insertions(+), 25 deletions(-)
diff --git a/documentation.html b/documentation.html
index 5355d50..2c0b65f 100644
--- a/documentation.html
+++ b/documentation.html
@@ -684,7 +684,7 @@ function addListenersToSections()
<!-- OpenWhisk CLI -->
<!-- ********************************************************** -->
<a class="indexable" id="wsk-cli"></a>
- <h4>OpenWhisk CLI (wsk)</h4>
+ <h4>OpenWhisk CLI <em>(wsk)</em></h4>
<p>OpenWhisk offers the <code>wsk</code> Command Line Interface
(CLI) to easily create, run, and manage OpenWhisk entities.
</p>
@@ -860,19 +860,18 @@ function addListenersToSections()
<!-- Whisk Deploy -->
<!-- ********************************************************** -->
<a class="indexable" id="wskdeploy"></a>
- <h4>Whisk Deploy (wskdeploy)</h4>
+ <h4>Whisk Deploy <em>(wskdeploy)</em></h4>
<p>
<a
href="https://github.com/apache/openwhisk-wskdeploy/blob/master/README.md">Whisk
Deploy</a>
is a utility, named <em>wskdeploy</em>, to help deploy and
manage all your OpenWhisk Packages, Actions, Triggers, Rules
- and APIs using a single command using an application manifest.
+ and APIs from a single command using an application manifest.
</p>
+ <h5>Whisk deploy in the <em>wsk</em> CLI</h5>
+
<p>
- The functionality of wskdeploy is also embedded as a subcommand
- of wsk in the CLI. You can use the <code>wsk deploy</code>
- subcommand or follow the instructions below on installing the
- wskdeploy utility.
+ The functionality of <em>wskdeploy</em> is also embedded as the
<code>deploy</code> subcommand within the <em>wsk</em> CLI. The functionality
is identical and supports all the same parameters and flags. This means that
you can use the <code>wsk deploy</code> subcommand if you already have the CLI
installed or follow the instructions below on installing the wskdeploy utility
for standalone use.
</p>
<h5>Installing</h5>
@@ -1543,11 +1542,7 @@ function addListenersToSections()
14
15
16
-17
-18
-19</pre></td><td class="code"><pre><span class="kn">package</span> <span
class="n">hello</span><span class="o">;</span>
-
-<span class="kn">import</span> <span
class="nn">com.google.gson.JsonObject</span><span class="o">;</span>
+17</pre></td><td class="code"><pre><span class="kn">import</span> <span
class="nn">com.google.gson.JsonObject</span><span class="o">;</span>
<span class="kd">public</span> <span class="kd">class</span> <span
class="nc">Hello</span> <span class="o">{</span>
<span class="kd">public</span> <span class="kd">static</span> <span
class="n">JsonObject</span> <span class="nf">main</span><span
class="o">(</span><span class="n">JsonObject</span> <span
class="n">args</span><span class="o">){</span>
@@ -1569,6 +1564,11 @@ function addListenersToSections()
</div>
</li>
<li style="list-style-type: decimal">
+ <p>
+ Assure that you have downloaded the JAR file for the imported
`com.google.gson.JsonObject` library (i.e., <a target="_blank"
href="https://mvnrepository.com/artifact/com.google.code.gson/gson/2.8.5">google-gson-2.8.5.jar</a>
from Maven) to your Java `CLASSPATH`.
+ </p>
+ </li>
+ <li style="list-style-type: decimal">
Compile <i>Hello.Java</i> into a JAR file
<i>hello.jar</i> as follows
<div class="terminal">
@@ -1577,9 +1577,16 @@ function addListenersToSections()
<span class="gp">$ </span>jar cvf hello.jar Hello.class</code></pre></figure>
</div>
+ <div>Please note that the current default JVM for OpenWhisk is
Java 8. If you are using a newer version, you must specify that release version
when you compile:
+ </div>
+ <div class="terminal">
+
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>javac --release 8
Hello.java</code></pre></figure>
+
+ </div>
</li>
<li style="list-style-type: decimal">
- Create an action called <i>helloJava</i> using <i>hello.jar</i>:
+ Create an action called <i>helloJava</i> using <i>hello.jar</i>
specifying the Java class where the `main` entry point you wish to invoke:
<div class="terminal">
<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>wsk action create helloJava
hello.jar --main Hello</code></pre></figure>
@@ -3156,9 +3163,9 @@ abcd.... locationUpdate
<a class="indexable" id="quick_start"></a>
<h5>Quick Start</h5>
<p>
- The easiest way to start using OpenWhisk is to install the
"Standalone"
- OpenWhisk stack. This is a full-featured OpenWhisk stack running
as a Java process
- for convenience. Serverless functions run within Docker
containers.
+ The easiest way to start using OpenWhisk is to install the
"Standalone"
+ OpenWhisk stack. This is a full-featured OpenWhisk stack running
as a Java process
+ for convenience. Serverless functions run within Docker containers.
You will need <a
href="https://docs.docker.com/installDocker">Docker</a>,
<a
href="https://java.com/en/download/help/download_options.xml">Java</a> and
<a href="https://nodejs.org/Node.js">Node.js</a> available on your
machine.
@@ -3175,16 +3182,16 @@ abcd.... locationUpdate
</div>
<p>
<ul>
- <li>When the OpenWhisk stack is up, it will open your browser to
a functions Playground,
- typically served from <a
href="http://localhost:3232">http://localhost:3232</a>.
+ <li>When the OpenWhisk stack is up, it will open your browser to
a functions Playground,
+ typically served from <a
href="http://localhost:3232">http://localhost:3232</a>.
The Playground allows you create and run functions directly
from your browser.
</li>
<li>To make use of all OpenWhisk features, you will need the
OpenWhisk command line tool
- called wsk which you can download from <a
href="https://s.apache.org/openwhisk-cli-download">https://s.apache.org/openwhisk-cli-download</a>.
- Please refer to the <a
href="https://github.com/apache/openwhisk/blob/master/docs/cli.md">CLI
configuration</a> for additional details. Typically you configure the CLI for
+ called wsk which you can download from <a
href="https://s.apache.org/openwhisk-cli-download">https://s.apache.org/openwhisk-cli-download</a>.
+ Please refer to the <a
href="https://github.com/apache/openwhisk/blob/master/docs/cli.md">CLI
configuration</a> for additional details. Typically you configure the CLI for
Standalone OpenWhisk as follows:
</li>
- </ul>
+ </ul>
</p>
<div class="terminal">
@@ -3195,11 +3202,11 @@ abcd.... locationUpdate
</div>
<p>
<ul>
- <li> Standalone OpenWhisk can be configured to deploy additional
capabilities when
+ <li> Standalone OpenWhisk can be configured to deploy additional
capabilities when
that is desirable. Additional resources are available <a
href="https://github.com/apache/openwhisk/blob/master/core/standalone/README.md">here</a>.
</li>
- </ul>
- </p>
+ </ul>
+ </p>
</div>
<!-- TODO: add left margin for all these alt. options. -->
<div>
diff --git a/feed.xml b/feed.xml
index 713cd82..5ef1a9d 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-06-24T18:52:03+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-07-07T03:40:43+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/images/runtimes/icon-rust-mono.png
b/images/runtimes/icon-rust-mono.png
new file mode 100644
index 0000000..db5b8f8
Binary files /dev/null and b/images/runtimes/icon-rust-mono.png differ
diff --git a/images/runtimes/logo-scala-notext-color.png
b/images/runtimes/logo-scala-notext-color.png
new file mode 100644
index 0000000..b95a090
Binary files /dev/null and b/images/runtimes/logo-scala-notext-color.png differ