Skip to content

Commit 489a22f

Browse files
repo create
1 parent 49322d1 commit 489a22f

File tree

1 file changed

+19
-1
lines changed
  • app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions

1 file changed

+19
-1
lines changed

app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This is an example how I'm locally developing and testing OCI Functions on my ma
4848

4949
<p>
5050

51-
I've installed maven and <code>Fn cli</code> on my mac. Thisn is how to do the <a href="https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsinstallfncli.htm">Fn cli install</a> or here <a href="https://fnproject.io/tutorials/install/">following the Fn tutorial</a>.
51+
I've installed maven and <code>Fn cli</code> on my mac. This is how to do the <a href="https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsinstallfncli.htm">Fn cli install</a> or like in here <a href="https://fnproject.io/tutorials/install/">following the Fn tutorial</a>.
5252

5353
<p>
5454

@@ -82,3 +82,21 @@ Then clone this repo and project and cd to the project root directory. Then run
8282
fn --verbose deploy --app hellofunction --local
8383
</pre>
8484

85+
<p>
86+
87+
After this you are ready to call the function to test it:
88+
89+
<pre>
90+
fn invoke hellofunction hellofunc
91+
Hello, world!
92+
</pre>
93+
94+
or
95+
96+
<pre>
97+
echo 'Mika' | fn invoke hellofunction hellofunc
98+
Hello, Mika!
99+
</pre>
100+
101+
102+

0 commit comments

Comments
 (0)